L'Atlas / MCP servers / ExpenseBot
MCP server

ExpenseBot

io.github.TotesMagotes/mcp-server-auth

MCP server OK 67 tools

Get a review See pricing

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

Technical sheet

Author
TotesMagotes (registry namespace)
Repository
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
Authentication
None (observed by our test)
Server address
https://mcp.expensebot.ai/mcp Streamable HTTP
Packages
@expensebot/mcp-server-auth 0.6.28 npm stdio
Tools
67
Categories
Messaging and communication, AI, agents and memory
Comparisons
MCP servers for Gmail and email
Last updated
11 Nov 2026
Published
11 Nov 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.TotesMagotes/mcp-server-auth.svg?lang=en)](https://latlas.dev/en/mcp/io.github.TotesMagotes/mcp-server-auth)
HTML
<a href="https://latlas.dev/en/mcp/io.github.TotesMagotes/mcp-server-auth"><img src="https://latlas.dev/badge/fiche/io.github.TotesMagotes/mcp-server-auth.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://mcp.expensebot.ai/mcp
Last result
OK 28 Nov 2026, 11:07
Response time
691 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
expensebot-remote 0.3.1-m3.6
Tools
67

History

DateResultResponseTools
28 Nov 2026, 11:07OK691 ms67

Exposed tools (67, from 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.

No parameters.

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.

ParameterTypeRequiredDescription
operationenum: "general_settings" | "personal_rules" | "setup_decision" | "personal_learning" | "invite_clients" | "report_setup" | "report_plan" | "persona_activation"noreport_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 | objectnoUser choices.
proposalIdstringnoReturned setup proposal ID.
confirmbooleannoApprove exact preview.
statusbooleannoRead 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.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: accepted client email only.
groupByenum: "country"noRead-only country review; needs explicit dateRange.start/end.
countriesarray<string>noCountry names/codes, or unknown; never infer from currency or an ambiguous city.
tagAssignmentenum: "all" | "unassigned" | "no_client"noCountry review: unassigned = blank/Business; no_client = no client tag. Neither implies business use.
querystringnoOptional keyword recall over the fields in the tool description.
categoriesarray<string>noFilter by expense categories (e.g., ['Travel', 'Meals'])
merchantsarray<string>noFilter by merchant names (e.g., ['Uber', 'Starbucks'])
dateRangeobject | object | object | object | objectnoRequested period; YYYY year; inclusive YYYY-MM-DD bounds.
minAmountnumbernoMinimum expense amount
maxAmountnumbernoMaximum expense amount
tagsarray<string>noFilter by tags
paymentStatusenum: "paid" | "unpaid" | "unknown"noBookkeeping filter, not bank settlement; ordinary search only.
includePaidWithbooleannoPage labels only; unavailable differs from blank.
hasReceiptbooleannoTrue: attached receipt only. False: none ("No receipt" text is none, not a tag).
missingenum: "category" | "tag" | "category_or_tag"noExpenses Review counts as missing that label; Personal needs no tag.
viewenum: "to_submit" | "tax_deductible"noReview view from saved report choices. tax_deductible: business only.
limitintegernoResults per page (default 20, maximum 50)
cursorstringnoOpaque 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? } }.

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

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.

ParameterTypeRequiredDescription
querystringyesThe analytics question to answer
dateRangeobject | object | object | object | objectnoRequested 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.

ParameterTypeRequiredDescription
dateRangeobject | object | object | object | objectnoRequested period; YYYY year; inclusive YYYY-MM-DD bounds.
titlestringnoCustom report title
categoriesarray<string>noInclude configured expense categories.
tagsarray<string>noInclude existing client, project, code, property or trip groups. Check list_tags if unsure.
excludePersonalbooleannoExclude both Personal-tagged and Personal-category expenses.
excludedTagsarray<string>noExclude these existing groups.
excludedCategoriesarray<string>noExclude these expense categories.
shareWitharray<string>noEmail addresses to share the report with
recipientRoleenum: "reviewer" | "accountant"noAll 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.

