Skip to main content
Glama

Safe Rate

Get the federal debt statement

get_treasury_debt
Read-onlyIdempotent

Get the U.S. federal debt from the monthly Treasury statement: debt held by the public, total public debt outstanding, and its composition, plus the STRIPS float on request. These two headline figures differ by trillions: debt held by the public excludes intragovernmental trust-fund holdings.

Input Schema

NameRequiredDescriptionDefault
onNoAny date; the month-end statement in force on it is returned, so a mid-month date gives the prior month-end. Defaults to today.
include_stripsNoAlso return how much of the debt is held as STRIPS — separated coupon and principal payments traded as zero-coupon instruments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false, and destructiveHint=false, so the safety profile is covered and the description need not repeat it. The description adds provenance (monthly Treasury statement) and interpretive context showing the two figures differ by trillions and that debt held by the public excludes intragovernmental trust-fund holdings. It stops short of return shape, units, or update lag, which are the remaining behavioral gaps.

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 sentences, front-loaded with the primary purpose and the enumerable payload, then a second sentence whose whole job is to prevent the most likely analytical error (confusing the two headline figures). Slightly dense with the colon-list and the em-dash gloss, but no sentence is filler.

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 read-only, two-optional-parameter tool with no output schema, the description covers the essential ground: what series is returned, that it comes from the monthly statement via the schema's month-end rule, what the optional flag yields, and how to read the two headline numbers. Units and any lag in the published statement are the only notable omissions, and an agent can still call it correctly without them.

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 both parameters (the 'on' date and include_strips) are already fully documented, which sets the baseline at 3. The description does add a small amount: 'plus the STRIPS float on request' signals that the STRIPS figure is the opt-in extra gated by include_strips, and it glosses what the flag unlocks, but it introduces no date-format or default detail beyond the 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 a specific verb (Get) and a specific resource (U.S. federal debt from the monthly Treasury statement), then enumerates the actual data elements returned: debt held by the public, total public debt outstanding, composition, and STRIPS float. That resource is plainly distinct from the other treasury siblings (curve, index, rate history, security), so an agent can route without opening a 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?

Usage is only implied: an agent infers this is the tool for headline debt figures, but there is no explicit when-to-use, no statement of when another tool (e.g. get_treasury_curve for rates, get_treasury_index, list_treasury_securities) is the better choice, and no mention of what question this cannot answer. The explanation of the two headline figures helps interpretation of results rather than selection of the tool.

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