Skip to main content
Glama

Un indicador social del MIDES, con su ficha

indicador_social
Read-onlyIdempotent

Fetch a MIDES social indicator by name to get its title, unit, calculation method, data source, and values by dimension and period, filtering rows by department or group.

Instructions

Lee un indicador del Observatorio Social del MIDES (el nombre sale de buscar_indicador_social): título, unidad, forma de cálculo, fuente del dato (casi siempre la Encuesta Continua de Hogares del INE) y la tabla por dimensión y período, con datos hasta 2023-2024. filtro deja solo las filas con esos valores de dimensión, separados por coma (por ejemplo 'Salto' o 'Mujeres,Pobre'). Leer los avisos: filas de total mezcladas, mapas que muestran un solo año (parcial), y una ficha que no coincide con la tabla.

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": {
      "indicador": "<indicador>"
    },
    "name": "indicador_social"
  }
}

Input Schema

NameRequiredDescriptionDefault
filtroNo
indicadorYes

Output Schema

NameRequiredDescriptionDefault
urlYes
avisoNo
filasYes
avisosYes
bajadoYes
fuenteYes
tituloYes
unidadYes
calculoYes
parcialYes
periodosYes
frecuenciaYes
descripcionYes
dimensionesYes
copia_vencidaNo
filas_totalesYes
periodo_fichaYes
fuente_del_datoYes
periodos_disponiblesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.14.0
    • addedOutput schema / properties / aviso
      Added value: +{
      +  "title": "Aviso",
      +  "type": "string"
      +}
    • addedOutput schema / properties / copia_vencida
      Added value: +{
      +  "title": "Copia Vencida",
      +  "type": "boolean"
      +}
  2. First observedv0.13.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real behavioral value: data coverage through 2023-2024 and the instruction to read `avisos` because of mixed total rows, single-year map coverage flagged as `parcial`, and a ficha that can disagree with the table. It stops short of describing error behavior or the shape of `avisos`, so not a 5.

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?

Front-loads what is read and what is returned, then filter syntax, then the data caveats — a logical order with little waste. It is fairly dense and the caveat sentence packs three distinct warnings together, which slightly hurts scannability.

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

Completeness4/5

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

With an output schema present, return values need not be explained, yet the description still summarizes them and adds the crucial data-quality caveats an agent needs to interpret results. Complete for practical use; only error handling and filter matching rules are missing.

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 description coverage is 0%, so the description carries the burden and mostly does: `filtro` is defined functionally (keeps only rows matching those dimension values), with comma-separated syntax and two concrete examples ('Salto', 'Mujeres,Pobre'), and `indicador` is tied to the search tool. Case-sensitivity and matching semantics of the filter values remain unstated.

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

Purpose5/5

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

Opens with a specific verb+resource ('Lee un indicador del Observatorio Social del MIDES') and enumerates exactly what comes back: título, unidad, forma de cálculo, fuente, y tabla por dimensión y período. It also points to the sibling buscar_indicador_social as the source of the `indicador` value, so the agent can act without opening either schema.

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?

Gives clear operative context: the indicator name must come from buscar_indicador_social, and `filtro` is optional narrowing. It does not state explicit when-not conditions or failure modes (e.g. what happens with an invalid indicator name), so it falls short of a full 5.

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