ParameterTypeRequiredDescription
modeenum: "list" | "preview" | "status" | "preparation" | "plan"yes
setupIdstringno
revisionintegerno
taxYearintegerno
periodIdstringno
startDatestringno
endDatestringno

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.

ParameterTypeRequiredDescription
modeenum: "suggest" | "recheck"yes
goalTextstringyes
contextDigeststringno
evidenceIdsarray<string>no

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.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: accepted client email only.
pageintegernoOne-based results page to return.
limitintegernoMaximum reports to return on this page.
filterenum: "All" | "Draft" | "Submitted" | "Shared"noOptional 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.

ParameterTypeRequiredDescription
packageNamestringyesExact 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.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: accepted client email only.
reportIdstringyesThe report/spreadsheet ID
analysisRequestedenum: trueyesTrue 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: truenoTrue 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.

ParameterTypeRequiredDescription
reportIdstringyes
recipientsarray<string>yes
recipientRoleenum: "reviewer" | "accountant"noUse 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.

ParameterTypeRequiredDescription
reportIdstringyesReport ID to check
analysisRequestedenum: trueyesTrue 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.

ParameterTypeRequiredDescription
changeobjectnoExactly one correction; its type selects the required value field.
selectionobjectnoExact expenses from search_expenses approved for this correction.
operationIdstringyesIdempotency key generated once and reused unchanged.
confirmbooleannoOmit/false for preview; true only after explicit approval.
statusbooleannoRead status by operationId.
undobooleannoUndo 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.

ParameterTypeRequiredDescription
querystringyesBrief expense-type deduction question, e.g. 'are business meals deductible?'; no account numbers or unrelated personal context.
categorystringnoOptional expense category to match the reference rule.
merchantstringnoOptional 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.

ParameterTypeRequiredDescription
querystringyesSearch terms
limitintegernoNumber of ranked matching articles to return (1-10).
fullAnswerbooleannoTrue 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.

ParameterTypeRequiredDescription
filesToUploadarray<object>noEvery file the user provided, in one call. Returns signedUrl + uploadRef per file; upload each, then call with uploadRefs.
uploadRefsarray<object>noEvery uploadRef from the filesToUpload step, as ONE batch. If any file fails validation nothing is processed.
uploadRefstringnoSingle-file shorthand for uploadRefs. Use uploadRefs when there is more than one file.
photoobjectnoSingle attached receipt image or PDF supplied by ChatGPT. For multiple files or large files, use filesToUpload and uploadRefs instead.
photoBase64stringnoLegacy fallback for MCP clients that send one small image as complete base64 data. ChatGPT should use photo or uploadRefs instead.
filenamestringnoOptional filename (e.g., 'lunch_receipt.jpg')
mimeTypeenum: "image/jpeg" | "image/png" | "image/heic" | "image/webp" | "application/pdf"noMIME type of the file (default: image/jpeg)
notestringnoBatch-level note for every file; a file may override it. Stored in the Notes column (L).
tagstringnoBatch-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.

ParameterTypeRequiredDescription
submissionIdstringnoExact submissionId returned by submit_receipt. Strongly preferred because it binds the result to this upload instead of an earlier receipt.
withinSecondsintegernoLookback 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.

ParameterTypeRequiredDescription
merchantstringnoMerchant/vendor name for an ordinary expense. Not needed for a client advance; ExpenseBot derives it from clientName.
totalnumberyesPositive amount paid or received. ExpenseBot stores a client advance as negative.
datestringyesExpense date (YYYY-MM-DD)
categorystringnoA configured Expense Account returned by list_categories. Do not invent a category.
subtotalnumbernoSubtotal before tax
taxnumbernoTax amount
tipnumbernoTip amount
currencystringnoCurrency code (default: USD)
citystringnoCity/location
notesstringnoNotes or description
isClientAdvancebooleannoTrue only when a client supplied money in advance for expenses. Requires clientName and does not require category.
clientNamestringnoClient 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, ...}

ParameterTypeRequiredDescription
textstringyesNatural 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.

