MCP · Invoices
Summarize invoices
Counts outgoing sales invoices by draft, unpaid, overdue and paid, or lists the invoices in one of those buckets.
Description for models
Sent verbatim in tools/list. It's written for the model, so it says when to use the tool.
Arguments
Maximum rows to return (default 200, which is also the maximum). Omit it to get every match; the response says whether any rows remain.
Continuation cursor: the nextCursor a previous response reported. Pass the same filters alongside it.
Only invoices whose number or customer name contains this text (case-insensitive), such as "2026-041" or "Acme". Use it to answer whether one invoice was paid; it searches every bucket unless status is also given.
List the invoices in this bucket instead of returning the summary counts
Added by the server
On every tool that acts on one companyThe id of the company this applies to. This connection covers a single company, which is filled in for you, so you can leave this out.
Result
content[0].text, starting with Company: and the company name.isError: true. The text says what went wrong and what to tell the user.workspace argument, the server asks which company the call is for. A client that can't ask gets an error that lists the companies.Tools return plain text with no output schema. This example follows the tool's real format, but the values are made up.