Skip to main content
Glama

Multi Books

Read who owes the company

reports_aged_receivables
Read-only

Read who owes a company and how late: each contact, by its id and name, with what its open and overdue invoices still owe 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 invoice - 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 receivables 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_receivables"
  }
}

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

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

Annotations only mark it read-only, non-destructive, and non-open-world; the description adds substantial behavior: computed versus native aging by provider, base-currency treatment for Zoho Books, unread company handling, and the Zoho reports authentication failure mode. This is exactly the kind of context annotations cannot carry.

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 opening sentence is front-loaded and identifies the resource immediately. However, the body is a dense run-on paragraph with many parenthetical and semicolon-linked details, making it harder to scan than necessary for a tool of this complexity.

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 return-shape burden and does so: it describes contact-level buckets and totals per currency, QuickBooks' section/row/cell structure, and unread/error handling. That is sufficient for an agent to call and interpret it.

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 documents the single optional companies array at 100% coverage. The description adds a constraint absent from the schema—at most four companies at once—which meaningfully affects invocation, though it does not elaborate item semantics beyond that.

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?

States a specific verb-resource pair ('Read who owes a company') and names the aging buckets, making the receivables scope clear. It implicitly distinguishes itself from sibling reports_aged_payables by focusing on who owes the company rather than who the company owes.

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?

Explains the tool's scope and a key usage limit ('For one company or several and at most four at once'), plus provider-specific behavior that affects when output is computed or native. It does not explicitly name alternatives such as reports_totals_by_contact or reports_aged_payables, so routing guidance is clear but not exhaustive.

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.