Usa Spending By Agency
usa_spending_by_agencyBreak down US federal contract spending by agency for a given fiscal year (default: current year) and optional quarter (1-4). Returns agency names, abbreviations, and dollar amounts from USAspending.gov.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fiscal_year": "2024"
},
"name": "usa_spending_by_agency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quarter | No | Fiscal quarter (1-4). Omit for full year. | |
| fiscal_year | No | Four-digit fiscal year (e.g., "2025"). Defaults to current year. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | Total federal spending for the period | |
| quarter | No | Fiscal quarter if specified, otherwise null | |
| agencies | No | Breakdown of spending by agency | |
| fiscal_year | No | Fiscal year used for the query |