Skip to main content
Glama

Treasury Outlays

treasury_outlays
Read-onlyIdempotent

US federal outlays by budget function (Net Interest, National Defense, Social Security, Medicare, Health, ...) plus total net outlays, total receipts and the deficit, from the U.S. Treasury Monthly Treasury Statement. Every row carries current-month, fiscal-year-to-date and prior-year-to-date dollars, the statement date it came from, and its basis (net outlays, nominal dollars, fiscal year Oct-Sep). Use for "net interest outlays FY2026", "federal spending on defense through August", "total outlays and deficit". Covers fiscal years 2015 onward; earlier years or statements not yet released return found:false with the reason, never an empty list. Omit fiscal_year/month for the latest statement.

Input Schema

NameRequiredDescriptionDefault
monthNoCalendar month of the statement: 1-12 or a name ("September"). With fiscal_year picks that month of that fiscal year; alone picks the most recent such month published.
functionNoBudget function to return, e.g. "Net Interest", "National Defense", "Medicare". Case-insensitive substring match. Omit for all functions.
fiscal_yearNoFederal fiscal year (Oct-Sep), e.g. 2026 = Oct 2025 through Sep 2026. With no month, returns the fiscal-year-end (September) statement, or the latest statement released in that year if it is not over.

Output Schema

NameRequiredDescriptionDefault
noteNo
as_ofNo
basisNo
foundNofalse when the period is not covered or not yet released; see reason
periodNo
reasonNo
sourceNo
totalsNo
functionsNo
requestedNo
data_as_ofNo
incompleteNo
fiscal_yearNo
reconciliationNo
statement_dateNo
requested_functionNo
available_functionsNo
fiscal_year_completeNo
latest_statement_availableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes beyond the annotations by declaring coverage limits (FY2015 onward) and the failure mode: out-of-range or unreleased statements return found:false with a reason, never an empty list. That tells an agent exactly how to interpret a negative result, which the read-only/idempotent hints do not.

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?

Front-loaded with what the tool returns, then usage examples, then coverage limits and the default case, in five tight sentences. The parenthetical field list is the only dense spot and it and it earns its space.

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?

An output schema is present, so return shape is already covered, and the annotations handle safety. The description fills the remaining gaps: series scope, date basis, coverage window and the not-found semantics. Nothing an agent needs to call it correctly is missing.

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?

Schema coverage is 100%, so the argument types and matching rules are already documented. The description adds the combined default behaviour (omit both to get the latest statement) and restates the fiscal-year and basis conventions, which is modest but real value beyond the schema.

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?

States a specific resource (US federal outlays by budget function from the Treasury Monthly Treasury Statement) with the scope of what each row contains (current month, FY-to-date, prior-year-to-date, statement date, basis). This clearly separates it from siblings like treasury_receipts or treasury_debt, which cover different series.

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 concrete example queries ('net interest outlays FY2026', 'federal spending on defense through August') and a default rule ('Omit fiscal_year/month for the latest statement'). It never names an adjacent sibling such as treasury_receipts or treasury_federal_net_cost and that keeps it short of 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.