Skip to main content
Glama

Treasury Debt Payment Quote

treasury_debt_quote
Read-onlyIdempotent

Returns the payment terms for https://horizonpulse.dev/api/treasury/debt (base $0.01; USDC on Base only); this tool never runs the check or pays. Pay the 402 over HTTP with x402 v2: GET with no parameters. U.S. Treasury debt to the penny: total, held by the public, and intragovernmental, with the 1-day, 30-day and 1-year change, plus the Daily Treasury Statement Treasury General Account (TGA) operating-cash balance and its daily change. No parameters. Source: api.fiscaldata.treasury.gov. debtUsd is USD. cashUsdMillions is millions of USD. Not a forecast. USDC on Base only.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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, but the description adds real value the annotations cannot: exact price ($0.01 base), accepted currency and chain (USDC on Base only), the explicit statement that it does not execute the check or payment, and the payment protocol/verb. It also clarifies units (debtUsd in USD, cashUsdMillions in millions) and negatives ('Not a forecast'). It stops short of describing what the 402 response body looks like.

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?

Key information (it's a quote, the price, the protocol) is front-loaded, which is good, but the text repeats itself: 'No parameters' appears twice and 'USDC on Base only' appears twice in a compact block. The payload-field roster is dense but earns its place given no output schema.

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 does the work of naming the returned fields (total, held by public, intragovernmental, 1d/30d/1y change, TGA balance and daily change) and their units, plus the data source. An agent knows what it will get once the 402 is paid. Only the shape of the quote/payment response itself is left unspecified.

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?

Zero parameters, so the baseline is 4, and the description reinforces this twice ('No parameters', 'GET with no parameters'), eliminating any ambiguity for the agent. No schema-level meaning is missing.

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?

States a specific verb and resource ('Returns the payment terms for .../treasury/debt') and then describes the underlying dataset (total debt, public/intragovernmental split, TGA balance). It cleanly separates itself from data-fetching by saying 'this tool never runs the check or pays', which is the key distinction from the fetching siblings. It does not explicitly differentiate against the other *_quote siblings (market_quote, x402_check, x402_check_deep), which keeps it off a 5.

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?

Gives procedural guidance for the follow-up step ('Pay the 402 over HTTP with x402 v2: GET with no parameters'), which implies the quote-then-pay workflow. However, it never says when to choose this over x402_check, x402_check_deep, or market_quote, nor what happens if the agent skips the quote step. Usage is implied 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.