Skip to main content
Glama

Consultar Canastas Básicas CBA y CBT (Líneas de Pobreza e Indigencia)

indec_get_canastas
Read-only

Fetch monthly CBA (indigence) and CBT (poverty) basket values and variations for Gran Buenos Aires, filtered by basket, indicator type, and date range; defaults to the latest published period.

Instructions

Consulta el valor mensual y variaciones de la Canasta Básica Alimentaria (CBA - línea de indigencia) y Canasta Básica Total (CBT - línea de pobreza) para Gran Buenos Aires. Permite filtrar por canasta (CBA, CBT o ambas), tipo de indicador y rango de fechas. Si no se indican fechas, devuelve únicamente el último período publicado.

Ejemplos:

  • Último valor de ambas canastas: {}

  • Solo canasta alimentaria (CBA): { canasta: 'CBA' }

  • Evolución de la línea de pobreza (CBT) en 2024: { canasta: 'CBT', desde: '202401', hasta: '202412' }

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": "indec_get_canastas"
  }
}

Input Schema

NameRequiredDescriptionDefault
desdeNoPeríodo inicial en formato AAAAMM (ej: '202401'). Opcional.
hastaNoPeríodo final en formato AAAAMM (ej: '202412'). Opcional.
limitNoCantidad máxima de registros a retornar (default: 50).
canastaNoTipo de canasta: 'CBA' (Alimentaria / Indigencia), 'CBT' (Total / Pobreza) o 'todas'. Default: 'todas'.todas
tipo_indicadorNoTipo de indicador: 'variación intermensual' (v_m), 'variación interanual' (v_ia), 'línea' (CBA y CBT), CBA, CBT, ICE, 'Hogar 1/2/3' o 'todos'. La API no publica variación acumulada. Default: 'todos'.todos

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the read-only safety profile, so the description only needs to add context — and it does, disclosing the no-dates default (last published period only) and the Gran Buenos Aires geographic scope, both of which affect how an agent should call it. It stops short of describing returned record structure, units, or ordering.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The prose is front-loaded with the core purpose and default behavior, then followed by three labeled examples that each illustrate a distinct call pattern. Slightly redundant in restating the CBA/CBT definitions that already appear in the schema, but no sentence is wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With five optional parameters and no output schema, the description is solid on invocation but never says what a returned record contains (period field, value, variation columns) or how limit interacts with ordering. It is adequate for calling the tool but leaves the response shape undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description goes beyond it by pairing parameters in worked examples ({canasta:'CBT', desde:'202401', hasta:'202412'}), showing how filters combine and clarifying that 'todas' is the default basket. It adds no new detail for the limit or tipo_indicador values beyond the schema's own enum documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource (query monthly CBA/CBT values and variations) and even disambiguates the two baskets by economic meaning (indigence line vs. poverty line) and geography (Gran Buenos Aires). It does not explicitly differentiate itself from siblings such as indec_get_pobreza or indec_get_canasta_crianza, so scope for those remains inferential.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the default behavior when no dates are supplied ('devuelve únicamente el último período publicado') and the three worked examples concretely demonstrate when to pass {}, a single canasta, or a date range. There is no explicit when-not-to-use guidance or named alternative tool, so the top score is not reached.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.