Skip to main content
Glama

treasury_debt

Read-onlyIdempotent

US total public debt outstanding (the 'Debt to the Penny' series from the US Treasury). Returns the most recent figure plus history, split into debt held by the public and intragovernmental holdings. Keyless, official Treasury data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax rows to return.
end_dateNoLatest record date (YYYY-MM-DD).
start_dateNoEarliest record date (YYYY-MM-DD).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, so the bar is lower. The description adds genuinely new context by noting the data is keyless and officially sourced from the Treasury, which tells the agent no credentials or setup are needed and the source is authoritative.

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?

Three tight sentences with zero filler. The core identity and returned shape are front-loaded before the supporting provenance note.

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?

For a three-parameter read-only tool with no output schema, the description usefully describes what comes back (recent figure plus history, with the two debt components split out). It does not clarify default behavior when no date range is supplied, but that is a minor gap.

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 limit, start_date, and end_date are fully documented in the schema itself. The description adds no format, default, or interaction detail (e.g., what happens if no dates are given), so it sits at the baseline for a fully-covered schema.

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?

Names the specific series ('Debt to the Penny'), the issuing body, and the exact content returned (most recent figure plus history, split into public debt and intragovernmental holdings). An agent can distinguish this from treasury_auctions, treasury_cash_balance, or treasury_interest_rates without opening the schema.

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?

The description implies the tool's use (US total debt data, recent plus historical), but offers no explicit when-to-use framing, no mention of date-range scoping intent, and no pointer to alternative treasury tools for related questions. Usage is inferable rather than stated.

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.