ParameterTypeRequiredDescription
emailIdsarray<string>yesGmail message IDs to process as receipts
accountEmailstringnoOptional: 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.

ParameterTypeRequiredDescription
providerenum: "gmail" | "outlook"noDefault Gmail.
lookbackDaysintegernoHow many days back to scan (default 60, max depends on subscription)
startDatestringnoOptional: explicit start date (YYYY-MM-DD) instead of lookbackDays
endDatestringnoOptional: explicit end date (YYYY-MM-DD)
accountEmailstringnoOptional 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.

ParameterTypeRequiredDescription
trackingModeenum: "expense" | "trip_log"noOptional override; otherwise saved mode. Never infer from country or occupation.
operationIdstringnoStable ID required for trip_log; reuse for the same request; never repeat an unverified save.
vehicleIdstringnoExisting vehicle ID; omit for unassigned; never invent.
unitenum: "km" | "mi"noTrip-log unit; omit for saved. Expense uses configured unit.
distancenumberyesDistance in configured miles/km.
purposestringyesBusiness trip purpose.
datestringyesRequired YYYY-MM-DD. Use the given date; for today use the user's timezone. Ask if missing.
roundTripbooleannoDouble distance for return trip.
destinationstringnoDestination.
citystringnoCity.
categorystringnoMileage category override.
tagstringnoClient/project tag.
notesstringnoUser 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.

ParameterTypeRequiredDescription
amountnumberyesIncome amount (>0)
sourcestringyesWho paid you (client name, customer, etc.)
paymentMethodstringyesHow you got paid: Cash, Check, Bank transfer, Wallet app, Credit/Debit card, Payment processor or Other; labels like Stripe or Venmo are normalized.
datestringyesIncome 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.
currencystringnoCurrency code (default: home currency)
descriptionstringnoWhat the income was for
categorystringnoA category returned by list_income_categories (optional; defaults to Service income)
referencestringnoInvoice or transaction reference
feesnumbernoProcessor/transfer fees deducted
taxCollectednumbernoSales tax/GST/HST collected
tagstringnoTag for client/project attribution
notesstringno

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.

ParameterTypeRequiredDescription
photoobjectnoAttached image or PDF supplied by ChatGPT for step 1. The server downloads and parses the attachment securely.
photoBase64stringnoLegacy 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"noMIME type of the file (default: image/jpeg)
paymentMethodstringnoFallback payment rail for rows where the parser found none (Cash, Check, Bank transfer, Wallet app, Credit/Debit card, Payment processor, or Other).
tagstringnoOptional client/project tag. In step 1 it pre-fills the staged rows; in step 2 it applies to the confirmed selection.
confirmbooleannoStep 2 only: true writes the staged rows. Omit it (with previewId absent) to parse and preview without writing.
previewIdstringnoStep 2 only: the previewId returned by the step-1 call.
selectedIndexesarray<integer>noStep 2 only: preview row indexes to write. Omit to write all staged rows.
keepBothIndexesarray<integer>noStep 2 only: preview indexes of duplicate-flagged rows the user explicitly wants to keep anyway (the app's 'Keep Both').
rowEditsarray<object>noStep 2 only: user-approved corrections, max 50 rows (date YYYY-MM-DD, source, amount, currency, category, paymentMethod, description, notes, reference, fees, taxCollected, tag).
bulkNotestringnoStep 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.

ParameterTypeRequiredDescription
csvContentobjectnoStep 1 ChatGPT attachment; securely downloaded and decoded.
csvTextstringnoStep 1 inline CSV/TSV/text fallback; ChatGPT should use csvContent.
paymentMethodstringnoFallback payment rail only when absent from the parsed row.
tagstringnoOptional client/project tag for staged or confirmed rows.
confirmbooleannoStep 2: true writes the staged selection only after user approval.
previewIdstringnoStep 2 ID returned by the unexpired preview.
selectedIndexesarray<integer>noStep 2 preview row indexes to write; omit for all staged rows.
keepBothIndexesarray<integer>noStep 2 duplicate indexes the user explicitly approved keeping.
rowEditsarray<object>noStep 2 approved edits; at most 50 selected preview rows.
bulkNotestringnoStep 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).

