Skip to main content
Glama

U.S. Treasury Fiscal Data MCP

Get federal monthly revenue and outlays

get_federal_revenue_spending
Read-onlyIdempotent

Retrieve Monthly Treasury Statement (Table 1) summaries of U.S. federal government gross receipts, gross outlays, and monthly deficit or surplus.

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_federal_revenue_spending"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1 to 100). Default 1.
limitNoRecords per page (1 to 100). Default 20.
end_dateNoOptional latest record date in YYYY-MM-DD format.
start_dateNoOptional earliest record date in YYYY-MM-DD format.
fiscal_yearNoOptional 4-digit federal fiscal year filter (e.g. 2026).

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, openWorldHint and destructiveHint=false, so safety is covered. The description adds useful provenance (official MTS Table 1) but says nothing about record granularity, update cadence, pagination behavior, or coverage of the date range — context an agent would want for a data-retrieval tool.

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?

A single front-loaded sentence with the verb and resource first and zero redundant or filler wording. Nothing could be cut without losing substance.

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 five all-optional parameters, rich annotations, and no output schema, the main remaining question is what a returned record contains and how filtering combines — a modest gap. Otherwise the definition covers enough for correct invocation.

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 all five parameters (page, limit, start_date, end_date, fiscal_year) are already documented in the schema. The description adds no guidance on how fiscal_year interacts with the date range or on default result ordering, so it does not exceed the baseline.

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 (retrieve) and a precise resource (Monthly Treasury Statement Table 1: gross receipts, gross outlays, deficit/surplus). The resource is distinct enough from siblings like get_national_debt and get_treasury_exchange_rates that an agent can discriminate, though it never names a 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 Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use guidance, no mention of how it differs from debt or interest-rate tools, and no stated prerequisites. Usage is only implied by the topical description of the data returned.

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.