Get Category Stats
get_category_statsGet aggregate CPV category statistics: tender counts, average and median values, average offer counts, and deadline lengths. Choose month, quarter, or year windows; the response verifies the actual window applied.
Instructions
Get aggregate statistics for a CPV category: tender count, average and median value, average offers count, average deadline length.
The response includes the actual days window the API applied - the
upstream API sometimes ignores the requested window, so verify it.
Examples: get_category_stats("302") get_category_stats("45240000-1", window="quarter")
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": {
"cpv": "<cpv>"
},
"name": "get_category_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpv | Yes | ||
| window | No | year |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||