ParameterTypeRequiredDescription
providerenum: "zoho_books" | "quickbooks" | "xero" | "wave" | "freeagent"yesAccounting destination provider. QuickBooks Online, Xero, Wave, FreeAgent (beta), or Zoho Books.
reportIdstringnoOptional 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.

ParameterTypeRequiredDescription
providerenum: "zoho_books"yesAccounting destination provider. Agent-driven posting is currently available only for Zoho Books.
reportIdstringnoStep 1 only: ExpenseBot report ID owned by the signed-in account.
modeenum: "auto" | "expense" | "bill"noStep 1 only (Zoho Books): automatic document treatment, paid expenses, or bills.
accountMappingsobjectnoStep 1 only: ExpenseBot category to live destination account ID overrides.
taxMappingsobjectnoStep 1 only: observed tax-rate string to live destination tax ID overrides.
reportingTagMappingsobjectnoStep 1 only: ExpenseBot tag to live destination reporting-tag option.
forceRepushbooleannoStep 1 only: explicitly include disclosed uncertain prior outcomes in the frozen proposal.
proposalIdstringnoStep 2 only: proposalId returned by the read-only preview.
confirmbooleannoStep 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.

ParameterTypeRequiredDescription
providerenum: "zoho_books" | "quickbooks" | "xero" | "wave" | "freeagent"yesAccounting destination provider used for the prior posting attempt.
reportIdstringyesExact 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.

No parameters.

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.

No parameters.

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.

ParameterTypeRequiredDescription
namestringyesName of the new group/tag.
operationIdstringnoServer-issued preview operation ID to confirm a staged create.
confirmbooleannoConfirm only after the user approves the preview; a first confirm call remains preview-only.
allowSimilarbooleannoAllow creation alongside similar names only when the user explicitly chooses a new distinct group.
statusbooleannoWhen 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.

ParameterTypeRequiredDescription
querystringnoNatural language income question (e.g., 'income YTD by source', 'rental income last month')
groupByenum: "source" | "category" | "month" | "paymentMethod" | "tag"noHow to group the breakdown
dateRangeobject | object | object | object | objectnoRequested period; YYYY year; inclusive YYYY-MM-DD bounds.
incomeTagPrefixstringnoOptional 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? } }.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: accepted client email only.
querystringnoNatural language P&L question (e.g., 'P&L for Q1 2025', 'am I profitable')
dateRangeobject | object | object | object | objectnoRequested 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.

ParameterTypeRequiredDescription
querystringnoNatural language per-tag P&L question
tagPrefixstringnoOptional 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 | objectnoRequested 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.

No parameters.

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.

ParameterTypeRequiredDescription
limitintegerno
sinceDaysintegernoOnly show actions from the last N days (default 7)
actionIdstringnoOptional: 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.

ParameterTypeRequiredDescription
querystringnoMerchant, sender, subject, invoice number, or phrase to search for, e.g. 'Blue Rocket', 'Driversnote', 'Uber receipt'.
receiptIdstringnoExpenseBot receipt/invoice ID if known, e.g. IR-123, RO-abc, RR-456.
messageIdstringnoGmail message ID if known.
threadIdstringnoGmail thread ID if known.
outcomeenum: "all" | "created" | "skipped" | "suggested" | "income_routed" | "deduped" | "removed_as_duplicate"noOptional processing outcome filter.
daysintegernoHow many days back to search.
limitintegernoMaximum 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.

ParameterTypeRequiredDescription
querystringnoMileage query.
groupByenum: "month" | "tag" | "purpose" | "category"noGrouping.
dateRangeobject | object | object | object | objectnoRequested 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.

ParameterTypeRequiredDescription
querystringnoNatural language subscription question (e.g., 'find duplicate subscriptions', 'price increases this year')
focusenum: "recurring" | "duplicates" | "price_increases" | "trial_conversions" | "all"noNarrow the audit to a single category (default: all)
dateRangeobject | object | object | object | objectnoRequested 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.

