Skip to main content
Glama

get-aged-receivables

Read-only

Get the original aged receivables report for a company: outstanding amounts customers owe as of dateTo, grouped by contact into aging buckets. Built from documents still unpaid at that date; returns only report. Use get-aged-receivables-v2 for the ledger-based report that also returns exchange rates, or get-overdue-invoices for past-due buckets only.

Input Schema

NameRequiredDescriptionDefault
idYesCompany ID
dateToNoAs-of date for the aging (YYYY-MM-DD). Defaults to today.
dateFromNoNot used: the aging report runs as of dateTo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / dateFrom / description
      Previous value: -"Start date (YYYY-MM-DD)"New value: +"Not used: the aging report runs as of dateTo."
    • changedInput schema / properties / dateTo / description
      Previous value: -"End date (YYYY-MM-DD)"New value: +"As-of date for the aging (YYYY-MM-DD). Defaults to today."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds meaningful context beyond that: the report is built only from documents still unpaid at dateTo, and it returns only the report (no exchange rates). It stops short of describing pagination or bucket definitions, but this is solid supplemental disclosure.

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

Conciseness5/5

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

Two sentences with zero padding; the primary purpose is front-loaded and the sibling routing follows. Every clause carries information, including the useful 'returns only report' distinction.

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?

With no output schema, the description takes on the job of describing the return shape, and it does so ('grouped by contact into aging buckets', 'returns only report'). Combined with full schema coverage and supporting annotations, an agent has enough to call it correctly; only finer details of bucket composition are left implicit.

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

Parameters3/5

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

Schema coverage is 100%, so all three parameters are already documented in the schema, including the note that dateFrom is unused. The description reinforces the dateTo as-of semantics but adds no format or syntax detail beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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 (Get) and resource (aged receivables report), and immediately defines the semantics: outstanding amounts owed as of dateTo, grouped by contact into aging buckets. It explicitly distinguishes itself from get-aged-receivables-v2 and get-overdue-invoices, so an agent can tell them apart without opening any schema.

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

Usage Guidelines5/5

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

Provides explicit routing rules: use get-aged-receivables-v2 for the ledger-based report that also returns exchange rates, or get-overdue-invoices for past-due buckets only. This names both alternatives and the conditions that select each, leaving nothing to inference.

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.

Resources