Skip to main content
Glama

draconic21 x402 Data Tools

US Treasury fiscal snapshot

treasury_fiscal_snapshot
Read-onlyIdempotent

[PAID — 0.005 USDC on Base via x402] U.S. public debt outstanding (Debt to the Penny), the Treasury's recent operating cash balance, and current-quarter Treasury Reporting Rates of Exchange, bundled from api.fiscaldata.treasury.gov in one call. $0.005 USDC on Base, paid via x402 by the calling agent's own wallet. Call with no payment_header first to receive the payment requirements; your own wallet pays, never this server's.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payment_headerNoOptional. Omit on your first call to receive the x402 payment challenge for free. After your own wallet/x402 client signs against that challenge, call this same tool again with the SAME business arguments plus this field set to the header your x402 client produced (typically { name: "PAYMENT-SIGNATURE", value: "<base64 payload>" }). This server never holds a wallet and never pays on your behalf.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false), the description discloses the cost (0.005 USDC on Base), the payment protocol (x402), and crucially that the calling agent's own wallet pays and the server never holds a wallet or pays on its behalf. Payment-quoting behavior is fully surfaced, which is exactly the extra context annotations cannot carry.

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?

Front-loaded with the paid marker and the data payload, then the payment mechanics. Efficient overall, but the 0.005 USDC cost and 'x402/paid via' framing are repeated across sentences, which is minor redundancy in an otherwise tight description.

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 return-value explanation and does so by enumerating the three bundled datasets. Combined with annotations covering the safety profile and the description covering the payment flow, an agent has enough to invoke it correctly. Return format particulars (fields, units, cadence) are not detailed, which keeps it just short of fully complete.

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?

The single payment_header parameter already has 100% schema description coverage, and the description reinforces its two-phase role (omit first to get the challenge, include the signed payload second). It adds the payment-flow meaning on top of the schema rather than repeating it, though it adds little on the header's internal name/value structure.

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 resource and scope: U.S. public debt outstanding, Treasury operating cash balance, and current-quarter exchange rates, bundled from api.fiscaldata.treasury.gov in one call. An agent knows exactly what data it returns. It does not, however, explicitly name or differentiate itself from the sibling treasury_fiscal_snapshot_preview, which is the natural alternative.

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?

Gives clear operational guidance: call once with no payment_header to receive the x402 challenge, then call again with the SAME business arguments plus the signed header. This is explicit and actionable. It misses only the when-to-use-vs-preview routing that would fully separate it from the free sibling 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