ParameterTypeRequiredDescription
rowNumberintegerno1-indexed sheet row (row 1 is headers, so ≥ 2)
expenseIdstringnoExact 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.

ParameterTypeRequiredDescription
reportIdstringyesReport 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.

No parameters.

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.

ParameterTypeRequiredDescription
featurestringyesFeature 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.

ParameterTypeRequiredDescription
deltaMonthlynumberyesThe 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.

ParameterTypeRequiredDescription
clientNamestringyesThe client's name as it appears on invoices or income rows
modeenum: "late30" | "gone"yes'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'.

No parameters.

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.

ParameterTypeRequiredDescription
providerenum: "gmail" | "outlook"noDefault Gmail.
yearsarray<number>yesCompleted periods; ending year for eligible tax-year accounts (2025 = 2024–25), calendar year otherwise. Max 10.
accountEmailstringnoConnected mailbox email. Gmail defaults to primary.
confirmStartbooleannoOmit 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.

ParameterTypeRequiredDescription
providerenum: "gmail" | "outlook"noDefault Gmail.
jobIdstringnoOptional 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.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: 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.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: accepted client email only.
statusenum: "active" | "open" | "overdue" | "needs_review" | "paid" | "void" | "superseded" | "all"noFilter by invoice status (default active/outstanding).
clientNamestringnoOptional: exact client name (case-insensitive).
limitnumbernoMax 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.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: accepted client email only.
invoiceIdstringnoStable invoice ID from list_client_invoices. Required unless invoiceNumber is supplied.
invoiceNumberstringnoHuman 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.

ParameterTypeRequiredDescription
reportIdstringyesSaved ExpenseBot report ID to invoice.
clientNamestringyesFull client or business name shown on the invoice.
issueDatestringyesCalendar-valid invoice date in YYYY-MM-DD format.
receiptIdsarray<string>noOptional exact report receipt IDs. Defaults to every current report expense.
invoiceNumberstringnoOptional custom invoice number. ExpenseBot allocates one when omitted.
paymentTermsenum: "due_on_receipt" | "net7" | "net14" | "net15" | "net30" | "net45" | "net60"noInvoice due terms. Defaults to the client's billing profile or net30.
clientAddressstringnoOptional billing address printed in the invoice's Bill To section.
billToEmailstringnoOptional client email printed on the invoice. This does not send email.
markupPctnumbernoMarkup applied only to rebilled expense rows.
taxPctnumbernoTax percentage applied after markup and custom line items; use 0 for no tax.
taxLabelstringnoTax label such as HST, GST, or VAT.
advanceAppliednumbernoVerified client advance to apply against this invoice.
customLineItemsarray<object>noOptional fee/service lines. They are taxed but never marked up.
mentionSupportingReceiptsbooleannoWhen 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.

ParameterTypeRequiredDescription
preparationIdstringyesShort-lived ID returned by prepare_client_invoice.
confirmTaxbooleannoTrue only after the user confirms the displayed tax label and rate.
operationIdstringnoOptional 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.

ParameterTypeRequiredDescription
invoiceIdstringyesStable invoice ID from list_client_invoices.
paidDatestringyesCalendar-valid payment date in YYYY-MM-DD format.
paidAmountnumbernoOptional amount received.
paidViastringnoOptional 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.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: accepted client email only.
receiptIdstringnoOptional Receipt ID for one expense.
dateRangeobjectnoOptional open-ended or closed window to search for split expenses. Supply startDate, endDate, or both; supplied bounds are inclusive YYYY-MM-DD dates.
onlySplitbooleannoReturn only expenses with active splits (default true). Set false to inspect an unsplit Receipt ID.
limitnumbernoMax 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.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: accepted client email only.
periodstringnoCalendar 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.

