ExpenseBot
io.github.TotesMagotes/mcp-server-auth
Serveur MCP OK 67 outils
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
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.TotesMagotes/mcp-server-auth)<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
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:07 | OK | 691 ms | 67 |
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ètre | Type | Requis | Description |
|---|---|---|---|
| operation | enum: "general_settings" | "personal_rules" | "setup_decision" | "personal_learning" | "invite_clients" | "report_setup" | "report_plan" | "persona_activation" | non | report_setup previews new choices. report_plan saves goals only, never creates a report file. Read review_report_setup mode plan first. |
| answers | object | object | object | object | object | object | object | object | non | User choices. |
| proposalId | string | non | Returned setup proposal ID. |
| confirm | boolean | non | Approve exact preview. |
| status | boolean | non | Read 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| groupBy | enum: "country" | non | Read-only country review; needs explicit dateRange.start/end. |
| countries | array<string> | non | Country names/codes, or unknown; never infer from currency or an ambiguous city. |
| tagAssignment | enum: "all" | "unassigned" | "no_client" | non | Country review: unassigned = blank/Business; no_client = no client tag. Neither implies business use. |
| query | string | non | Optional keyword recall over the fields in the tool description. |
| categories | array<string> | non | Filter by expense categories (e.g., ['Travel', 'Meals']) |
| merchants | array<string> | non | Filter by merchant names (e.g., ['Uber', 'Starbucks']) |
| dateRange | object | object | object | object | object | non | Requested period; YYYY year; inclusive YYYY-MM-DD bounds. |
| minAmount | number | non | Minimum expense amount |
| maxAmount | number | non | Maximum expense amount |
| tags | array<string> | non | Filter by tags |
| paymentStatus | enum: "paid" | "unpaid" | "unknown" | non | Bookkeeping filter, not bank settlement; ordinary search only. |
| includePaidWith | boolean | non | Page labels only; unavailable differs from blank. |
| hasReceipt | boolean | non | True: attached receipt only. False: none ("No receipt" text is none, not a tag). |
| missing | enum: "category" | "tag" | "category_or_tag" | non | Expenses Review counts as missing that label; Personal needs no tag. |
| view | enum: "to_submit" | "tax_deductible" | non | Review view from saved report choices. tax_deductible: business only. |
| limit | integer | non | Results per page (default 20, maximum 50) |
| cursor | string | non | Opaque 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| query | string | non | Natural language question (e.g., 'how much did I spend in March', 'top merchants this quarter') |
| categories | array<string> | non | Optional configured expense categories to include in the summary. |
| dateRange | object | object | object | object | object | non | Requested period; YYYY year; inclusive YYYY-MM-DD bounds. |
| groupBy | enum: "category" | "merchant" | "month" | "tag" | "source" | "paymentMethod" | non | |
| metric | enum: "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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | The analytics question to answer |
| dateRange | object | object | object | object | object | non | Requested 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ètre | Type | Requis | Description |
|---|---|---|---|
| dateRange | object | object | object | object | object | non | Requested period; YYYY year; inclusive YYYY-MM-DD bounds. |
| title | string | non | Custom report title |
| categories | array<string> | non | Include configured expense categories. |
| tags | array<string> | non | Include existing client, project, code, property or trip groups. Check list_tags if unsure. |
| excludePersonal | boolean | non | Exclude both Personal-tagged and Personal-category expenses. |
| excludedTags | array<string> | non | Exclude these existing groups. |
| excludedCategories | array<string> | non | Exclude these expense categories. |
| shareWith | array<string> | non | Email addresses to share the report with |
| recipientRole | enum: "reviewer" | "accountant" | non | All 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ètre | Type | Requis | Description |
|---|---|---|---|
| mode | enum: "list" | "preview" | "status" | "preparation" | "plan" | oui | |
| setupId | string | non | |
| revision | integer | non | |
| taxYear | integer | non | |
| periodId | string | non | |
| startDate | string | non | |
| endDate | string | non |
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ètre | Type | Requis | Description |
|---|---|---|---|
| mode | enum: "suggest" | "recheck" | oui | |
| goalText | string | oui | |
| contextDigest | string | non | |
| evidenceIds | array<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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| page | integer | non | One-based results page to return. |
| limit | integer | non | Maximum reports to return on this page. |
| filter | enum: "All" | "Draft" | "Submitted" | "Shared" | non | Optional 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ètre | Type | Requis | Description |
|---|---|---|---|
| packageName | string | oui | Exact 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| reportId | string | oui | The report/spreadsheet ID |
| analysisRequested | enum: true | oui | True 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. |
| checkFreshness | enum: true | non | True 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ètre | Type | Requis | Description |
|---|---|---|---|
| reportId | string | oui | |
| recipients | array<string> | oui | |
| recipientRole | enum: "reviewer" | "accountant" | non | Use 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ètre | Type | Requis | Description |
|---|---|---|---|
| reportId | string | oui | Report ID to check |
| analysisRequested | enum: true | oui | True 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ètre | Type | Requis | Description |
|---|---|---|---|
| change | object | non | Exactly one correction; its type selects the required value field. |
| selection | object | non | Exact expenses from search_expenses approved for this correction. |
| operationId | string | oui | Idempotency key generated once and reused unchanged. |
| confirm | boolean | non | Omit/false for preview; true only after explicit approval. |
| status | boolean | non | Read status by operationId. |
| undo | boolean | non | Undo 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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Brief expense-type deduction question, e.g. 'are business meals deductible?'; no account numbers or unrelated personal context. |
| category | string | non | Optional expense category to match the reference rule. |
| merchant | string | non | Optional 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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Search terms |
| limit | integer | non | Number of ranked matching articles to return (1-10). |
| fullAnswer | boolean | non | True 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ètre | Type | Requis | Description |
|---|---|---|---|
| filesToUpload | array<object> | non | Every file the user provided, in one call. Returns signedUrl + uploadRef per file; upload each, then call with uploadRefs. |
| uploadRefs | array<object> | non | Every uploadRef from the filesToUpload step, as ONE batch. If any file fails validation nothing is processed. |
| uploadRef | string | non | Single-file shorthand for uploadRefs. Use uploadRefs when there is more than one file. |
| photo | object | non | Single attached receipt image or PDF supplied by ChatGPT. For multiple files or large files, use filesToUpload and uploadRefs instead. |
| photoBase64 | string | non | Legacy fallback for MCP clients that send one small image as complete base64 data. ChatGPT should use photo or uploadRefs instead. |
| filename | string | non | Optional filename (e.g., 'lunch_receipt.jpg') |
| mimeType | enum: "image/jpeg" | "image/png" | "image/heic" | "image/webp" | "application/pdf" | non | MIME type of the file (default: image/jpeg) |
| note | string | non | Batch-level note for every file; a file may override it. Stored in the Notes column (L). |
| tag | string | non | Batch-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ètre | Type | Requis | Description |
|---|---|---|---|
| submissionId | string | non | Exact submissionId returned by submit_receipt. Strongly preferred because it binds the result to this upload instead of an earlier receipt. |
| withinSeconds | integer | non | Lookback 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ètre | Type | Requis | Description |
|---|---|---|---|
| merchant | string | non | Merchant/vendor name for an ordinary expense. Not needed for a client advance; ExpenseBot derives it from clientName. |
| total | number | oui | Positive amount paid or received. ExpenseBot stores a client advance as negative. |
| date | string | oui | Expense date (YYYY-MM-DD) |
| category | string | non | A configured Expense Account returned by list_categories. Do not invent a category. |
| subtotal | number | non | Subtotal before tax |
| tax | number | non | Tax amount |
| tip | number | non | Tip amount |
| currency | string | non | Currency code (default: USD) |
| city | string | non | City/location |
| notes | string | non | Notes or description |
| isClientAdvance | boolean | non | True only when a client supplied money in advance for expenses. Requires clientName and does not require category. |
| clientName | string | non | Client 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ètre | Type | Requis | Description |
|---|---|---|---|
| text | string | oui | Natural 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ètre | Type | Requis | Description |
|---|---|---|---|
| emailIds | array<string> | oui | Gmail message IDs to process as receipts |
| accountEmail | string | non | Optional: 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ètre | Type | Requis | Description |
|---|---|---|---|
| provider | enum: "gmail" | "outlook" | non | Default Gmail. |
| lookbackDays | integer | non | How many days back to scan (default 60, max depends on subscription) |
| startDate | string | non | Optional: explicit start date (YYYY-MM-DD) instead of lookbackDays |
| endDate | string | non | Optional: explicit end date (YYYY-MM-DD) |
| accountEmail | string | non | Optional 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ètre | Type | Requis | Description |
|---|---|---|---|
| trackingMode | enum: "expense" | "trip_log" | non | Optional override; otherwise saved mode. Never infer from country or occupation. |
| operationId | string | non | Stable ID required for trip_log; reuse for the same request; never repeat an unverified save. |
| vehicleId | string | non | Existing vehicle ID; omit for unassigned; never invent. |
| unit | enum: "km" | "mi" | non | Trip-log unit; omit for saved. Expense uses configured unit. |
| distance | number | oui | Distance in configured miles/km. |
| purpose | string | oui | Business trip purpose. |
| date | string | oui | Required YYYY-MM-DD. Use the given date; for today use the user's timezone. Ask if missing. |
| roundTrip | boolean | non | Double distance for return trip. |
| destination | string | non | Destination. |
| city | string | non | City. |
| category | string | non | Mileage category override. |
| tag | string | non | Client/project tag. |
| notes | string | non | User 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ètre | Type | Requis | Description |
|---|---|---|---|
| amount | number | oui | Income amount (>0) |
| source | string | oui | Who paid you (client name, customer, etc.) |
| paymentMethod | string | oui | How you got paid: Cash, Check, Bank transfer, Wallet app, Credit/Debit card, Payment processor or Other; labels like Stripe or Venmo are normalized. |
| date | string | oui | Income 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. |
| currency | string | non | Currency code (default: home currency) |
| description | string | non | What the income was for |
| category | string | non | A category returned by list_income_categories (optional; defaults to Service income) |
| reference | string | non | Invoice or transaction reference |
| fees | number | non | Processor/transfer fees deducted |
| taxCollected | number | non | Sales tax/GST/HST collected |
| tag | string | non | Tag for client/project attribution |
| notes | string | non |
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ètre | Type | Requis | Description |
|---|---|---|---|
| photo | object | non | Attached image or PDF supplied by ChatGPT for step 1. The server downloads and parses the attachment securely. |
| photoBase64 | string | non | Legacy fallback for MCP clients that send complete image/PDF bytes as base64. ChatGPT should use photo. |
| mimeType | enum: "image/jpeg" | "image/png" | "image/webp" | "image/heic" | "image/heif" | "application/pdf" | non | MIME type of the file (default: image/jpeg) |
| paymentMethod | string | non | Fallback payment rail for rows where the parser found none (Cash, Check, Bank transfer, Wallet app, Credit/Debit card, Payment processor, or Other). |
| tag | string | non | Optional client/project tag. In step 1 it pre-fills the staged rows; in step 2 it applies to the confirmed selection. |
| confirm | boolean | non | Step 2 only: true writes the staged rows. Omit it (with previewId absent) to parse and preview without writing. |
| previewId | string | non | Step 2 only: the previewId returned by the step-1 call. |
| selectedIndexes | array<integer> | non | Step 2 only: preview row indexes to write. Omit to write all staged rows. |
| keepBothIndexes | array<integer> | non | Step 2 only: preview indexes of duplicate-flagged rows the user explicitly wants to keep anyway (the app's 'Keep Both'). |
| rowEdits | array<object> | non | Step 2 only: user-approved corrections, max 50 rows (date YYYY-MM-DD, source, amount, currency, category, paymentMethod, description, notes, reference, fees, taxCollected, tag). |
| bulkNote | string | non | Step 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ètre | Type | Requis | Description |
|---|---|---|---|
| csvContent | object | non | Step 1 ChatGPT attachment; securely downloaded and decoded. |
| csvText | string | non | Step 1 inline CSV/TSV/text fallback; ChatGPT should use csvContent. |
| paymentMethod | string | non | Fallback payment rail only when absent from the parsed row. |
| tag | string | non | Optional client/project tag for staged or confirmed rows. |
| confirm | boolean | non | Step 2: true writes the staged selection only after user approval. |
| previewId | string | non | Step 2 ID returned by the unexpired preview. |
| selectedIndexes | array<integer> | non | Step 2 preview row indexes to write; omit for all staged rows. |
| keepBothIndexes | array<integer> | non | Step 2 duplicate indexes the user explicitly approved keeping. |
| rowEdits | array<object> | non | Step 2 approved edits; at most 50 selected preview rows. |
| bulkNote | string | non | Step 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ètre | Type | Requis | Description |
|---|---|---|---|
| provider | enum: "zoho_books" | "quickbooks" | "xero" | "wave" | "freeagent" | oui | Accounting destination provider. QuickBooks Online, Xero, Wave, FreeAgent (beta), or Zoho Books. |
| reportId | string | non | Optional 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ètre | Type | Requis | Description |
|---|---|---|---|
| provider | enum: "zoho_books" | oui | Accounting destination provider. Agent-driven posting is currently available only for Zoho Books. |
| reportId | string | non | Step 1 only: ExpenseBot report ID owned by the signed-in account. |
| mode | enum: "auto" | "expense" | "bill" | non | Step 1 only (Zoho Books): automatic document treatment, paid expenses, or bills. |
| accountMappings | object | non | Step 1 only: ExpenseBot category to live destination account ID overrides. |
| taxMappings | object | non | Step 1 only: observed tax-rate string to live destination tax ID overrides. |
| reportingTagMappings | object | non | Step 1 only: ExpenseBot tag to live destination reporting-tag option. |
| forceRepush | boolean | non | Step 1 only: explicitly include disclosed uncertain prior outcomes in the frozen proposal. |
| proposalId | string | non | Step 2 only: proposalId returned by the read-only preview. |
| confirm | boolean | non | Step 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ètre | Type | Requis | Description |
|---|---|---|---|
| provider | enum: "zoho_books" | "quickbooks" | "xero" | "wave" | "freeagent" | oui | Accounting destination provider used for the prior posting attempt. |
| reportId | string | oui | Exact 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ètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | Name of the new group/tag. |
| operationId | string | non | Server-issued preview operation ID to confirm a staged create. |
| confirm | boolean | non | Confirm only after the user approves the preview; a first confirm call remains preview-only. |
| allowSimilar | boolean | non | Allow creation alongside similar names only when the user explicitly chooses a new distinct group. |
| status | boolean | non | When 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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Natural language income question (e.g., 'income YTD by source', 'rental income last month') |
| groupBy | enum: "source" | "category" | "month" | "paymentMethod" | "tag" | non | How to group the breakdown |
| dateRange | object | object | object | object | object | non | Requested period; YYYY year; inclusive YYYY-MM-DD bounds. |
| incomeTagPrefix | string | non | Optional 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| query | string | non | Natural language P&L question (e.g., 'P&L for Q1 2025', 'am I profitable') |
| dateRange | object | object | object | object | object | non | Requested 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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Natural language per-tag P&L question |
| tagPrefix | string | non | Optional prefix to limit which tags are bucketed (e.g., 'Prop –' for properties only, 'Client –' for clients only). When omitted, all tags are included. |
| dateRange | object | object | object | object | object | non | Requested 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ètre | Type | Requis | Description |
|---|---|---|---|
| limit | integer | non | |
| sinceDays | integer | non | Only show actions from the last N days (default 7) |
| actionId | string | non | Optional: 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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Merchant, sender, subject, invoice number, or phrase to search for, e.g. 'Blue Rocket', 'Driversnote', 'Uber receipt'. |
| receiptId | string | non | ExpenseBot receipt/invoice ID if known, e.g. IR-123, RO-abc, RR-456. |
| messageId | string | non | Gmail message ID if known. |
| threadId | string | non | Gmail thread ID if known. |
| outcome | enum: "all" | "created" | "skipped" | "suggested" | "income_routed" | "deduped" | "removed_as_duplicate" | non | Optional processing outcome filter. |
| days | integer | non | How many days back to search. |
| limit | integer | non | Maximum 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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Mileage query. |
| groupBy | enum: "month" | "tag" | "purpose" | "category" | non | Grouping. |
| dateRange | object | object | object | object | object | non | Requested 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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Natural language subscription question (e.g., 'find duplicate subscriptions', 'price increases this year') |
| focus | enum: "recurring" | "duplicates" | "price_increases" | "trial_conversions" | "all" | non | Narrow the audit to a single category (default: all) |
| dateRange | object | object | object | object | object | non | Requested 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ètre | Type | Requis | Description |
|---|---|---|---|
| rowNumber | integer | non | 1-indexed sheet row (row 1 is headers, so ≥ 2) |
| expenseId | string | non | Exact 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ètre | Type | Requis | Description |
|---|---|---|---|
| reportId | string | oui | Report 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ètre | Type | Requis | Description |
|---|---|---|---|
| feature | string | oui | Feature 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ètre | Type | Requis | Description |
|---|---|---|---|
| deltaMonthly | number | oui | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientName | string | oui | The client's name as it appears on invoices or income rows |
| mode | enum: "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ètre | Type | Requis | Description |
|---|---|---|---|
| provider | enum: "gmail" | "outlook" | non | Default Gmail. |
| years | array<number> | oui | Completed periods; ending year for eligible tax-year accounts (2025 = 2024–25), calendar year otherwise. Max 10. |
| accountEmail | string | non | Connected mailbox email. Gmail defaults to primary. |
| confirmStart | boolean | non | Omit 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ètre | Type | Requis | Description |
|---|---|---|---|
| provider | enum: "gmail" | "outlook" | non | Default Gmail. |
| jobId | string | non | Optional 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| status | enum: "active" | "open" | "overdue" | "needs_review" | "paid" | "void" | "superseded" | "all" | non | Filter by invoice status (default active/outstanding). |
| clientName | string | non | Optional: exact client name (case-insensitive). |
| limit | number | non | Max 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| invoiceId | string | non | Stable invoice ID from list_client_invoices. Required unless invoiceNumber is supplied. |
| invoiceNumber | string | non | Human 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ètre | Type | Requis | Description |
|---|---|---|---|
| reportId | string | oui | Saved ExpenseBot report ID to invoice. |
| clientName | string | oui | Full client or business name shown on the invoice. |
| issueDate | string | oui | Calendar-valid invoice date in YYYY-MM-DD format. |
| receiptIds | array<string> | non | Optional exact report receipt IDs. Defaults to every current report expense. |
| invoiceNumber | string | non | Optional custom invoice number. ExpenseBot allocates one when omitted. |
| paymentTerms | enum: "due_on_receipt" | "net7" | "net14" | "net15" | "net30" | "net45" | "net60" | non | Invoice due terms. Defaults to the client's billing profile or net30. |
| clientAddress | string | non | Optional billing address printed in the invoice's Bill To section. |
| billToEmail | string | non | Optional client email printed on the invoice. This does not send email. |
| markupPct | number | non | Markup applied only to rebilled expense rows. |
| taxPct | number | non | Tax percentage applied after markup and custom line items; use 0 for no tax. |
| taxLabel | string | non | Tax label such as HST, GST, or VAT. |
| advanceApplied | number | non | Verified client advance to apply against this invoice. |
| customLineItems | array<object> | non | Optional fee/service lines. They are taxed but never marked up. |
| mentionSupportingReceipts | boolean | non | When 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ètre | Type | Requis | Description |
|---|---|---|---|
| preparationId | string | oui | Short-lived ID returned by prepare_client_invoice. |
| confirmTax | boolean | non | True only after the user confirms the displayed tax label and rate. |
| operationId | string | non | Optional 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ètre | Type | Requis | Description |
|---|---|---|---|
| invoiceId | string | oui | Stable invoice ID from list_client_invoices. |
| paidDate | string | oui | Calendar-valid payment date in YYYY-MM-DD format. |
| paidAmount | number | non | Optional amount received. |
| paidVia | string | non | Optional 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| receiptId | string | non | Optional Receipt ID for one expense. |
| dateRange | object | non | Optional open-ended or closed window to search for split expenses. Supply startDate, endDate, or both; supplied bounds are inclusive YYYY-MM-DD dates. |
| onlySplit | boolean | non | Return only expenses with active splits (default true). Set false to inspect an unsplit Receipt ID. |
| limit | number | non | Max 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| period | string | non | Calendar 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ètre | Type | Requis | Description |
|---|---|---|---|
| period | string | non | Calendar month YYYY-MM; defaults to the last completed UTC month. |
| page | integer | non | Page number; starts at 1. Use nextPage from the previous result. |
| limit | integer | non | Client 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| dateRange | object | non | Optional open-ended or closed window to narrow results. Supply startDate, endDate, or both; supplied bounds are inclusive YYYY-MM-DD dates. |
| limit | number | non | Maximum 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| clientName | string | non | Optional 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ètre | Type | Requis | Description |
|---|---|---|---|
| clientEmail | string | non | Accountants: accepted client email only. |
| limit | integer | non | Result cap (default 3, max 10), not an exhaustive list; see remaining. |
| offset | integer | non | Skip this many results to page through remaining trips. |
| mode | enum: "episode" | "area" | non | episode (default): trips. area: every expense located in the area. |
| area | string | non | Country or city for mode area, e.g. "Denmark" or "Copenhagen, Denmark". Ambiguous places return candidates to ask about. |
| destination | string | non | Trip the user named, e.g. "Copenhagen". Several matches return them for clarification; never guess. |
| includePossibleAdditions | boolean | non | Default false. True only when the user explicitly asks to include the separate possible additions in the selection. |
| dateRange | object | non | Inclusive period to find overlapping trips; returns full trip membership, including boundary dates outside the period. |
| refresh | boolean | non | Recheck current recorded expenses for suggested trips; never change their tags. |
| includeCandidates | boolean | non | Default 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ètre | Type | Requis | Description |
|---|---|---|---|
| group | object | non | The user-named destination group to apply to every eligible selected expense. |
| selection | object | non | Exact expenses returned by search_expenses and approved for this bounded operation. |
| operationId | string | oui | Stable idempotency key generated once for the preview and reused unchanged. |
| confirm | boolean | non | Omit/false for preview; true only after explicit approval. |
| approveNewGroup | boolean | non | True only when the preview says a new group is required. |
| replaceExistingTags | boolean | non | Default false keeps existing assignments; true only after the user explicitly asks to replace; preview shows both. |
| createReport | boolean | non | Create a report from the exact eligible grouped expenses. |
| reportTitle | string | non | Optional title when createReport is true; otherwise ExpenseBot derives one from the group. |
| excludePersonal | boolean | non | Exclude Personal-tagged and Personal-category expenses from both grouping and the exact report. |
| excludedTags | array<string> | non | Existing groups to exclude before preview and grouping. |
| excludedCategories | array<string> | non | Expense categories to exclude before preview and grouping. |
| status | boolean | non | Read operation status using operationId. |
| undo | boolean | non | Undo 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ètre | Type | Requis | Description |
|---|---|---|---|
| expenseId | string | oui | Exact full Receipt ID from Column Q, returned as expenseId by search_expenses. |
| fields | object | oui | Partial update object. Include one or more of these optional keys; omit every field that should remain unchanged. |
| expectedPaidWith | object | non | |
| confirm | boolean | non | Omit 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ètre | Type | Requis | Description |
|---|---|---|---|
| change | object | non | Exactly one correction; its type selects the required value field. |
| selection | object | non | Exact expenses from search_expenses approved for this correction. |
| operationId | string | oui | Idempotency key generated once and reused unchanged. |
| confirm | boolean | non | Omit/false for preview; true only after explicit approval. |
| status | boolean | non | Read status by operationId. |
| undo | boolean | non | Undo 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ètre | Type | Requis | Description |
|---|---|---|---|
| action | enum: "omit" | "restore" | non | omit hides rows from reports, insights and exports; restore puts omitted rows back. |
| expenseIds | array<string> | non | Full expenseId (Column Q Receipt ID) values from search_expenses; never dates, rows or merchants. |
| operationId | string | oui | Idempotency key; generate once and reuse unchanged to confirm. |
| reason | string | non | The user's own short reason, shown in the Omitted view. Never invent one. |
| confirm | boolean | non | Omit/false previews only; true only after the user approves the preview. |
| status | boolean | non | Read status by operationId. |
| undo | boolean | non | Undo 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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Natural 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ètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | Item 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.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://mcp.expensebot.ai/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http mcp-server-auth https://mcp.expensebot.ai/mcpCustomize > Connectors > + Add > Add custom connector ; Name : mcp-server-auth ; URL : https://mcp.expensebot.ai/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : mcp-server-auth ; Server URL : https://mcp.expensebot.ai/mcp ; Create as a plugin{
"mcpServers": {
"mcp-server-auth": {
"url": "https://mcp.expensebot.ai/mcp"
}
}
}{
"mcpServers": {
"mcp-server-auth": {
"type": "http",
"url": "https://mcp.expensebot.ai/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"mcp-server-auth": {
"url": "https://mcp.expensebot.ai/mcp"
}
}
}{
"mcpServers": {
"mcp-server-auth": {
"httpUrl": "https://mcp.expensebot.ai/mcp"
}
}
}[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
[ExpenseBot — L’Atlas](https://latlas.dev/mcp/io.github.TotesMagotes/mcp-server-auth)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.