Skip to main content
Glama

US national debt, Treasury data: total public debt outstanding today and its change

econ_national_debt
Read-only

US national debt from the Treasury's Debt to the Penny dataset: total public debt outstanding, debt held by the public and intragovernmental holdings (USD) at the latest record date, the change over 1 day, 30 days and 1 year, and a daily history (1-365 days). US federal data, public domain; the snapshot's record date is in the answer. Use when an agent needs the current US federal debt figure, its trend, or a daily series for a chart or brief. Example: days=30. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
daysNoDays of daily history to return, 1-365 (default 30)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the supplied annotations (readOnlyHint=true, destructiveHint=false, idempotentHint=false), the description adds crucial billing context: $0.01/call via x402 USDC or card key, first 25 free, failed calls free. It also explains that repeats are not free, aligning with idempotentHint=false. It does not describe rate limits or full response shape, so a 4 is appropriate.

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?

The definition is front-loaded with the core resource and data elements, then usage, then pricing. It is dense but every sentence contributes: dataset identity, fields, use cases, example, pricing, and safety note. Slight redundancy in repeating the date range and default, but overall efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only single-parameter tool with full schema coverage and clear annotations, the description is complete: it states what is returned, when to use it, the cost model, and that the snapshot’s record date appears in the answer. No output schema exists, yet the description adequately explains the return contents.

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%, and the schema already documents `days` as 1-365 with default 30. The description repeats the range and adds an example (`days=30`), but does not add meaningful semantics beyond what the schema provides. Baseline 3 is correct when the schema does the heavy lifting.

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?

The description names the exact dataset (Treasury Debt to the Penny) and specifies the returned quantities: total public debt outstanding, debt held by the public, intragovernmental holdings, changes over 1/30/365 days, and a daily history. It clearly distinguishes this from siblings like econ_gdp, econ_inflation, and econ_treasury_rates by focusing exclusively on national debt figures.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when to use it: 'when an agent needs the current US federal debt figure, its trend, or a daily series for a chart or brief.' The example `days=30` reinforces the typical call. However, it does not name an alternative or state when not to use this tool, which keeps it from a 5.

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