MCP · Bills
Spend per vendor
Totals spend per supplier from reviewed bills, largest first within each currency, over an optional date range.
Description for models
Sent verbatim in tools/list. It's written for the model, so it says when to use the tool.
Arguments
Only bills whose invoice date is on or after this date (YYYY-MM-DD). A bill with no readable invoice date is bounded by the date it was uploaded instead.
Only bills whose invoice date is on or before this date (YYYY-MM-DD). A bill with no readable invoice date is bounded by the date it was uploaded instead.
Only this vendor: spend for vendors whose confirmed name contains this text (case-insensitive). Use it to ask about one supplier, including one outside the top 25.
Number of vendors to return per currency (default 10, max 25)
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.