Skip to main content
Glama

Multi Books

List payments

payments_list
Read-only

List a company's payments, made and received, newest first, 25 to a page, for one company or several and at most four at once, read live from Xero, QuickBooks or Zoho Books; more marks a company holding further pages. A payment 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 payment carries Xero's own fields, its PaymentID answered as id. A Xero payment is against an invoice, a bill, a credit note, an overpayment or a prepayment, PaymentType telling them apart, a payment Xero holds deleted left out. A Zoho Books organisation lists the payments it received and made, up to 12 of each to a page, more marking either holding more and page carrying both on, each carrying Zoho's own fields, its payment_id answered as id, and party telling them apart: customer for one received, supplier for one made. A QuickBooks company lists the payments it received from customers, then those it made to suppliers, each newest first, carrying QuickBooks' own fields, its Id answered as id, and type: received or made. A FreeAgent company lists none, saying under none: FreeAgent keeps a payment as the explanation of the bank line it moved on, naming the invoice or bill it settles as paid_invoice or paid_bill: bank_transactions_list lists them.

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": "payments_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoWhich page of each company's list; 1 where omitted.
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

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/destructive; the description adds substantial behavior beyond them: per-company pagination limits, a "more" marker, prompt-attack screening that withholds payment text but keeps the id, per-company unread failures with reasons, and exclusion of Xero-deleted payments. These are non-obvious traits an agent needs to interpret results correctly.

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?

Nearly every sentence carries real information, but the content is delivered as a few very long run-on sentences with provider details interleaved rather than front-loaded or structured. Pagination, withholding, unread handling, and provider field mappings would scan far faster as separated points.

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

Completeness5/5

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

For a two-parameter read tool with a fully documented schema and no output schema, the description covers return shape per provider, id field name mapping, discriminator fields (PaymentType, party, type), and error surfacing under unread. Nothing an agent needs to call and interpret it is missing.

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 baseline is 3, but the description adds meaning the schema lacks — notably the hard cap of four companies per call (the schema has minItems 1 with no maximum) and the provider-specific meaning of page for Zoho, where one page advances both received and made lists.

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

Purpose5/5

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

The first clause specifies the verb and resource precisely: "List a company's payments, made and received, newest first, 25 to a page," including ordering and default page size. It also scopes the resource per provider (Xero/QuickBooks/Zoho/FreeAgent), so an agent can tell this apart from bank_transactions_list or invoices_list without opening a schema.

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

Usage Guidelines3/5

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

Guidance is implied rather than stated: it routes away for FreeAgent payments ("bank_transactions_list lists them") and points to bank_accounts_list for the unread shape, which is partial when-to-use routing. There is no explicit statement of when an agent should prefer payments_list over invoices_list or bank_transactions_list in the common cases.

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.