Skip to main content
Glama

treasury_fiscal

Read-onlyIdempotent

Query the US Treasury Fiscal Data API (free, no key). Returns records for a fiscal-service endpoint such as debt to the penny. Provide an endpoint path and optional OData filter. Use for US federal fiscal/accounting primary data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax records, default 10, max 100
filterNoOptional OData filter, e.g. record_date:gte:2024-01-01
endpointNofiscal_service path, default v2/accounting/od/debt_to_penny

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesSource payload; fields vary per tool
sourceYesHuman-readable upstream source name
retrievedAtYesISO-8601 timestamp of retrieval

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds genuinely useful context beyond annotations: the API is free and needs no key, and it returns records for a fiscal-service endpoint. It does not mention rate limits or pagination behavior.

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?

Three tight sentences, front-loaded with what the tool is, then what it returns, then how to invoke it. No filler; each sentence carries distinct information.

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 a 100%-covered schema, rich annotations, and an existing output schema, the description need not define return values or safety. It supplies enough for correct invocation (endpoint + filter, no key needed). Minor gaps: no guidance on which endpoint paths exist beyond the default example.

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 the schema already documents endpoint, filter, and limit. The description restates that an endpoint path and optional OData filter are provided but adds no syntax or format detail beyond the schema's own example. Baseline 3 is appropriate.

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 — querying the US Treasury Fiscal Data API — and clarifies the domain (US federal fiscal/accounting primary data). It is easily distinguishable from financial siblings like fred_series or ecb_series by resource, though it does not name any sibling explicitly.

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?

"Use for US federal fiscal/accounting primary data" gives clear usage context, and the sentence about providing an endpoint path plus optional OData filter tells the agent how to drive it. It stops short of naming alternatives or stating when NOT to use it (e.g. vs. fred_series for other US data).

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.