L'Atlas / Serveurs MCP / ExpenseBot
Serveur MCP

ExpenseBot

io.github.TotesMagotes/mcp-server-auth

Serveur MCP OK 67 outils

Faire examiner Voir les tarifs

Receipt ingestion, Gmail capture, expense analysis, and reviewed reports for AI-agent workflows.

Fiche technique

Auteur
TotesMagotes (espace de noms du registre)
Dépôt
github.com/TotesMagotes/expensebot-mcp
Site
www.expensebot.ai/receipt-collection-mcp?utm_source=official_mcp_registry&utm_medium=referral&utm_campaign=mcp-builder-receipt-infrastructure&utm_content=server_listing
Version
0.6.28
Transport
Streamable HTTP stdio
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://mcp.expensebot.ai/mcp Streamable HTTP
Paquets
@expensebot/mcp-server-auth 0.6.28 npm stdio
Outils
67
Catégories
Messagerie et communication, IA, agents et mémoire
Comparatifs
Serveurs MCP pour Gmail et e-mail
Dernière mise à jour
11 nov. 2026
Publication
11 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.TotesMagotes/mcp-server-auth.svg)](https://latlas.dev/mcp/io.github.TotesMagotes/mcp-server-auth)
HTML
<a href="https://latlas.dev/mcp/io.github.TotesMagotes/mcp-server-auth"><img src="https://latlas.dev/badge/fiche/io.github.TotesMagotes/mcp-server-auth.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://mcp.expensebot.ai/mcp
Dernier résultat
OK 28 nov. 2026, 11:07
Temps de réponse
691 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
expensebot-remote 0.3.1-m3.6
Outils
67

Historique

DateRésultatRéponseOutils
28 nov. 2026, 11:07OK691 ms67

Outils exposés (67, réponse à tools/list, 28 nov. 2026)

get_setup_status

Read authoritative setup, known answers, next question and eligible actions for the current workspace. Ask only missing prerequisites; optional setup must not block a specific expense task. Unknown is not empty/complete. No client acting/writes.

Aucun paramètre.

complete_setup

Preview explicit choices. Show changes/access/recipients; after approval send only proposalId+confirm:true. Owner/revision-bound. Lost reply: proposalId+status:true before retry. Re-read get_setup_status. Personal Rules require validation/activation. Invites grant no access. Use app for OAuth/bank/review. No financial writes or client acting.

ParamètreTypeRequisDescription
operationenum: "general_settings" | "personal_rules" | "setup_decision" | "personal_learning" | "invite_clients" | "report_setup" | "report_plan" | "persona_activation"nonreport_setup previews new choices. report_plan saves goals only, never creates a report file. Read review_report_setup mode plan first.
answersobject | object | object | object | object | object | object | objectnonUser choices.
proposalIdstringnonReturned setup proposal ID.
confirmbooleannonApprove exact preview.
statusbooleannonRead outcome; do not replay.

search_expenses

Search spreadsheet expenses by category, merchant, dates, amount or tags. When hasMore, reuse nextCursor with identical filters; avoid overlapping ranges. Optional query does deterministic non-embedding recall over merchant, city/location, Notes (receipt items, delivery source, payer, business purpose), Tag and category; ANDed with structured filters. Results include matchedFields, matchReason and exact expenseId (durable Receipt ID for update_expense). paymentStatus is bookkeeping only, never bank settlement proof. Card/account nicknames: includePaidWith:true (page labels only; cannot filter). Country/client review: groupBy:country needs explicit YYYY-MM-DD bounds, at most 100 matches; narrow oversized ranges; allows categories/merchants/tags/countries/tagAssignment, no query or pagination. Use configured travel categories; foreign locations do not prove travel. Keep unknown countries separate; ask about ambiguous places, never infer from currency. Show counts and per-currency totals; give selectionItems to group_expenses once a destination is chosen.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
groupByenum: "country"nonRead-only country review; needs explicit dateRange.start/end.
countriesarray<string>nonCountry names/codes, or unknown; never infer from currency or an ambiguous city.
tagAssignmentenum: "all" | "unassigned" | "no_client"nonCountry review: unassigned = blank/Business; no_client = no client tag. Neither implies business use.
querystringnonOptional keyword recall over the fields in the tool description.
categoriesarray<string>nonFilter by expense categories (e.g., ['Travel', 'Meals'])
merchantsarray<string>nonFilter by merchant names (e.g., ['Uber', 'Starbucks'])
dateRangeobject | object | object | object | objectnonRequested period; YYYY year; inclusive YYYY-MM-DD bounds.
minAmountnumbernonMinimum expense amount
maxAmountnumbernonMaximum expense amount
tagsarray<string>nonFilter by tags
paymentStatusenum: "paid" | "unpaid" | "unknown"nonBookkeeping filter, not bank settlement; ordinary search only.
includePaidWithbooleannonPage labels only; unavailable differs from blank.
hasReceiptbooleannonTrue: attached receipt only. False: none ("No receipt" text is none, not a tag).
missingenum: "category" | "tag" | "category_or_tag"nonExpenses Review counts as missing that label; Personal needs no tag.
viewenum: "to_submit" | "tax_deductible"nonReview view from saved report choices. tax_deductible: business only.
limitintegernonResults per page (default 20, maximum 50)
cursorstringnonOpaque nextCursor from the previous page; reuse the same filters; never edit.

get_spending_summary

Summarize the user's recorded expenses with totals and breakdowns by category, merchant, month, tag, source, or payment method. Supports date ranges, period comparisons, and total, count, or average metrics. Read-only. Income or profit questions: get_income_summary/get_pnl. Returns: { message, data: { total, breakdown?, comparison?, sampleMeta? } }.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
querystringnonNatural language question (e.g., 'how much did I spend in March', 'top merchants this quarter')
categoriesarray<string>nonOptional configured expense categories to include in the summary.
dateRangeobject | object | object | object | objectnonRequested period; YYYY year; inclusive YYYY-MM-DD bounds.
groupByenum: "category" | "merchant" | "month" | "tag" | "source" | "paymentMethod"non
metricenum: "total" | "count" | "average"non

get_deep_analytics

Run deeper, multi-step analytics on the user's expenses. Use for explanatory questions like 'why did my spending increase' or 'compare Q1 vs Q2'. Takes 10-30 seconds (runs as a background job, polled automatically). Returns: { message, data: { ..., sampleMeta? } } where sampleMeta.isTruncated indicates whether the agent saw the full dataset.

ParamètreTypeRequisDescription
querystringouiThe analytics question to answer
dateRangeobject | object | object | object | objectnonRequested period; YYYY year; inclusive YYYY-MM-DD bounds.

create_report

Create ordinary expense reports by date/client/project/trip/category/merchant. For saved setups, accountant records or persona worksheets, use review_report_setup and its app links. Tags group clients/projects/codes/trips; list_tags if unclear. excludePersonal=true excludes Personal tag and Personal expense category. Returns summary, exact report/Bill Client links, filters and prefilled Report Wizard for visual criteria. shareWith emails only user-named recipients. No server preview: creates on call. Group reports exclude rows on other ordinary reports. No unreported matches: explain existing Reports; never duplicate. Use role-aware accountingHandoffUrls only for the requested destination; opening is not export proof. Skip check_compliance/get_report_details/tax/deductibility analysis unless explicitly requested.

ParamètreTypeRequisDescription
dateRangeobject | object | object | object | objectnonRequested period; YYYY year; inclusive YYYY-MM-DD bounds.
titlestringnonCustom report title
categoriesarray<string>nonInclude configured expense categories.
tagsarray<string>nonInclude existing client, project, code, property or trip groups. Check list_tags if unsure.
excludePersonalbooleannonExclude both Personal-tagged and Personal-category expenses.
excludedTagsarray<string>nonExclude these existing groups.
excludedCategoriesarray<string>nonExclude these expense categories.
shareWitharray<string>nonEmail addresses to share the report with
recipientRoleenum: "reviewer" | "accountant"nonAll recipients: reviewer for one report (comments, approval, changes). Use accountant only for explicitly requested ongoing report management and accounting-software access.

review_report_setup

Owner only. plan: wizard/tag choices and nextSteps (tags, automation, checks, older records, changes); saves never create tags or retag. Use returned destinations/keys/purposes/refs. Saved reports: list then choose year; status/preview need setupId and ending taxYear; preview adds revision. Preparation: scan/import outcomes with exact revision, taxYear, periodId, startDate/endDate. Create via resumeUrl. Specialists have separate dates/rules. No completeness or tax eligibility proof.

ParamètreTypeRequisDescription
modeenum: "list" | "preview" | "status" | "preparation" | "plan"oui
setupIdstringnon
revisionintegernon
taxYearintegernon
periodIdstringnon
startDatestringnon
endDatestringnon

suggest_report_goals

Recommend reports and tags only on an explicit own-workspace request. Use the person's description. Recheck with original text and contextDigest. Use manual goals if unavailable. Confirm via complete_setup report_plan. Company exclusions use its setup editor.

ParamètreTypeRequisDescription
modeenum: "suggest" | "recheck"oui
goalTextstringoui
contextDigeststringnon
evidenceIdsarray<string>non

list_reports

List expense reports with pagination. Filter All, Draft, Submitted or Shared. Each report includes app, Bill Client and accounting links. Use the requested accounting link only when asked to send or export. The app handles organization, mapping, preview and confirmation.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
pageintegernonOne-based results page to return.
limitintegernonMaximum reports to return on this page.
filterenum: "All" | "Draft" | "Submitted" | "Shared"nonOptional report-status filter; All returns every authorized status.

request_accounting_integration

Request an exact accounting package only after checking reviewed direct/import-file destinations and finding no match. Do not use this for a listed or Beta destination or general compatibility. A confirmation-gated write: after user approval, creates one deduplicated request bound to the authenticated account and emails ExpenseBot's internal team. Does not create an integration or immediate availability. For accepted/already-recorded requests, say ExpenseBot will email an update within one week.

ParamètreTypeRequisDescription
packageNamestringouiExact accounting package requested by the user.

get_report_details

Get full details of a specific expense report including all expenses, totals, and compliance status. Use only when the user explicitly asks to inspect an existing report's details. Without checkFreshness:true, returns the stored report only. When explicitly requested together with analysisRequested:true, freshness reads canonical Google Sheets sources with a 5-second bound; if full tax-year replay is unavailable, status is unknown, not current. Never call this as a preflight or follow-up to creating, sharing, or billing from a report; those tools already return the requested result and links.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
reportIdstringouiThe report/spreadsheet ID
analysisRequestedenum: trueouiTrue only when the user explicitly asked to inspect this report. Never ask for or copy their message or infer consent from report creation, sharing or billing.
checkFreshnessenum: truenonTrue only when the user explicitly asks if this Year End report is current. Needs analysisRequested:true; a bounded Sheets check that may return unknown. Never after report creation, sharing or billing.

share_report

Share one existing expense report with user-named recipients. No server preview: shares and emails on call. Default to reviewer: they can open and edit that report's Google Sheet, inspect receipts, comment, approve, or request changes, but cannot act for the owner or use accounting integrations. Use accountant only when the user explicitly asks for ongoing accounting access; it creates the established accountant relationship and broader report-management workflow.

ParamètreTypeRequisDescription
reportIdstringoui
recipientsarray<string>oui
recipientRoleenum: "reviewer" | "accountant"nonUse reviewer for report-only approval. Use accountant only for explicit ongoing accountant access.

check_compliance

Use only when the user explicitly asks to check an existing report for compliance issues such as missing business purpose or policy violations. Creating a report, excluding Personal expenses, sharing a report, or billing a client is not a compliance request; never call this tool automatically as a preflight or follow-up for those workflows.

ParamètreTypeRequisDescription
reportIdstringouiReport ID to check
analysisRequestedenum: trueouiTrue only when the user explicitly asked for this report's compliance analysis. Never ask for or copy their message or infer consent from report creation, sharing or billing.

fix_compliance

Fix recorded expenses only after an explicit request to fix check_compliance findings; follow correct_expenses. Use exact expenseIds from search_expenses; never select all report rows or infer purpose/category/attendees. First call always gives a no-write before/after preview, even with early confirm:true; show changes and ask approval, then repeat identical operationId/selection/change with confirm:true. Terminal result gives applied/conflicted/failed counts, status and Undo. Group via group_expenses. Unsupported or over 100 rows: https://www.expensebot.ai/review-expenses?source=mcp.

ParamètreTypeRequisDescription
changeobjectnonExactly one correction; its type selects the required value field.
selectionobjectnonExact expenses from search_expenses approved for this correction.
operationIdstringouiIdempotency key generated once and reused unchanged.
confirmbooleannonOmit/false for preview; true only after explicit approval.
statusbooleannonRead status by operationId.
undobooleannonUndo within the Undo window.

check_tax_deductibility

Use this when the user asks for general deduction guidance for an expense type, such as business meals or home-office expenses. Looks up reference rules using the account's tax-country/home settings and current year. A verified rule may return a percentage and reference; unverified rules return unknown/reviewRequired without a percentage. Read-only: it does not classify saved expenses, prepare a return, or determine the user's actual tax liability. Do not use for tax refunds received as income; use get_income_summary for recorded refunds. General guidance is not a tax professional's determination.

ParamètreTypeRequisDescription
querystringouiBrief expense-type deduction question, e.g. 'are business meals deductible?'; no account numbers or unrelated personal context.
categorystringnonOptional expense category to match the reference rule.
merchantstringnonOptional merchant name only when relevant to the expense type.

search_knowledge

Search ExpenseBot's complete product and help knowledge base. Use this before guessing when the user asks how a feature works, what ExpenseBot supports, or needs setup, billing, Gmail, scan, report, workflow, or troubleshooting instructions. Set fullAnswer:true on the first call when the user asks for complete, detailed, or step-by-step instructions. Use the default excerpt mode for discovery and quick answers; if an excerpt is truncated, call again with fullAnswer:true before presenting complete instructions. Each result has a stable id.

ParamètreTypeRequisDescription
querystringouiSearch terms
limitintegernonNumber of ranked matching articles to return (1-10).
fullAnswerbooleannonTrue on the first call for complete or step-by-step instructions.

submit_receipt

Process receipt images/PDFs, including 'log this', 'save this receipt', 'expense this', 'add this to my expenses' or a shared receipt/invoice photo. Starts on call (no server preview); AI extracts vendor, amount, date, tax and category (usually 1–3 minutes; longer for PDFs/batches); poll get_last_receipt_result with the returned submissionId. Mixed images/PDFs work. Required for PDFs; use this flow for large files/batches: call filesToUpload for EVERY file; PUT each ONE AT A TIME to signed URLs, report file/count progress, then call ONCE with all uploadRefs as one batch, never once per file. photo accepts one ChatGPT image/PDF; photoBase64 only for one small image without file references. note maps to Notes L, tag to Tag K; batch defaults apply to all files and uploadRefs items may override.

ParamètreTypeRequisDescription
filesToUploadarray<object>nonEvery file the user provided, in one call. Returns signedUrl + uploadRef per file; upload each, then call with uploadRefs.
uploadRefsarray<object>nonEvery uploadRef from the filesToUpload step, as ONE batch. If any file fails validation nothing is processed.
uploadRefstringnonSingle-file shorthand for uploadRefs. Use uploadRefs when there is more than one file.
photoobjectnonSingle attached receipt image or PDF supplied by ChatGPT. For multiple files or large files, use filesToUpload and uploadRefs instead.
photoBase64stringnonLegacy fallback for MCP clients that send one small image as complete base64 data. ChatGPT should use photo or uploadRefs instead.
filenamestringnonOptional filename (e.g., 'lunch_receipt.jpg')
mimeTypeenum: "image/jpeg" | "image/png" | "image/heic" | "image/webp" | "application/pdf"nonMIME type of the file (default: image/jpeg)
notestringnonBatch-level note for every file; a file may override it. Stored in the Notes column (L).
tagstringnonBatch-level project or client tag for every row; a file may override it. Stored in the Tag column (K).

get_last_receipt_result

Read the authoritative outcome of a receipt batch: a submit_receipt batch by its exact ID (submissionId), or the latest upload (including in-app) via withinSeconds. Poll at the returned interval/time allowance (small batch at least 5 minutes; larger longer). Pending is normal: never blindly resubmit. found:false = pending/no terminal verdict; found:true = terminal. Returns added/duplicate/skipped/held_for_review/errored per-file outcomes, exact counts and up to 10 summaries. Held files (missing details or a possible duplicate) were not added; relay only their message's next step (use the returned Review files link), do not invent a missing card or direct held uploads to Gmail Action Needed. Show spreadsheetUrl/reviewExpensesUrl for rows actually added, not for held files. Unknown outcomes stay unknown. Gmail scans use get_scan_status. Read-only.

ParamètreTypeRequisDescription
submissionIdstringnonExact submissionId returned by submit_receipt. Strongly preferred because it binds the result to this upload instead of an earlier receipt.
withinSecondsintegernonLookback seconds for the latest upload when there is no submissionId.

add_cash_expense

Add one receiptless expense or client-provided expense advance to the expense sheet after the user confirms; no server preview, it writes on call. Ordinary expenses: list_categories first; use a configured Expense Account. Advances: isClientAdvance=true + clientName reuses/creates the canonical client group, applies Cash advance received and writes a negative expense. Only client money provided before spending; never for vendor refunds, reimbursements, earned fees, retainers or generic deposits. Multiple/incomplete entries, refunds, tax/tip/per diem: Manual expense link from get_spreadsheet_url.

ParamètreTypeRequisDescription
merchantstringnonMerchant/vendor name for an ordinary expense. Not needed for a client advance; ExpenseBot derives it from clientName.
totalnumberouiPositive amount paid or received. ExpenseBot stores a client advance as negative.
datestringouiExpense date (YYYY-MM-DD)
categorystringnonA configured Expense Account returned by list_categories. Do not invent a category.
subtotalnumbernonSubtotal before tax
taxnumbernonTax amount
tipnumbernonTip amount
currencystringnonCurrency code (default: USD)
citystringnonCity/location
notesstringnonNotes or description
isClientAdvancebooleannonTrue only when a client supplied money in advance for expenses. Requires clientName and does not require category.
clientNamestringnonClient name for a client advance, in ordinary language. ExpenseBot resolves the canonical Client – Name group.

parse_expense

Parse a natural language expense description into structured fields. Does NOT add the expense: returns fields to show the user; once they approve, save with add_cash_expense. Example: "Lunch at Chipotle $15.50 today" → {merchant: "Chipotle", total: 15.50, ...}

ParamètreTypeRequisDescription
textstringouiNatural language expense (e.g., "Coffee at Starbucks $6.50 yesterday")

process_gmail_receipts

Process specific Gmail emails as receipts when the user supplies Gmail message IDs; to find receipts use scan_gmail. No server preview: on call each email is converted to PDF, extracted by AI and added to the user's expense spreadsheet. Max 25 emails per request. Requires Gmail connected in ExpenseBot.

ParamètreTypeRequisDescription
emailIdsarray<string>ouiGmail message IDs to process as receipts
accountEmailstringnonOptional: which Gmail account to use (for users with multiple linked accounts)

scan_gmail

Trigger a background Gmail scan to discover and process receipt emails from the last ~60 days (default). No server preview: starts on call and runs in the background; the user gets an email summary when done. Like clicking "Find Receipts in Gmail" in the UI. For whole PAST YEARS (e.g. 2023, or 2020-2022) use scan_gmail_years instead; to check a scan's progress use get_scan_status. Outlook.com or Microsoft 365: set provider:outlook for a Beta setup or scan link; no scan starts.

ParamètreTypeRequisDescription
providerenum: "gmail" | "outlook"nonDefault Gmail.
lookbackDaysintegernonHow many days back to scan (default 60, max depends on subscription)
startDatestringnonOptional: explicit start date (YYYY-MM-DD) instead of lookbackDays
endDatestringnonOptional: explicit end date (YYYY-MM-DD)
accountEmailstringnonOptional connected mailbox email

add_mileage_entry

Log one user-confirmed business trip; writes on call, no server preview. Saved mode selects rate-based expense or distance-only trip; trackingMode overrides. For routes, vehicle setup/readings, imports or review, open Mileage and travel via get_spreadsheet_url.

ParamètreTypeRequisDescription
trackingModeenum: "expense" | "trip_log"nonOptional override; otherwise saved mode. Never infer from country or occupation.
operationIdstringnonStable ID required for trip_log; reuse for the same request; never repeat an unverified save.
vehicleIdstringnonExisting vehicle ID; omit for unassigned; never invent.
unitenum: "km" | "mi"nonTrip-log unit; omit for saved. Expense uses configured unit.
distancenumberouiDistance in configured miles/km.
purposestringouiBusiness trip purpose.
datestringouiRequired YYYY-MM-DD. Use the given date; for today use the user's timezone. Ask if missing.
roundTripbooleannonDouble distance for return trip.
destinationstringnonDestination.
citystringnonCity.
categorystringnonMileage category override.
tagstringnonClient/project tag.
notesstringnonUser context.

add_income

Log exactly one confirmed income payment (cash/check/Stripe/etc.) to Income, e.g. income absent from Gmail/Plaid; no server preview, it writes on call. Never loop over statements/exports/tables/lists. Multiple payments: add_income_from_csv for CSV/TSV/text or add_income_from_file for image/PDF; both duplicate-check, preview and require confirmation. Call list_income_categories first; use fixed tax categories. Omitted category defaults to Service income; unknown is rejected.

ParamètreTypeRequisDescription
amountnumberouiIncome amount (>0)
sourcestringouiWho paid you (client name, customer, etc.)
paymentMethodstringouiHow you got paid: Cash, Check, Bank transfer, Wallet app, Credit/Debit card, Payment processor or Other; labels like Stripe or Venmo are normalized.
datestringouiIncome date (YYYY-MM-DD). Required. Use the date the user gives; for "today" send today's calendar date in their timezone. If no date was given, ask.
currencystringnonCurrency code (default: home currency)
descriptionstringnonWhat the income was for
categorystringnonA category returned by list_income_categories (optional; defaults to Service income)
referencestringnonInvoice or transaction reference
feesnumbernonProcessor/transfer fees deducted
taxCollectednumbernonSales tax/GST/HST collected
tagstringnonTag for client/project attribution
notesstringnon

add_income_from_file

Import income from attached JPEG/PNG/WebP/HEIC/HEIF screenshots/images or PDF (payment/wallet/payout/bank statement; max 10 MB). Step 1: file WITHOUT confirm uses Add Income's parser and Income-tab duplicate check. Returns previewId, exact count, currency totals, rows, duplicate flags/rejections; parses only, saves nothing. Attachment is not write consent. Show rows/duplicates. Step 2: confirm:true + previewId writes only user-approved selectedIndexes/keepBothIndexes/rowEdits/tag/bulkNote. Skip flagged duplicates unless explicitly approved in keepBothIndexes. Unknown/expired previews (15 minutes) never write. Success: show spreadsheetUrl + reviewIncomeUrl. Mixed income/expense or many edits: Add Income link from get_spreadsheet_url.

ParamètreTypeRequisDescription
photoobjectnonAttached image or PDF supplied by ChatGPT for step 1. The server downloads and parses the attachment securely.
photoBase64stringnonLegacy fallback for MCP clients that send complete image/PDF bytes as base64. ChatGPT should use photo.
mimeTypeenum: "image/jpeg" | "image/png" | "image/webp" | "image/heic" | "image/heif" | "application/pdf"nonMIME type of the file (default: image/jpeg)
paymentMethodstringnonFallback payment rail for rows where the parser found none (Cash, Check, Bank transfer, Wallet app, Credit/Debit card, Payment processor, or Other).
tagstringnonOptional client/project tag. In step 1 it pre-fills the staged rows; in step 2 it applies to the confirmed selection.
confirmbooleannonStep 2 only: true writes the staged rows. Omit it (with previewId absent) to parse and preview without writing.
previewIdstringnonStep 2 only: the previewId returned by the step-1 call.
selectedIndexesarray<integer>nonStep 2 only: preview row indexes to write. Omit to write all staged rows.
keepBothIndexesarray<integer>nonStep 2 only: preview indexes of duplicate-flagged rows the user explicitly wants to keep anyway (the app's 'Keep Both').
rowEditsarray<object>nonStep 2 only: user-approved corrections, max 50 rows (date YYYY-MM-DD, source, amount, currency, category, paymentMethod, description, notes, reference, fees, taxCollected, tag).
bulkNotestringnonStep 2 only: one note (max 120 chars) prepended to every confirmed row's Notes, same as the app's 'Add note to all entries'.

add_income_from_csv

Use this to import the user's CSV/TSV/text income export (max 500 KB). Step 1 stages a duplicate-checked previewId without writing Income rows. Show it and obtain approval. Step 2 uses confirm:true and that previewId to write the approved rows/edits; duplicates require explicit keep approval. Unknown or expired previews never write (15-minute expiry). Return spreadsheetUrl and reviewIncomeUrl after success. Accepts user-provided attachments or inline text, not arbitrary web URLs.

ParamètreTypeRequisDescription
csvContentobjectnonStep 1 ChatGPT attachment; securely downloaded and decoded.
csvTextstringnonStep 1 inline CSV/TSV/text fallback; ChatGPT should use csvContent.
paymentMethodstringnonFallback payment rail only when absent from the parsed row.
tagstringnonOptional client/project tag for staged or confirmed rows.
confirmbooleannonStep 2: true writes the staged selection only after user approval.
previewIdstringnonStep 2 ID returned by the unexpired preview.
selectedIndexesarray<integer>nonStep 2 preview row indexes to write; omit for all staged rows.
keepBothIndexesarray<integer>nonStep 2 duplicate indexes the user explicitly approved keeping.
rowEditsarray<object>nonStep 2 approved edits; at most 50 selected preview rows.
bulkNotestringnonStep 2 note prepended to confirmed rows (max 120 characters).

get_accounting_integration_status

Read the owner's accounting connection/setup state, selected organization/company/business, rollout state and one connect/reconnect setupUrl. Pass an existing reportId to open that exact report's provider setup control; otherwise general Reports setup. Never posts data. Agent posting: Zoho Books only; QuickBooks Online, Xero, Wave and FreeAgent (beta) are connection/status only (writesAuthorized=false).

ParamètreTypeRequisDescription
providerenum: "zoho_books" | "quickbooks" | "xero" | "wave" | "freeagent"ouiAccounting destination provider. QuickBooks Online, Xero, Wave, FreeAgent (beta), or Zoho Books.
reportIdstringnonOptional existing ExpenseBot report ID. When supplied, setupUrl opens this exact report and highlights the selected accounting provider's setup control.

send_report_to_accounting

Preview then post an owner's report to accounting. Step 1: provider/reportId, optional mode/mappings, NO confirm. Reads live report/destination, enforces Omit/Personal/split/date/currency rules and Zoho bank-feed checks; returns complete frozen proposal + proposalId, posts nothing. Show complete proposal and ask approval. Step 2: ONLY provider/proposalId/confirm:true, never mappings. Revalidates live state and rejects changed reports/mappings; account-bound proposal only. No client acting. Agent posting: Zoho Books (zoho_books) only. QuickBooks Online/Xero/Wave/FreeAgent cannot yet freeze/revalidate shareReport plans; use their web flows.

ParamètreTypeRequisDescription
providerenum: "zoho_books"ouiAccounting destination provider. Agent-driven posting is currently available only for Zoho Books.
reportIdstringnonStep 1 only: ExpenseBot report ID owned by the signed-in account.
modeenum: "auto" | "expense" | "bill"nonStep 1 only (Zoho Books): automatic document treatment, paid expenses, or bills.
accountMappingsobjectnonStep 1 only: ExpenseBot category to live destination account ID overrides.
taxMappingsobjectnonStep 1 only: observed tax-rate string to live destination tax ID overrides.
reportingTagMappingsobjectnonStep 1 only: ExpenseBot tag to live destination reporting-tag option.
forceRepushbooleannonStep 1 only: explicitly include disclosed uncertain prior outcomes in the frozen proposal.
proposalIdstringnonStep 2 only: proposalId returned by the read-only preview.
confirmbooleannonStep 2 only: true posts the exact staged proposal. No other options may change.

get_accounting_push_status

Read the authoritative posting and reconciliation status for one ExpenseBot report at an accounting destination. Use after a timeout or uncertain response before considering any retry. Returns status, submission time, posting mode, posted receipt count, any public error, and whether reconciliation is required. Never re-post a completed report or a report marked needs_reconciliation; show that state to the owner instead. This tool is read-only and owner-account only.

ParamètreTypeRequisDescription
providerenum: "zoho_books" | "quickbooks" | "xero" | "wave" | "freeagent"ouiAccounting destination provider used for the prior posting attempt.
reportIdstringouiExact ExpenseBot report ID from the prior proposal or posting attempt.

list_categories

List the user's configured expense categories and billing accounts. Use this BEFORE calling tools that need a category (add_cash_expense, add_mileage_entry, create_report) so you pass the user's actual category names, not guesses. Returns the live list from their spreadsheet.

Aucun paramètre.

list_tags

List the user's configured groups. ExpenseBot stores clients, projects, project codes, properties, and trips as tags (for example 'Client: Acme', 'Vegas Trip', or 'Property: 123 Main'). Use this when the user asks 'what groups/projects/clients do I have?' and before filtering, grouping, or reporting when the intended existing name is unclear.

Aucun paramètre.

create_tag

Create a standalone group/tag without selecting or changing any expenses. The first call prepares a preview; after the user explicitly chooses to create it, send confirm:true with the returned operationId (fresh duplicate checks run). A first call with confirm:true still returns a preview. An exact canonical duplicate is a no-op; archived tags are not reactivated. Similar names are returned as choices; set allowSimilar:true only when the user explicitly chooses a distinct new group despite them. Use list_tags to inspect all groups.

ParamètreTypeRequisDescription
namestringouiName of the new group/tag.
operationIdstringnonServer-issued preview operation ID to confirm a staged create.
confirmbooleannonConfirm only after the user approves the preview; a first confirm call remains preview-only.
allowSimilarbooleannonAllow creation alongside similar names only when the user explicitly chooses a new distinct group.
statusbooleannonWhen true, read the verified outcome for operationId without creating or changing a tag.

get_income_summary

Use this when the user asks about income already recorded in their ExpenseBot Income tab. Read totals; group by source, category, month, payment method or tag; filter by dateRange/incomeTagPrefix. Query supports period comparisons (e.g. 'income YTD by source', 'income this year vs last'). Returns message and data with total and optional breakdown, comparison, sampleMeta. No scanning, imports, mutations, tax returns or liability determination.

ParamètreTypeRequisDescription
querystringnonNatural language income question (e.g., 'income YTD by source', 'rental income last month')
groupByenum: "source" | "category" | "month" | "paymentMethod" | "tag"nonHow to group the breakdown
dateRangeobject | object | object | object | objectnonRequested period; YYYY year; inclusive YYYY-MM-DD bounds.
incomeTagPrefixstringnonOptional tag prefix (e.g. 'Prop –', 'Client –'); filters to income rows tagged with it.

get_pnl

Compute Profit & Loss (P&L / net income / margin) by combining the Income tab with expense tabs. Examples: 'am I profitable this year', 'P&L for Q1', 'net income last quarter', 'what's my margin', 'P&L this year vs last' (YoY). Supports period comparison — YoY, MoM, QoQ, same-month-prev-year. Margin shows as a multiplier in loss (e.g. 'expenses 5.4x revenue'). Returns: { message, data: { revenue, expenses, netIncome, margin, comparison?, sampleMeta? } }.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
querystringnonNatural language P&L question (e.g., 'P&L for Q1 2025', 'am I profitable')
dateRangeobject | object | object | object | objectnonRequested period; YYYY year; inclusive YYYY-MM-DD bounds.

get_per_tag_pnl

Per-tag P&L — revenue, cost, profit, and margin grouped by tag (per-client, per-property, per-event, per-realtor-deal). Requires both income AND expense rows to be tagged with matching labels. Examples: 'per-tag P&L this year', 'profit by client', 'profit by property', 'profit on the Smith wedding', 'per-client P&L this year vs last' (YoY). Supports YoY / MoM / QoQ comparison phrasing. Margin renders as multiplier in loss territory. Defaults to year-to-date if no date range given.

ParamètreTypeRequisDescription
querystringnonNatural language per-tag P&L question
tagPrefixstringnonOptional prefix to limit which tags are bucketed (e.g., 'Prop –' for properties only, 'Client –' for clients only). When omitted, all tags are included.
dateRangeobject | object | object | object | objectnonRequested period; YYYY year; inclusive YYYY-MM-DD bounds.

list_income_categories

List ExpenseBot's fixed income tax categories. Unlike Expense Accounts, these are not user-configured. Use this BEFORE calling add_income so you pass an exact canonical category instead of guessing.

Aucun paramètre.

get_recent_activity

Read recent MCP assistant tool calls: tool, time, arguments and success, not document processing history. Use for 'what did I do this week' or 'which tools has my assistant run'. Returns audit entries, default 20, max 100.

ParamètreTypeRequisDescription
limitintegernon
sinceDaysintegernonOnly show actions from the last N days (default 7)
actionIdstringnonOptional: filter to a single tool/action name

trace_document

Read a receipt/invoice/forwarded email/Gmail receipt/PDF's lineage timeline: missing, skipped, income-routed, deduped or duplicate-removed documents. Not Gmail scan-job status/progress/completion (running/queued/finished/stuck): use get_scan_status; a scan is not a document.

ParamètreTypeRequisDescription
querystringnonMerchant, sender, subject, invoice number, or phrase to search for, e.g. 'Blue Rocket', 'Driversnote', 'Uber receipt'.
receiptIdstringnonExpenseBot receipt/invoice ID if known, e.g. IR-123, RO-abc, RR-456.
messageIdstringnonGmail message ID if known.
threadIdstringnonGmail thread ID if known.
outcomeenum: "all" | "created" | "skipped" | "suggested" | "income_routed" | "deduped" | "removed_as_duplicate"nonOptional processing outcome filter.
daysintegernonHow many days back to search.
limitintegernonMaximum lineage events to return.

get_mileage_summary

Recorded mileage expenses and Trip Log distances, with month/client/purpose/category breakdowns and date ranges. Expense amounts are not tax-deductibility determinations.

ParamètreTypeRequisDescription
querystringnonMileage query.
groupByenum: "month" | "tag" | "purpose" | "category"nonGrouping.
dateRangeobject | object | object | object | objectnonRequested period; YYYY year; inclusive YYYY-MM-DD bounds.

get_subscription_audit

Find recurring subscriptions, duplicate charges, price increases and trial-conversion suspects in recorded expenses, optionally by cost (e.g. over $20/month). Returns message/data with recurring, duplicates, priceIncreases, trialConversions, totalMonthlyCost and sampleMeta.

ParamètreTypeRequisDescription
querystringnonNatural language subscription question (e.g., 'find duplicate subscriptions', 'price increases this year')
focusenum: "recurring" | "duplicates" | "price_increases" | "trial_conversions" | "all"nonNarrow the audit to a single category (default: all)
dateRangeobject | object | object | object | objectnonRequested period; YYYY year; inclusive YYYY-MM-DD bounds.

get_expense_by_id

Read one existing expense from the authenticated user's ExpenseBot spreadsheet. Supply the exact expenseId returned by search_expenses (Receipt ID in Column Q), or the user's specified rowNumber. Never invent an identifier. Returns sheetName, rowNumber, headers, values, labeled fields, receipt_url (null if absent), and reviewExpenseUrl. It does not edit, submit, delete, share, or scan anything. Also returns Paid with context (unavailable differs from blank) and typed bookkeeping paymentStatus, never bank settlement proof.

ParamètreTypeRequisDescription
rowNumberintegernon1-indexed sheet row (row 1 is headers, so ≥ 2)
expenseIdstringnonExact full ExpenseBot Receipt ID from Column Q

export_report

Get a short-lived direct PDF download for one exact authorized expense report, plus the exact highlighted in-app report link. Use the in-app report for CSV, XLSX, receipt ZIP (when available), comments, invoicing, and other visually reviewed actions. Use list_reports first to find the reportId.

ParamètreTypeRequisDescription
reportIdstringouiReport ID from list_reports

get_spreadsheet_url

Return the master Google Sheet and authenticated workspace links, including Year-End. Show only 1–2 relevant links. Open spreadsheet: Sheet. Receipt added: Review expenses + Sheet; income added: Review income + Sheet. Receipts needing review: reviewReceiptsUrl. Held upload: use its Review files link. Gmail scan/connection: Scan Gmail. Bank/card: Reconcile. Configuration: Automation Hub/General Settings. Category/G/L/account codes: Category management. Client/project/trip groups: Group management. Personal classification: Personal rules. Client billing: use returned clientBillingHandoffs: manageClients, tagReadyExpenses, createClientReport. Named client grouping: search_expenses then group_expenses. Google Photos: authenticated picker with consent. Receipt storage: returned Drive folder only; never invent a folder ID. Complete unambiguous cash expense/mileage: direct write tool. Multiple/incomplete expenses, credits/refunds, tax/tip/per diem or visual review: Manual expense. Route/repeated/calendar/rideshare mileage, per diem or review: Mileage and travel. Income file without chat attachment or complex review: Import income (previews every row). Team setup: role-aware handoff; explain owner-access requirements. Complex reports: Create report. Read-only; no row changes.

Aucun paramètre.

check_feature

Check whether ExpenseBot supports a specific feature ('does ExpenseBot support X', 'can it integrate with Y'). Searches the public knowledge base and returns a confidence-scored answer + related questions. Works with or without authentication.

ParamètreTypeRequisDescription
featurestringouiFeature or integration to check (e.g., 'Xero', 'mileage tracking', 'Plaid')

whatif_afford

Can I afford $X/month? Recomputes the user's Safe Monthly Draw (how much they can safely pay themselves) with an added recurring monthly cost, and returns a yes/tight/no verdict plus the before/after numbers. Use for questions like 'can I afford a $500/mo hire' or 'what if I add a $200/mo software subscription'. Requires at least 3 months of income history — otherwise returns insufficient_data rather than a guess.

ParamètreTypeRequisDescription
deltaMonthlynumberouiThe new recurring monthly cost being considered, in the user's home currency

whatif_client

What if a client pays late or leaves? mode='late30' shifts that client's OPEN invoice amounts out of the near-term expectation mode='gone' removes that client's trailing monthly income contribution and recomputes Safe Draw against the reduced baseline. Use for questions like 'what if Acme Corp pays 30 days late' or 'what happens if I lose my biggest client'. Client identity is matched against the Income tab's tag/source/description fields — best effort, not a guaranteed match.

ParamètreTypeRequisDescription
clientNamestringouiThe client's name as it appears on invoices or income rows
modeenum: "late30" | "gone"oui'late30' = shift open invoices 30 days late; 'gone' = client stops paying entirely

whatif_tax_setaside

What should I set aside for taxes? Returns the monthly tax set-aside estimate already computed for Safe Monthly Draw. Flat-rate estimate (default 30%) against trailing income minus recurring + variable spend. Use for 'how much should I set aside for taxes this month'.

Aucun paramètre.

scan_gmail_years

For Outlook periods, set provider:outlook for the review screen; no scan starts. Scan completed Gmail periods for receipts. In eligible split-tax-year accounts, a number is the period's ending year (2025 = 2024–25 tax year); otherwise it is a calendar year. Use returned tax-period labels and inclusive ISO bounds. Long-running: the first eligible period starts immediately; the rest queue one at a time (each full period typically takes hours; the app may close). Preview without confirmStart (no scan starts), ask the user to confirm, then start with confirmStart:true. For recent receipts (~60 days), use scan_gmail. The in-progress period cannot be year-scanned; use get_scan_status for progress.

ParamètreTypeRequisDescription
providerenum: "gmail" | "outlook"nonDefault Gmail.
yearsarray<number>ouiCompleted periods; ending year for eligible tax-year accounts (2025 = 2024–25), calendar year otherwise. Max 10.
accountEmailstringnonConnected mailbox email. Gmail defaults to primary.
confirmStartbooleannonOmit or false = preview only (no scan starts). Must be exactly true to start scanning.

get_scan_status

Check authoritative scan status; defaults to Gmail. For Outlook.com or Microsoft 365 use provider:outlook for connections, mailbox status or an exact jobId. Start scans in ExpenseBot. Gmail returns the active lock, live phase/progress, queued or attention-needed periods, completed calendar years, tax-period statuses with their returned labels and inclusive ISO bounds, exclusions and recent outcomes. Use when asked if a scan is running, finished, stuck, or what it is doing. On completion show spreadsheetUrl or reviewExpensesUrl; for setup/reconnection show gmailScanUrl. Read-only.

ParamètreTypeRequisDescription
providerenum: "gmail" | "outlook"nonDefault Gmail.
jobIdstringnonOptional exact Outlook historical job ID, never guessed.

get_statement_import_status

Check 'Did my statement finish importing?' for at most five jobs. Returns status and authenticated review link. Extraction isn't saved; read/save jobs may overlap, so counts aren't statement totals. No job found doesn't prove no import; older non-job imports are excluded. Read-only: never uploads, parses, saves, retries, or recovers.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.

list_client_invoices

List the user's issued client invoices (accounts receivable) — who owes them money, how much, and when it is due. Examples: 'which invoices are outstanding', 'what does Acme still owe me', 'any overdue invoices', 'how much am I waiting to get paid'. status accepts 'active' (default), 'open', 'overdue', 'needs_review', 'paid', 'void', 'superseded', or 'all'. Returns invoice numbers, status, totals by currency, delivery state, and private document links. Read-only.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
statusenum: "active" | "open" | "overdue" | "needs_review" | "paid" | "void" | "superseded" | "all"nonFilter by invoice status (default active/outstanding).
clientNamestringnonOptional: exact client name (case-insensitive).
limitnumbernonMax invoices to return (default 25, max 100).

get_client_invoice

Get the full financial and delivery summary for one issued client invoice, including subtotal, markup, tax, advance applied, balance due, dates, status, source report, and private Google Doc/PDF/DOCX links when available. Provide invoiceId or invoiceNumber — one is required; invoiceNumber is accepted only when it is unique. Read-only.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
invoiceIdstringnonStable invoice ID from list_client_invoices. Required unless invoiceNumber is supplied.
invoiceNumberstringnonHuman invoice number when invoiceId is unavailable; it must identify one unique invoice.

prepare_client_invoice

Prepare a client invoice from a saved ExpenseBot report without creating it. Reads canonical report rows, allocates a unique invoice number, verifies the client ledger identity and advance, and returns exact totals plus a short-lived preparationId. Call this first, show the preview to the user, then call create_client_invoice after explicit confirmation. It reserves the invoice number and preview for 30 minutes but creates no invoice, document, Income row, email, or payment.

ParamètreTypeRequisDescription
reportIdstringouiSaved ExpenseBot report ID to invoice.
clientNamestringouiFull client or business name shown on the invoice.
issueDatestringouiCalendar-valid invoice date in YYYY-MM-DD format.
receiptIdsarray<string>nonOptional exact report receipt IDs. Defaults to every current report expense.
invoiceNumberstringnonOptional custom invoice number. ExpenseBot allocates one when omitted.
paymentTermsenum: "due_on_receipt" | "net7" | "net14" | "net15" | "net30" | "net45" | "net60"nonInvoice due terms. Defaults to the client's billing profile or net30.
clientAddressstringnonOptional billing address printed in the invoice's Bill To section.
billToEmailstringnonOptional client email printed on the invoice. This does not send email.
markupPctnumbernonMarkup applied only to rebilled expense rows.
taxPctnumbernonTax percentage applied after markup and custom line items; use 0 for no tax.
taxLabelstringnonTax label such as HST, GST, or VAT.
advanceAppliednumbernonVerified client advance to apply against this invoice.
customLineItemsarray<object>nonOptional fee/service lines. They are taxed but never marked up.
mentionSupportingReceiptsbooleannonWhen true, note on the invoice that supporting receipts are available.

create_client_invoice

Create the exact invoice previously returned by prepare_client_invoice. This is a confirmed write: it revalidates the report snapshot and client identity, creates a private editable Google Doc plus private PDF and DOCX copies, records the issued invoice, and supersedes an older active invoice for the same report. It does not send email or create an Income row. If tax is positive, confirmTax must be true.

ParamètreTypeRequisDescription
preparationIdstringouiShort-lived ID returned by prepare_client_invoice.
confirmTaxbooleannonTrue only after the user confirms the displayed tax label and rate.
operationIdstringnonOptional retry key. Reuse it after an uncertain response.

mark_client_invoice_paid

Mark an issued client invoice as paid after explicit confirmation. Requires a strict calendar-valid paidDate in YYYY-MM-DD format. This updates the accounts-receivable invoice record only; it never creates or moves an Income row. Record the actual payment separately or link an existing Income row.

ParamètreTypeRequisDescription
invoiceIdstringouiStable invoice ID from list_client_invoices.
paidDatestringouiCalendar-valid payment date in YYYY-MM-DD format.
paidAmountnumbernonOptional amount received.
paidViastringnonOptional payment method or source, such as bank transfer or check.

get_expense_splits

Read a payment's category/client/property/business-personal allocation. Returns one parent with nested split lines; never count split lines as separate expenses. Use for 'how is this expense split' or 'business portion'. Edit splits in ExpenseBot Review workspace.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
receiptIdstringnonOptional Receipt ID for one expense.
dateRangeobjectnonOptional open-ended or closed window to search for split expenses. Supply startDate, endDate, or both; supplied bounds are inclusive YYYY-MM-DD dates.
onlySplitbooleannonReturn only expenses with active splits (default true). Set false to inspect an unsplit Receipt ID.
limitnumbernonMax parent expenses to return (default 25, max 100).

get_monthly_books_review

Review one calendar month's recorded income, spending, net, top categories/merchants and unusual alerts ('monthly review', 'how did last month go', 'what did I make and spend'). Defaults to last completed month. Advisory estimates are not tax advice. closeReadiness gives recorded-book checks/Action Needed links; explain unknown coverage/limits. Never closes books or certifies tax completeness.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
periodstringnonCalendar month in YYYY-MM format. Defaults to the last completed month.

list_client_close_readiness

Accountant-only month-end overview of accepted client workspaces. Returns page-level readiness and affected-client category counts with an authenticated Client Reports link. Use for 'how many clients need attention before month end'. No client identities, amounts, or individual items are returned; select a client in ExpenseBot to resolve items. Unavailable sources remain unknown. Each page uses the current roster; do not combine pages into a verified total.

ParamètreTypeRequisDescription
periodstringnonCalendar month YYYY-MM; defaults to the last completed UTC month.
pageintegernonPage number; starts at 1. Use nextPage from the previous result.
limitintegernonClient workspaces per page; default and maximum 5.

get_credits_refunds

List card refunds, cashback/rewards, and statement credits that ExpenseBot has already recorded — either as negative expenses or matched against the original charge. Examples: 'did my refund come through', 'show my statement credits', 'was that return recorded'. Returns the most recent items (default 25, newest first); narrow with dateRange. Read-only: it never scans cards, changes review decisions, or adds rows.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
dateRangeobjectnonOptional open-ended or closed window to narrow results. Supply startDate, endDate, or both; supplied bounds are inclusive YYYY-MM-DD dates.
limitnumbernonMaximum results to return (default 25, max 100).

get_client_advance_balances

Read the same per-client advance balances shown in ExpenseBot's Client advances section. Use for questions like 'how much of Acme's advance remains?', 'which client floats are still open?', or 'do I owe a client a refund?'. A negative ledger balance means money remains to refund; a positive balance means the client owes the user. Returns the existing app handoff for Refund leftover or Bill Client. Read-only: never records a refund, creates an invoice, or recomputes the ledger in model prose.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
clientNamestringnonOptional client name or canonical Client tag. Omit to list every open balance backed by a recorded client advance.

get_trip_suggestions

Review trips from the Review Expenses Find engine. Default is high-confidence only; for the trip list set includeCandidates:true (real trips first, second homes and regular spots grouped); page with offset while remaining > 0. Name a trip by destination (e.g. Copenhagen); mode:area lists expenses in a country or city. Show dates, recorded locations, count and uncertainty; locations are not travel or client proof. Copy exact selections to group_expenses with a user-chosen trip/client name and confirm:false, then request approval. Possible additions stay out unless the user includes them (includePossibleAdditions:true). Merge/deduplicate selections for one destination; separate destinations need separate confirmations. Preserve existing assignments, Personal and read-only rows. Never infer clients or countries from currency. clientEmail mode is read-only.

ParamètreTypeRequisDescription
clientEmailstringnonAccountants: accepted client email only.
limitintegernonResult cap (default 3, max 10), not an exhaustive list; see remaining.
offsetintegernonSkip this many results to page through remaining trips.
modeenum: "episode" | "area"nonepisode (default): trips. area: every expense located in the area.
areastringnonCountry or city for mode area, e.g. "Denmark" or "Copenhagen, Denmark". Ambiguous places return candidates to ask about.
destinationstringnonTrip the user named, e.g. "Copenhagen". Several matches return them for clarification; never guess.
includePossibleAdditionsbooleannonDefault false. True only when the user explicitly asks to include the separate possible additions in the selection.
dateRangeobjectnonInclusive period to find overlapping trips; returns full trip membership, including boundary dates outside the period.
refreshbooleannonRecheck current recorded expenses for suggested trips; never change their tags.
includeCandidatesbooleannonDefault false: high-confidence only. True: also show uncertain candidates without saving recommendations or changing expenses.

group_expenses

Group exact expenses for a user-named client/project/trip/job, with an optional report. Reuse existing groups; propose new only if needed. Full expenseIds from search_expenses. Preserve assignments unless explicitly replacing (replaceExistingTags:true). First call previews even with early confirm:true: show rows, count, totals, group, exclusions/conflicts; ask approval once, then repeat identical operationId/selection with confirm:true. Group-and-report: createReport:true on confirmation; never a separate broader create_report query. excludePersonal:true removes Personal-tagged and Personal-category rows before preview, preserving markers. Skip rows on other ordinary reports; no matches: no duplicate, link to Reports. Exact report/Bill Client links. Say group, not tag. Preview totals are provisional; use terminal count/total/currency. Bill Client opens a reviewed flow, not a created/sent/confirmed invoice. Sharing requires share_report recipient confirmation. No unsolicited tax/substantiation advice or check_compliance/get_report_details/tax calls unless explicitly requested.

ParamètreTypeRequisDescription
groupobjectnonThe user-named destination group to apply to every eligible selected expense.
selectionobjectnonExact expenses returned by search_expenses and approved for this bounded operation.
operationIdstringouiStable idempotency key generated once for the preview and reused unchanged.
confirmbooleannonOmit/false for preview; true only after explicit approval.
approveNewGroupbooleannonTrue only when the preview says a new group is required.
replaceExistingTagsbooleannonDefault false keeps existing assignments; true only after the user explicitly asks to replace; preview shows both.
createReportbooleannonCreate a report from the exact eligible grouped expenses.
reportTitlestringnonOptional title when createReport is true; otherwise ExpenseBot derives one from the group.
excludePersonalbooleannonExclude Personal-tagged and Personal-category expenses from both grouping and the exact report.
excludedTagsarray<string>nonExisting groups to exclude before preview and grouping.
excludedCategoriesarray<string>nonExpense categories to exclude before preview and grouping.
statusbooleannonRead operation status using operationId.
undobooleannonUndo a completed grouping within its undo window.

update_expense

Update a single existing expense row's category, tag, merchant or business purpose (e.g. 'recategorize expense X to Meals', 'tag it Client – Acme'). Identify it only by the exact expenseId from search_expenses (the full Receipt ID from Column Q); never a date, displayed number or sheet row number. Two-phase: calls with confirm omitted/false return a current→proposed preview and change nothing; after user confirmation, confirm:true applies it. If the expense is not found, search once for a current exact expenseId; never retry the same stale ID. If a business-purpose update exceeds the Notes capacity, stop and send the user to https://www.expensebot.ai/review-expenses?source=mcp. fields.paidWith edits only the optional Paid with bookkeeping label (no status/settlement change; blank clears it); reuse expectedPaidWith from the preview on confirm. Amounts, dates and raw notes require Review Expenses. Does not create or delete rows. Same change on several rows or attendees: correct_expenses; leave rows out: omit_expenses.

ParamètreTypeRequisDescription
expenseIdstringouiExact full Receipt ID from Column Q, returned as expenseId by search_expenses.
fieldsobjectouiPartial update object. Include one or more of these optional keys; omit every field that should remain unchanged.
expectedPaidWithobjectnon
confirmbooleannonOmit or false = preview only (no write). Must be exactly true to apply the change.

correct_expenses

Preview and correct category, business purpose or user-supplied attendees on one or more exact expenses; first search_expenses for full expenseIds. Automatic preview with confirm omitted/false: show exact count and before/after changes, ask approval once, then repeat identical operationId/selection/change with confirm:true; early confirm returns preview. Never infer attendee names/business context. attendeeMode add preserves existing attendees; replace changes only that Notes segment. Preserve card, description, inbox and other structured Notes segments; skip Formula Notes/overflow. Terminal result gives applied/conflicted/failed counts, status and Undo. Does not omit duplicates, change amounts/dates or do broad Calendar matching; omit/restore via omit_expenses; one row's merchant or tag: update_expense. Mixed (e.g. category plus attendees), unsupported or over-100-row cleanup: https://www.expensebot.ai/review-expenses?source=mcp.

ParamètreTypeRequisDescription
changeobjectnonExactly one correction; its type selects the required value field.
selectionobjectnonExact expenses from search_expenses approved for this correction.
operationIdstringouiIdempotency key generated once and reused unchanged.
confirmbooleannonOmit/false for preview; true only after explicit approval.
statusbooleannonRead status by operationId.
undobooleannonUndo within the Undo window.

omit_expenses

Omit exact recorded expenses from reports, insights and exports, or restore them (leave out, exclude, don't count). First search_expenses for full expenseId values. A grounded preview is automatic with confirm omitted/false: show exact rows (date, merchant, amount), count and skips, ask once, then repeat identical operationId, action and expenseIds with confirm:true. Premature confirmation returns preview. Omit is reversible and keeps the spreadsheet row; never deletes. Rows on a submitted report are skipped and stay on it. Act only on rows the user chose; never decide rows are duplicates or personal. Recategorize: correct_expenses. Result gives applied/skipped/conflicted/failed counts and Undo. Over 100 rows: https://www.expensebot.ai/review-expenses?source=mcp.

ParamètreTypeRequisDescription
actionenum: "omit" | "restore"nonomit hides rows from reports, insights and exports; restore puts omitted rows back.
expenseIdsarray<string>nonFull expenseId (Column Q Receipt ID) values from search_expenses; never dates, rows or merchants.
operationIdstringouiIdempotency key; generate once and reuse unchanged to confirm.
reasonstringnonThe user's own short reason, shown in the Omitted view. Never invent one.
confirmbooleannonOmit/false previews only; true only after the user approves the preview.
statusbooleannonRead status by operationId.
undobooleannonUndo within the Undo window.

search

Search the user's ExpenseBot data — expenses, reports, and knowledge base. Returns matching items with id, title, and url. Use the returned id with the `fetch` tool to get full details. Powers Deep Research and Company Knowledge integrations. For filtered expense lists, totals or expenseIds to edit use search_expenses; for help articles use search_knowledge.

ParamètreTypeRequisDescription
querystringouiNatural language search (e.g., 'Uber rides in March', 'Q1 client report', 'mileage Acme')

fetch

Fetch full details for a specific item returned by `search`. The id encodes the item type: • 'expense: ' — the durable Column-Q Receipt ID returned by `search`, URL-encoded, e.g. 'expense:RR-123%3A%3Adrive%2Ffile%209'. Never a sheet row number: rows move when the sheet is prepended. • 'report: ' — the alphanumeric Firestore document id from `search` or `list_reports`, e.g., 'report:FQqDglExofsyyQv7aYy4' • 'kb: ' — the knowledge-base entry id from `search` Use ids exactly as returned; never alter them. Returns full text + metadata to cite. Outside Deep Research read one expense with get_expense_by_id.

ParamètreTypeRequisDescription
idstringouiItem ID from a previous `search` or `list_reports` call. Format: 'expense: ', 'report: ' (alphanumeric Firestore doc id, ~20 chars), or 'kb: ' (knowledge-base entry id).

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://mcp.expensebot.ai/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http mcp-server-auth https://mcp.expensebot.ai/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : mcp-server-auth ; URL : https://mcp.expensebot.ai/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : mcp-server-auth ; Server URL : https://mcp.expensebot.ai/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "mcp-server-auth": {
      "url": "https://mcp.expensebot.ai/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "mcp-server-auth": {
      "type": "http",
      "url": "https://mcp.expensebot.ai/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "mcp-server-auth": {
      "url": "https://mcp.expensebot.ai/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "mcp-server-auth": {
      "httpUrl": "https://mcp.expensebot.ai/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.mcp-server-auth]
url = "https://mcp.expensebot.ai/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

ExpenseBot · L’Atlas · Test du

Markdown
[ExpenseBot — L’Atlas](https://latlas.dev/mcp/io.github.TotesMagotes/mcp-server-auth)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.