ParameterTypeRequiredDescription
periodstringnoCalendar month YYYY-MM; defaults to the last completed UTC month.
pageintegernoPage number; starts at 1. Use nextPage from the previous result.
limitintegernoClient 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.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: accepted client email only.
dateRangeobjectnoOptional open-ended or closed window to narrow results. Supply startDate, endDate, or both; supplied bounds are inclusive YYYY-MM-DD dates.
limitnumbernoMaximum 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.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: accepted client email only.
clientNamestringnoOptional 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.

ParameterTypeRequiredDescription
clientEmailstringnoAccountants: accepted client email only.
limitintegernoResult cap (default 3, max 10), not an exhaustive list; see remaining.
offsetintegernoSkip this many results to page through remaining trips.
modeenum: "episode" | "area"noepisode (default): trips. area: every expense located in the area.
areastringnoCountry or city for mode area, e.g. "Denmark" or "Copenhagen, Denmark". Ambiguous places return candidates to ask about.
destinationstringnoTrip the user named, e.g. "Copenhagen". Several matches return them for clarification; never guess.
includePossibleAdditionsbooleannoDefault false. True only when the user explicitly asks to include the separate possible additions in the selection.
dateRangeobjectnoInclusive period to find overlapping trips; returns full trip membership, including boundary dates outside the period.
refreshbooleannoRecheck current recorded expenses for suggested trips; never change their tags.
includeCandidatesbooleannoDefault 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.

ParameterTypeRequiredDescription
groupobjectnoThe user-named destination group to apply to every eligible selected expense.
selectionobjectnoExact expenses returned by search_expenses and approved for this bounded operation.
operationIdstringyesStable idempotency key generated once for the preview and reused unchanged.
confirmbooleannoOmit/false for preview; true only after explicit approval.
approveNewGroupbooleannoTrue only when the preview says a new group is required.
replaceExistingTagsbooleannoDefault false keeps existing assignments; true only after the user explicitly asks to replace; preview shows both.
createReportbooleannoCreate a report from the exact eligible grouped expenses.
reportTitlestringnoOptional title when createReport is true; otherwise ExpenseBot derives one from the group.
excludePersonalbooleannoExclude Personal-tagged and Personal-category expenses from both grouping and the exact report.
excludedTagsarray<string>noExisting groups to exclude before preview and grouping.
excludedCategoriesarray<string>noExpense categories to exclude before preview and grouping.
statusbooleannoRead operation status using operationId.
undobooleannoUndo 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.

ParameterTypeRequiredDescription
expenseIdstringyesExact full Receipt ID from Column Q, returned as expenseId by search_expenses.
fieldsobjectyesPartial update object. Include one or more of these optional keys; omit every field that should remain unchanged.
expectedPaidWithobjectno
confirmbooleannoOmit 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.

ParameterTypeRequiredDescription
changeobjectnoExactly one correction; its type selects the required value field.
selectionobjectnoExact expenses from search_expenses approved for this correction.
operationIdstringyesIdempotency key generated once and reused unchanged.
confirmbooleannoOmit/false for preview; true only after explicit approval.
statusbooleannoRead status by operationId.
undobooleannoUndo 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.

ParameterTypeRequiredDescription
actionenum: "omit" | "restore"noomit hides rows from reports, insights and exports; restore puts omitted rows back.
expenseIdsarray<string>noFull expenseId (Column Q Receipt ID) values from search_expenses; never dates, rows or merchants.
operationIdstringyesIdempotency key; generate once and reuse unchanged to confirm.
reasonstringnoThe user's own short reason, shown in the Omitted view. Never invent one.
confirmbooleannoOmit/false previews only; true only after the user approves the preview.
statusbooleannoRead status by operationId.
undobooleannoUndo 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.

ParameterTypeRequiredDescription
querystringyesNatural 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.

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

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

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

Ready-to-copy configs

Remote address used: https://mcp.expensebot.ai/mcp. Formats taken from each client’s documentation.

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"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

ExpenseBot · L’Atlas · Tested on

Markdown
[ExpenseBot — L’Atlas](https://latlas.dev/en/mcp/io.github.TotesMagotes/mcp-server-auth)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 30 Nov 2026. L’Atlas adds no data beyond this source and its own tests.