Skip to main content
Glama

U.S. Treasury Fiscal Data MCP

Get U.S. national debt to the penny

get_national_debt
Read-onlyIdempotent

Fetch daily U.S. national debt records from the Treasury Debt to the Penny dataset, sorted newest first. Returns debt held by the public, intragovernmental holdings, and total public debt outstanding.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_national_debt"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1 to 100). Default 1.
limitNoNumber of daily records to return (1 to 100). Default 10.
end_dateNoOptional latest record date in YYYY-MM-DD format (e.g. "2026-11-30").
start_dateNoOptional earliest record date in YYYY-MM-DD format (e.g. "2026-01-01").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description usefully adds the newest-first ordering and the three debt categories returned, but says nothing about data publication lag, pagination totals, or rate limits for a live government dataset.

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?

Two sentences, both earning their place: the first establishes source, scope, and ordering; the second enumerates the returned measures. No filler, and the key identification information is front-loaded.

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?

With no output schema, the description carries the burden of describing return values and does so by naming the three debt fields. Combined with the fully documented input schema and complete annotations, an agent has nearly everything needed; only edge-case behavior (empty results, date-range versus page interaction) is unaddressed.

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%, with page, limit, start_date, and end_date all documented including ranges and formats, so the baseline of 3 applies. The description adds no further meaning about how the date range interacts with paging or what happens when no records match.

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 gives a specific verb and resource ('Fetch daily U.S. national debt records') and names the underlying dataset ('Treasury Debt to the Penny'), plus the sort order and returned fields. It is clearly distinct from siblings like get_federal_revenue_spending or get_treasury_securities_auctions, though it never explicitly routes the agent away from them.

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 can infer this is the tool for historical daily debt totals, and the sort order suggests a 'latest figures' use case. There is no explicit when-to-use/when-not-to-use guidance and no mention of the sibling tools covering revenue, spending, or rates.

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.