Skip to main content
Glama

Multi Books

List invoices

invoices_list
Read-only

List a company's invoices, newest first - all of them, or those of one status - 25 to a page, for one company or several and at most four at once, read live from FreeAgent, Xero, QuickBooks or Zoho Books; more marks a company holding further pages. An invoice whose words screen as a prompt attack keeps its place by its id, marked withheld; a company that could not be read stands under unread with why, as bank_accounts_list answers it. A Xero invoice carries Xero's own fields, its InvoiceID answered as id. On Xero open is approved and not yet due, and overdue approved and past due. A draft there is one not yet approved. A QuickBooks invoice carries QuickBooks' own fields, its Id answered as id. QuickBooks keeps no status, so on QuickBooks open is still owing and not yet due, overdue still owing and past due, and the rest settled in full, each record carrying that status computed from its Balance and DueDate - none where it totals nothing, as QuickBooks keeps a voided one. A QuickBooks company asked for drafts lists none, saying under none: QuickBooks keeps no draft invoice: an invoice posts to the books when it is created. A Zoho Books invoice carries Zoho's own fields, its invoice_id answered as id. On Zoho Books the statuses map to Zoho's own, open meaning unsettled and not yet overdue in Zoho, open_or_overdue Zoho's Unpaid, and each other status the Zoho status of the same name; each record carries Zoho's own status. customer, from, to, minTotal and maxTotal narrow it, each optional and beside status: customer names the customer's contact in each company to read, by the id contacts_list gives it there, and those companies alone are read. Each program narrows it on its own server, save an invoice's date on FreeAgent and its total on FreeAgent and Zoho Books, kept here from the list read in its program's order up to its first 1,000 records; a company whose read stopped there before the list's end carries readTo, the records read.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "invoices_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOnly those dated on or before this day, as 2026-06-30.
fromNoOnly those dated on or after this day, as 2026-04-01.
pageNoWhich page of each company's list; 1 where omitted.
statusNoOnly the invoices of this status; all where omitted.
customerNoOnly the invoices of this customer, by its contact in each company to read; those companies alone are read, companies left out.
maxTotalNoOnly those whose total, in their own currency, is at most this; the same as minTotal for one amount.
minTotalNoOnly those whose total, in their own currency, is at least this, as 100 or 99.5.
companiesNoThe ids companies_list gives the companies to read; every company where omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover safety (readOnlyHint true, non-destructive, closed-world), but the description goes well beyond them: page size, the 'more'/'readTo' truncation markers at 1,000 records, the prompt-injection withholding behaviour, the 'unread' error envelope, and the fact that date and total filters are applied client-side for FreeAgent and Zoho Books. Return-record shape is asserted only by reference ('carries Xero's own fields'), which keeps this off a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and paging are front-loaded, and most content (provider status mappings, truncation rules) is genuinely useful rather than filler. However, it is delivered as a handful of enormous semicolon-chained sentences that are hard for an agent to parse, and the per-provider status paragraphs could be tightened considerably.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter, multi-provider list tool with no output schema, this is close to complete: it covers filtering semantics, pagination, truncation, per-provider status computation, and error reporting. The main residual gap is that returned invoice fields are delegated to each provider's own schema rather than described.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents formats and examples, but the description adds real meaning: customer entries pair a company with that company's contact id from contacts_list and silently drop companies not named, and minTotal/maxTotal are compared in each invoice's own currency with local filtering caveats. That is genuine value beyond the schema, though the provider-conditional behaviour could be stated more compactly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource plus scope: 'List a company's invoices, newest first - all of them, or those of one status'. The 25-per-page, read-only, multi-provider nature is unmistakable, so an agent can distinguish it from invoices_get or recurring_invoices_list by the verb alone. It never routes explicitly to those siblings, which keeps it short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear operative context: filters are all optional and usable beside status, the customer filter restricts the read to the named companies, and provider-specific status meanings tell the agent what to expect for each backend. There are no explicit exclusions or named alternatives (e.g. when to prefer invoices_get or a payments tool), so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.