Energetica — Argentine Oil & Gas Data
Argentine oil & gas data — 40+ curated tables: production, wells, prices, investments, trade.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"data": {
"url": "https://energetica.ar/api/mcp"
}
}
}Puntos de conexión remotos
https://energetica.ar/api/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (14)
🟢describe_data(tablas, max_rows)
Start here. Every table and view: description, period, rows, tool to use, warnings, and the last complete production month. With tablas, also their columns. Example: {tablas: ['pozos']}.
Esquema de entrada
{
"type": "object",
"properties": {
"tablas": {
"description": "Tables or views whose columns you need",
"minItems": 1,
"maxItems": 6,
"type": "array",
"items": {
"type": "string"
}
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢resolve_entity(texto, tipo, max_rows)
Free text → exact names for filters (companies, areas, fields, formations, basins, provinces, wells), with context and last month with production. Example: {texto: 'palmar', tipo: 'yacimiento'}.
Esquema de entrada
{
"type": "object",
"properties": {
"texto": {
"type": "string",
"minLength": 2,
"description": "Name or part of it"
},
"tipo": {
"type": "string",
"enum": [
"empresa",
"area",
"yacimiento",
"formacion",
"cuenca",
"provincia",
"pozo"
]
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"required": [
"texto"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢query_production(cuenca, provincia, empresa, area_concesion, yacimiento, ...)
Oil, gas and water production (2006–present) by entity and period, grouped by up to 3 dimensions: volumes, BOE, producing/reporting wells, daily rate, GOR, water cut. Example: {area_concesion: "LOMA CAMPANA", fecha_desde: "2025", agrupar_por: ["anio"]}.
Esquema de entrada
{
"type": "object",
"properties": {
"cuenca": {
"type": "string"
},
"provincia": {
"type": "string"
},
"empresa": {
"type": "string"
},
"area_concesion": {
"type": "string"
},
"yacimiento": {
"type": "string"
},
"formacion": {
"type": "string"
},
"tipo_recurso": {
"type": "string",
"enum": [
"CONVENCIONAL",
"NO CONVENCIONAL",
"SIN RESERVORIO",
"NO DISCRIMINADO"
]
},
"subtipo_recurso": {
"type": "string",
"enum": [
"SHALE",
"TIGHT"
]
},
"tipo_pozo": {
"description": "e.g. Petrolífero, Gasífero",
"type": "string"
},
"idpozo": {
"maxItems": 50,
"type": "array",
"items": {
"type": "number"
}
},
"fecha_desde": {
"type": "string"
},
"fecha_hasta": {
"description": "Inclusive",
"type": "string"
},
"agrupar_por": {
"description": "Up to 3 dimensions; default [mes]",
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"mes",
"anio",
"empresa",
"cuenca",
"provincia",
"area_concesion",
"yacimiento",
"formacion",
"tipo_recurso",
"subtipo_recurso",
"tipo_pozo",
"idpozo"
]
}
},
"metricas": {
"description": "Default petroleo, gas, agua (+ pozos_productores by mes); caudal_diario = volume / calendar days",
"type": "array",
"items": {
"type": "string",
"enum": [
"petroleo",
"gas",
"agua",
"boe",
"gor",
"water_cut",
"pozos_productores",
"pozos_informantes",
"caudal_diario"
]
}
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢query_wells(empresa, cuenca, provincia, area_concesion, yacimiento, ...)
Wells in the registry (~86,000): location, type, current status and operator, cumulative production, first and last month with production, IP30. Example: {provincia: 'Neuquén', subtipo_recurso: 'SHALE', tipo_estado: 'activos'}.
Esquema de entrada
{
"type": "object",
"properties": {
"empresa": {
"type": "string"
},
"cuenca": {
"type": "string"
},
"provincia": {
"type": "string"
},
"area_concesion": {
"type": "string"
},
"yacimiento": {
"type": "string"
},
"formacion": {
"type": "string"
},
"tipo_recurso": {
"type": "string",
"enum": [
"CONVENCIONAL",
"NO CONVENCIONAL",
"SIN RESERVORIO",
"NO DISCRIMINADO"
]
},
"subtipo_recurso": {
"type": "string",
"enum": [
"SHALE",
"TIGHT"
]
},
"tipo_pozo": {
"description": "e.g. Petrolífero, Gasífero",
"type": "string"
},
"tipo_estado": {
"description": "Exact registry status (e.g. Abandonado, Parado Transitoriamente) or 'activos'",
"type": "string"
},
"con_produccion": {
"type": "boolean"
},
"primera_produccion_desde": {
"description": "First month with oil or gas > 0 (or the registry fecha_primera_prod with segun_padron)",
"type": "string"
},
"primera_produccion_hasta": {
"type": "string"
},
"segun_padron": {
"type": "boolean"
},
"orden": {
"type": "string",
"enum": [
"acumulado",
"ip30",
"primera_produccion"
]
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_well(idpozo, sigla, max_rows)
One well by idpozo or sigla: registry data, IP30/90/180, cumulative volumes, recent GOR and water cut, last 36 months of production, fracture jobs and trajectory. Example: {sigla: 'YPF.Nq.LCa-1001(h)'}.
Esquema de entrada
{
"type": "object",
"properties": {
"idpozo": {
"type": "number"
},
"sigla": {
"description": "Well code; close codes are resolved",
"type": "string",
"minLength": 2
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_area(area_concesion, max_rows)
One concession area: 12-month production and year-on-year change, operators and shares, wells by type and state, top wells and the last 24 months. Example: {area_concesion: 'LOMA CAMPANA'}.
Esquema de entrada
{
"type": "object",
"properties": {
"area_concesion": {
"type": "string",
"minLength": 2,
"description": "Area name; close names are resolved"
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"required": [
"area_concesion"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_company(empresa, max_rows)
One operator: 12-month production, national share, year-on-year change, areas, basins, wells, investments, reserves and, if listed, share price and SEC financials. Example: {empresa: 'VISTA ENERGY ARGENTINA SAU'}.
Esquema de entrada
{
"type": "object",
"properties": {
"empresa": {
"type": "string",
"minLength": 2,
"description": "Company name; close names are resolved"
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"required": [
"empresa"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢rank_entities(entidad, metrica, cuenca, provincia, empresa, ...)
Top 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'}.
Esquema de entrada
{
"type": "object",
"properties": {
"entidad": {
"type": "string",
"enum": [
"pozo",
"area",
"empresa",
"yacimiento",
"cuenca",
"formacion"
]
},
"metrica": {
"type": "string",
"enum": [
"ip30",
"ip90",
"ip180",
"ip30_por_metro",
"ip30_por_etapa",
"petroleo",
"gas",
"agua",
"boe",
"gor",
"water_cut",
"crecimiento_interanual",
"pozos_nuevos"
],
"description": "ip*: wells of a first-production cohort (or their average per entity); others over the period"
},
"cuenca": {
"type": "string"
},
"provincia": {
"type": "string"
},
"empresa": {
"type": "string"
},
"area_concesion": {
"type": "string"
},
"yacimiento": {
"type": "string"
},
"formacion": {
"type": "string"
},
"subtipo_recurso": {
"type": "string",
"enum": [
"SHALE",
"TIGHT"
]
},
"tipo_pozo": {
"description": "e.g. Petrolífero, Gasífero",
"type": "string"
},
"fecha_desde": {
"description": "Default: 12 months to fecha_hasta",
"type": "string"
},
"fecha_hasta": {
"description": "Inclusive; default the last complete month",
"type": "string"
},
"n": {
"description": "Default 10",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"orden": {
"type": "string",
"enum": [
"desc",
"asc"
]
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"required": [
"entidad",
"metrica"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢query_completions(empresa, area_concesion, formacion, cuenca, subtipo_reservorio, ...)
Fracture jobs by year, company (the one that reported the job), area, formation or well: wells, stages, stages per well, lateral length, proppant, water. Example: {formacion: 'vaca muerta', fecha_desde: '2025', agrupar_por: ['empresa']}.
Esquema de entrada
{
"type": "object",
"properties": {
"empresa": {
"type": "string"
},
"area_concesion": {
"type": "string"
},
"formacion": {
"type": "string"
},
"cuenca": {
"type": "string"
},
"subtipo_reservorio": {
"type": "string",
"enum": [
"SHALE",
"TIGHT"
]
},
"fecha_desde": {
"description": "Completion (end of fracture) from",
"type": "string"
},
"fecha_hasta": {
"type": "string"
},
"agrupar_por": {
"description": "Default anio",
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"anio",
"empresa",
"area_concesion",
"formacion",
"subtipo_reservorio",
"idpozo"
]
}
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢query_reserves(anio, cuenca, empresa, tipo_recurso, categorias, ...)
P1/P2/P3 oil and gas reserves at Dec 31 by year, basin, company and resource type (end of useful life); oil and gas in separate columns. Default: latest year. Example: {anio: [2024], agrupar_por: ['cuenca'], categorias: ['P1']}.
Esquema de entrada
{
"type": "object",
"properties": {
"anio": {
"description": "Years; default the latest",
"maxItems": 20,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"cuenca": {
"type": "string"
},
"empresa": {
"type": "string"
},
"tipo_recurso": {
"type": "string",
"enum": [
"CONVENCIONAL",
"NO CONVENCIONAL",
"SIN RESERVORIO",
"NO DISCRIMINADO"
]
},
"categorias": {
"description": "Default P1, P2, P3",
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"enum": [
"P1",
"P2",
"P3"
]
}
},
"agrupar_por": {
"description": "Default anio",
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"anio",
"cuenca",
"empresa",
"tipo_recurso"
]
}
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢query_investments(empresa, cuenca, anio_desde, anio_hasta, concepto, ...)
Upstream oil & gas investments in Argentina by company, basin, year and concept, in millions of USD (drilling, workovers, pipelines, facilities, seismic…). Example: {cuenca: 'NEUQUINA', anio_desde: 2023, concepto: 'perforacion'}.
Esquema de entrada
{
"type": "object",
"properties": {
"empresa": {
"type": "string"
},
"cuenca": {
"type": "string"
},
"anio_desde": {
"description": "Year of the sworn statement (DDJJ)",
"type": "number"
},
"anio_hasta": {
"type": "number"
},
"concepto": {
"description": "Investment concept, partial match ignoring accents (e.g. 'perforacion', 'reparacion de pozos', 'gasoductos', 'sismica')",
"type": "string"
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢query_prices(serie, provincia, fecha_desde, fecha_hasta, frecuencia, ...)
International and local energy prices: WTI, Brent, Henry Hub (daily, USD), Argentine crude price used for royalties by province (monthly, USD/bbl) and ARS/USD exchange rates (daily). Most recent first. Example: {serie: 'BRENT', fecha_desde: '2024', frecuencia: 'mensual'}.
Esquema de entrada
{
"type": "object",
"properties": {
"serie": {
"type": "string",
"enum": [
"WTI",
"BRENT",
"HENRY_HUB",
"CRUDO_LOCAL",
"USD_OFICIAL",
"USD_MAYORISTA",
"USD_BLUE",
"USD_MEP",
"USD_CCL"
]
},
"provincia": {
"description": "Only CRUDO_LOCAL; omit for every province",
"type": "string",
"enum": [
"NEUQUEN",
"CHUBUT",
"MENDOZA",
"SANTA CRUZ",
"SALTA",
"RIO NEGRO",
"LA PAMPA",
"TIERRA DEL FUEGO",
"FORMOSA",
"JUJUY",
"ESTADO NACIONAL"
]
},
"fecha_desde": {
"type": "string"
},
"fecha_hasta": {
"description": "Inclusive",
"type": "string"
},
"frecuencia": {
"description": "Average; CRUDO_LOCAL is monthly",
"type": "string",
"enum": [
"diario",
"mensual",
"anual"
]
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"required": [
"serie"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢query_trade(anio, flow, producto, max_rows)
Argentina hydrocarbon exports and imports by month: crude oil (HS 2709), refined products (HS 2710) and natural gas (HS 2711), FOB USD and kg. Example: {anio: 2025, flow: 'export', producto: 'crude'}.
Esquema de entrada
{
"type": "object",
"properties": {
"anio": {
"type": "number"
},
"flow": {
"description": "Trade flow direction",
"type": "string",
"enum": [
"export",
"import"
]
},
"producto": {
"description": "Product category",
"type": "string",
"enum": [
"crude",
"refined",
"gas"
]
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢execute_sql(sql, max_rows)
Run read-only DuckDB SQL (a single SELECT or WITH) over the catalog tables and views. Prefer the curated tools when they fit; call describe_data first for tables and columns. Column names and values are in Spanish. Example: {sql: "SELECT anio, SUM(prod_petroleo_m3) FROM agg_produccion_mensual WHERE formacion = 'vaca muerta' GROUP BY 1 ORDER BY 1"}.
Esquema de entrada
{
"type": "object",
"properties": {
"sql": {
"type": "string",
"minLength": 1
},
"max_rows": {
"type": "number",
"minimum": 1
}
},
"required": [
"sql"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Esquema de salida
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"meta": {
"type": "object",
"properties": {
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"max_rows": {
"type": "number"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"sql": {
"type": "string"
},
"query_ms": {
"type": "number"
},
"definitions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"returned",
"truncated",
"max_rows",
"sources",
"query_ms"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"name",
"columns",
"rows",
"truncated"
],
"additionalProperties": false
}
}
},
"required": [
"columns",
"rows",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}Prompts recomendados
get_schemaget_schemaquery_productionquery_productionquery_productionget_schemaComunidad
Evidencia