Skip to main content
Glama

get_aging_outstanding

Read-onlyIdempotent

Outstanding balance per relation split over four age groups, as the accounting system's own ageing analysis reports it (A/R or A/P). Amounts are in the administration currency (the currency / currency_code column where present, otherwise the division default). Each group carries the label the accounting system gave it — the boundaries are per-administration configuration, so never assume 30/60/90 days. Amounts are in each relation's own default currency.

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

Input Schema

NameRequiredDescriptionDefault
kindNoWhich side of the book (default "receivable").
tenant_idNoThe tenant to query. Required when you have access to more than one tenant; may be omitted when you have exactly one. Call list_tenants for the ids.
division_idNoRestrict the answer to one administration. Omit to cover every administration you have access to. It can only narrow your access, never widen it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / division_id / description
      Previous value: -"Restrict the answer to one administration (Exact Online division). Omit to cover every administration you have access to. It can only narrow your access, never widen it."New value: +"Restrict the answer to one administration. Omit to cover every administration you have access to. It can only narrow your access, never widen it."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely useful behavior — bucket boundaries are per-administration configuration and bucket labels come verbatim from the accounting system — but then contradicts itself on currency, first saying amounts are in the administration currency and finally saying they are in each relation's own default currency. The agent cannot resolve which is true.

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

Conciseness4/5

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

Front-loads the purpose and output shape in the first clause, then layers configuration caveats. It is reasonably tight, though the currency point is restated in two mutually inconsistent sentences, which is wasted-and-harmful wording rather than pure conciseness.

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

Completeness3/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 does the heavy lifting of describing the return shape (one row per relation, four labeled groups, administration-scoped amounts), which is good. However, the unresolved currency statement leaves a material ambiguity about what the numbers mean, and nothing is said about row volume, ordering, or empty-result behavior.

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 description coverage is 100%, so all three parameters (kind, tenant_id, division_id) are already documented in the schema, including the default for `kind` and the access-narrowing rule for `division_id`. The description adds no parameter-level detail beyond what the schema provides, so the baseline 3 applies.

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?

States a specific resource and shape: outstanding balance per relation, split into four age groups, with the A/R vs A/P side selectable via `kind`. An agent immediately knows what comes back. It stops short of differentiating itself from siblings like get_receivables or get_payables, so 5 is not warranted.

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?

Offers an implied-use caution ('never assume 30/60/90 days') that shapes how the agent interprets results, but never says when to choose this tool over get_receivables/get_payables or what preconditions to satisfy. Usage must be inferred from the tool's shape.

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