Resumir las compras públicas de una institución (SERCOP)
get_resumen_comprasSummarizes a buyer’s annual SERCOP procurement—process counts, total amounts, procedure types, monthly trends, and top suppliers—and flags when results are partial.
Instructions
Summarize one buyer's SERCOP procurement in a year: process count, total amount, by procedure type, by month and top suppliers. Reads up to 300 processes and says when the summary is partial.
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": {
"comprador": "<comprador>"
},
"name": "get_resumen_compras"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year of the processes (2015-current). | |
| query | No | Optional topic keyword (min 3 chars) to narrow the processes; empty uses the buyer keyword. | |
| format | No | text summary (default) or json structured result. | text |
| comprador | Yes | Buyer/institution keyword, min 3 chars (e.g. "Municipio de Quito", "IESS"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filas | No | ||
| source | No | ||
| columnas | No | ||
| metadatos | Yes | ||
| url_fuente | No |