Skip to main content
Glama

reference-data

invoice_payable

Read-onlyIdempotent

PAID ($0.40). Is this invoice overdue, by how many days, and how much statutory late-payment interest is owed (Actual/365 simple, rate and workings cited). Late-payment regime: none here; statutory interest only: BO, BR, BZ, CL, CO, CR, EC, HN, MX, NI, PA, SV, TT, UY. Send due_date, or invoice_date with terms_days. Anything we cannot answer in full is refused free (coverage_gap, no_charge). Shares the 3 free calls per IP per day with the answer tools. Pass api_key if you have one (card checkout at /pricing); otherwise the result is the x402 payment requirement. Optional receipt (boolean, default false): on a paid success, include an Ed25519 answer receipt at no extra USDC. An answer receipt is not a series certified extract (GET /v1/certified/{country}/{series} is $0.10 and is not an MCP tool) and is not legal advice. Verify with verify_answer_receipt against /certified/public-key.

Input Schema

NameRequiredDescriptionDefault
as_ofNoYYYY-MM-DD payment date or day asked about; default today
debtorNoDefault business
api_keyNoAPI key (bypasses x402; metered for invoicing)
countryYesISO country code
receiptNoDefault false. When true, a paid success includes an Ed25519 answer receipt (kind answer_receipt) at no extra USDC. Unpaid 402 and free refusals do not include one. Not a series certified extract (GET /v1/certified/{country}/{series} at $0.10; that SKU is not an MCP tool).
due_dateNoYYYY-MM-DD contractual due date
principalYesUnpaid amount, local currency
terms_daysNoAgreed payment term in days
invoice_dateNoYYYY-MM-DD; with terms_days instead of due_date

Output Schema

NameRequiredDescriptionDefault
jobNo
errorNoPresent on a free refusal or error; no charge
statusNo
evidenceNo
no_chargeNo
price_usdNo
disclaimerNo
how_to_payNo
bind_seriesNo
explanationNo
x_next_bindNo
http_endpointNo
payment_requiredNotrue when the call needs payment; how_to_pay explains x402 or card

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is low, yet the description adds substantial non-schema behavior: $0.40 pricing, x402 payment requirement vs api_key bypass, free refusals with no charge on coverage gaps, a shared 3-free-calls-per-IP-per-day quota, and receipt semantics. It also clarifies the receipt is not a certified extract and not legal advice, which prevents misuse of the returned artifact.

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?

Most sentences carry load-bearing information about payment, refusals, quotas, and receipts, so it is not padding. But it opens with a price tag rather than the tool's purpose, and the certified-extract and legal-advice caveats could be compressed, making it dense and hard to scan for an agent.

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?

An output schema exists, so return values need no explanation, and annotations cover the safety profile. The description handles the remaining agent-facing concerns (payment path, coverage-gap refusals, quota sharing, receipt verification via verify_answer_receipt). It is close to complete, with only minor gaps such as the effect of the debtor and as_of inputs, which the schema already documents.

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 100%, so the schema already documents all nine parameters and a baseline of 3 would be defensible. The description still adds meaning the schema does not carry cleanly: the due_date-versus-(invoice_date + terms_days) choice, the api_key bypass effect, and that receipt defaults to false and only appears on a paid success.

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?

The description states a specific compound job: determine whether an invoice is overdue, by how many days, and the statutory late-payment interest owed under Actual/365 with rate and workings cited. This is far more than a restatement of the name and separates it from generic calculation siblings. It stops short of naming the sibling it most overlaps with (compute_statutory_interest), so sibling differentiation is only partial.

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?

It gives real invocation conditions ('Send due_date, or invoice_date with terms_days') and states that unanswerable cases are refused free with coverage_gap, which tells the agent what to expect. However, it never says when to prefer this tool over compute_statutory_interest or the other interest/deadline siblings, leaving routing 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