Rankings
rank_entitiesTop N wells, areas, companies, fields, basins or formations by production, BOE, GOR, water cut, growth, new wells or IP30/90/180 (raw, per meter, per stage). Example: {entidad: 'pozo', metrica: 'ip30', subtipo_recurso: 'SHALE', tipo_pozo: 'Petrolífero', fecha_desde: '2025', fecha_hasta: '2025'}.
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": {
"entidad": "<entidad>",
"metrica": "<metrica>"
},
"name": "rank_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Default 10 | |
| orden | No | ||
| cuenca | No | ||
| empresa | No | ||
| entidad | Yes | ||
| metrica | Yes | ip*: wells of a first-production cohort (or their average per entity); others over the period | |
| max_rows | No | ||
| formacion | No | ||
| provincia | No | ||
| tipo_pozo | No | e.g. Petrolífero, Gasífero | |
| yacimiento | No | ||
| fecha_desde | No | Default: 12 months to fecha_hasta | |
| fecha_hasta | No | Inclusive; default the last complete month | |
| area_concesion | No | ||
| subtipo_recurso | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| rows | Yes | ||
| columns | Yes | ||
| sections | No |