Skip to main content
Glama

Multi Books

Read whom the company owes

reports_aged_payables
Read-only

Read whom a company owes and how late: each supplier, by its id and name, with what its open and overdue bills still owe, a refund a supplier still owes the company standing negative and lowering its row, in each currency apart - not yet due, and 1-30, 31-60, 61-90 and over 90 days past due, as at today - and the company's totals in each currency. FreeAgent's and Xero's APIs age no whole book - Xero's ages one contact at a time - so there this is computed from every open and overdue bill - on Xero every approved one still owing, credit notes, overpayments and prepayments not yet allocated left out - and marked computed. On Zoho Books it is Zoho's own ageing summary by due date, never computed, each contact's figures and the totals in the organisation's base currency, which companies_list names. On QuickBooks it is QuickBooks' own aged payables summary as at today, in the company's home currency, its columns Current, 1 - 30, 31 - 60, 61 - 90, 91 and over and Total, never computed: report, from, to, currency, columns - their titles - and rows in QuickBooks' order, each with cells - its values in column order - and id, the QuickBooks record its first cell names, where it names one; a section carries header, its own rows and summary. For one company or several and at most four at once, read live from FreeAgent, Xero, QuickBooks or Zoho Books. A company that could not be read stands under unread with why, as bank_accounts_list answers it. A Zoho Books organisation whose sign-in Zoho refuses its reports stands under unread as zoho_reports, its note saying to add Zoho Books again signed in to Zoho as the same account.

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

Input Schema

NameRequiredDescriptionDefault
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/5.0
Behavior5/5

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

Beyond the read-only annotations, the description discloses provider-specific behavior: computed versus native ageing, Xero exclusions for credit notes and overpayments, Zoho base-currency handling, QuickBooks column/row structure, and unread error states such as zoho_reports. This is unusually rich behavioral context for an agent.

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?

The purpose is front-loaded, but the description is a single dense run-on paragraph with nested provider-specific clauses that are hard to parse. Much of the information is relevant, yet it is not structured for quick scanning.

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?

With no output schema, the description carries the full burden of explaining return values and does so for each provider, including QuickBooks section/rows/cells, Zoho contact/base-currency behavior, and unread error handling. It is complete enough for an agent to know what to expect from a successful and failed read.

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?

The schema already fully documents the companies parameter and its default behavior. The description adds a useful cardinality constraint not present in the schema: at most four companies can be read at once.

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?

The description states a specific verb and resource: "Read whom a company owes and how late," then details supplier rows, ageing buckets and currency totals. It clearly distinguishes the payable direction from receivables by substance, though it does not explicitly name reports_aged_receivables as the alternative.

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?

It gives useful context that the report covers one or several companies at most four at once and is read live from four named accounting platforms. However, it does not explicitly say when to use this versus reports_aged_receivables, reports_totals_by_contact, or other reporting siblings.

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.