Summarize CSOSA Contract Spending
csosa_spending_summaryAggregates CSOSA contract spending by fiscal year, recipient, or product/service category, with optional date filters, to produce summary totals and chart-ready results.
Instructions
Aggregate CSOSA contract spending for summaries and charts.
Source: USAspending.gov spending_over_time / spending_by_category APIs, scoped to CSOSA contracts. Data refreshes daily; see csosa_search_contract_awards's module docstring for coverage limits.
Returns: {"group_by": ..., "results": [{"label": ..., "amount": ...}, ...]}
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": "csosa_spending_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return for recipient/product_or_service breakdowns (ignored for fiscal_year, which always returns every year). | |
| end_date | No | ISO date (YYYY-MM-DD). | |
| group_by | No | How to aggregate spending: fiscal_year (a time series, good for a trend chart), recipient (top contractors by total obligated amount), or product_or_service (top PSC categories of work). | fiscal_year |
| start_date | No | ISO date (YYYY-MM-DD). Earliest supported is 2007-10-01. Defaults to the full available range. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||