Count USAspending Transactions
usaspending_count_transactionsCount US federal spending transactions grouped by award category (contracts, grants, loans, etc.) using filters like time period, agency, or keyword.
Instructions
Count matching transaction records grouped by award category: contracts, grants, direct payments, loans, IDVs, and other.
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": "usaspending_count_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | USAspending AdvancedFilterObject. Common keys include time_period, keywords, agencies, recipient_search_text, award_type_codes, award_ids, naics_codes, psc_codes, and place_of_performance_locations. Specify an explicit time_period for time-sensitive analysis. | |
| response_format | No | Output format: markdown for readable summaries, json for raw structured data. | markdown |