Skip to main content
Glama
Beankeeper

Beankeeper

Official

document_aging

Read-only

Read due-date aging for typed invoices and bills per document and party, with optional as-of date and kind filters, to identify overdue balances.

Instructions

Read due-date aging for typed invoices and bills only, per document and party. Supply optional as_of and kind. For journal charges on an account by posting date, use report kind aging.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "company": "<company>"
    },
    "name": "document_aging"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
as_ofNo
companyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations only declare readOnlyHint=true, and the description is consistent with that while adding real behavioral context: the result is scoped per document and party and deliberately excludes journal charges. It stops short of describing the aging output itself (buckets, totals, ordering), so it is strong but not complete beyond the annotations.

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?

Two compact sentences, with the core scope stated first and the routing guidance second, so nothing is buried. Minor friction comes from jargon like 'typed' documents, which costs a beat of parsing but does not waste sentences.

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?

There is no output schema, so the description bears responsibility for conveying what comes back, and it only states granularity ('per document and party') without describing the aging structure, buckets, or whether totals are included. Enough is present to route the call correctly, but a consumer would still be guessing about the response.

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 0%, so the description must carry the parameter burden, and it only partly does: it identifies as_of and kind as optional and leaves company as the implied required input. It does not explain what as_of means operationally (e.g. default to today) or restate the allowed kind values, though the schema does attach descriptions to the enum constants.

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 description pairs a specific verb ('Read') with a specific resource ('due-date aging') and bounds the scope sharply ('typed invoices and bills only, per document and party'). It also names a distinct alternative ('report kind aging') for the journal-charge case, so an agent can separate the two without opening either 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?

It gives an explicit exclusion ('typed invoices and bills only') and a concrete alternative with the condition that selects it ('For journal charges on an account by posting date, use report kind aging'). Both the when-to-use and the when-to-use-something-else are stated rather than implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools