Skip to main content
Glama

mechacut

money_aging

Due-date aging of receivables: invoices (due ISO day, amount and optional paid as decimal strings) + mandatory as_of -> buckets 1-30/31-60/61-90/90+ (default [30,60,90], left-open right-closed on days_overdue), current, paid. The suite never reads a wall clock into a ledger. Overpaid invoice is a refusal, not a negative bucket. Free.

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": {
      "invoices": "<invoices>",
      "as_of": "<as_of>"
    },
    "name": "money_aging"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofYesISO YYYY-MM-DD, mandatory
bucketsNostrictly increasing positive int day edges, default [30,60,90]
invoicesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that overpaid invoices produce a refusal (error) rather than a negative bucket, that no wall-clock date is used, and that bucket edges are left-open/right-closed on days_overdue. It stops short of describing the response envelope's structure, but the bucket labels imply it.

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-loaded and dense: inputs and outputs come first, then constraints. Most sentences earn their place, though the trailing 'Free.' is cryptic without context and the wall-clock remark reads as suite-level editorializing rather than tool-specific guidance.

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?

There is no output schema, so the description must convey return values, and it does via the named buckets plus 'current' and 'paid'. Combined with the error-case disclosure and parameter semantics, an agent has enough to call it correctly; only the exact response shape remains unstated.

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?

Schema coverage is 67%, and the description fills key gaps: it clarifies that due and paid are ISO days and amount/paid are decimal strings, that as_of is mandatory, and that buckets default to [30,60,90] with left-open/right-closed edge semantics — a meaning the schema's 'strictly increasing positive int day edges' does not convey.

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 verb and resource: 'Due-date aging of receivables', and spells out the input (invoices with due/amount/paid) and output (buckets 1-30/31-60/61-90/90+, current, paid). It is clearly an aging/bucketing calculator, distinguishable in substance from siblings like money_amortize or money_discount, though it never names an alternative explicitly.

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?

'mandatory as_of' and 'The suite never reads a wall clock into a ledger' tell the agent it must supply a reference date rather than assume today, which is real usage guidance. However, there is no statement of when to choose this tool over a sibling, and no preconditions or exclusions beyond the overpaid case.

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.