Get USASpending Awards
get_usaspending_awardsRetrieves federal award counts, obligations, and top awards for a specified agency code and fiscal year, enabling procurement and spending analysis.
Instructions
Get federal awards data for a specific agency and fiscal year. Returns award counts, obligations, and top awards.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agency_code": "<agency_code>"
},
"name": "get_usaspending_awards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of top awards to return (default: 10) | |
| agency_code | Yes | 3-digit agency code (e.g., '075' for HHS, '097' for DOD) | |
| fiscal_year | No | Fiscal year (default: 2024) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the tool could not do what was asked: a message, or an object with a stable `code` (bad_request, not_found, upstream_error, ...) and a `message`. The call is then marked isError. | |
| warnings | No | Caveats about this result, for example a filter the upstream did not honor. |