Skip to main content
Glama

¿Cómo va España?

Barómetros del CIS

barometro_cis
Read-onlyIdempotent

Los barómetros del Centro de Investigaciones Sociológicas: los principales problemas de España según los ciudadanos, la valoración de la situación económica, la estimación de voto del CIS, la nota de los líderes y de los ministros, la confianza en el presidente y en el líder de la oposición. Por defecto, el último barómetro; con problema, la evolución de un problema desde 1996; con ver: "historico", los barómetros de 1996 a 2019. Úsalo para «¿cuál es el principal problema según el CIS?» o «¿cómo ha evolucionado la preocupación por la vivienda?».

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

Input Schema

NameRequiredDescriptionDefault
verNo`resumen` (por defecto), `completo` (listas enteras), `lista` (todos los barómetros desde diciembre de 2019), `problemas_en_el_tiempo` (los problemas con su máximo y su último dato) o `historico` (los barómetros de 1996 a 2019, con sus problemas y la nota del presidente).
fechaNoAño y mes del barómetro (2025-06) en vez del número de estudio.
estudioNoNúmero de estudio del CIS (por ejemplo 3587) para ver ese barómetro.
problemaNoUn problema para ver su evolución: «vivienda», «paro», «inmigración», «corrupción».

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / ver / description
      Previous value: -"`resumen` (por defecto), `completo` (listas enteras), `lista` (todos los barómetros) o `problemas_en_el_tiempo` (los problemas con su máximo y su último dato)."New value: +"`resumen` (por defecto), `completo` (listas enteras), `lista` (todos los barómetros desde diciembre de 2019), `problemas_en_el_tiempo` (los problemas con su máximo y su último dato) o `historico` (los barómetros de 1996 a 2019, con sus problemas y la nota del presidente)."
    • changedInput schema / properties / ver / enum
      Previous value: -[
      -  "resumen",
      -  "completo",
      -  "lista",
      -  "problemas_en_el_tiempo"
      -]New value: +[
      +  "resumen",
      +  "completo",
      +  "lista",
      +  "problemas_en_el_tiempo",
      +  "historico"
      +]
  2. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / estudio / anyOf
      Removed value: -[
      -  {
      -    "maxLength": 10,
      -    "type": "string"
      -  },
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": -9007199254740991,
      -    "type": "integer"
      -  }
      -]
    • addedInput schema / properties / estudio / maxLength
      Added value: +10
    • addedInput schema / properties / estudio / type
      Added value: +"string"
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, non-open-world), so the description's added value is in disclosing the default resolution rule (último barómetro) and the date boundaries of the historical modes (1996-2019). It does not discuss response size, truncation, or what happens when `problema` matches nothing, which is the remaining gap for a data-fetch tool with no output schema.

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?

A single dense paragraph that front-loads what the tool returns, then the mode-to-parameter mapping, then usage examples — a logical order with little filler. The opening enumeration of survey topics is slightly long but each item is a genuinely distinct returned metric.

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 no output schema, the description has to carry the return-value burden, and it does by listing the metrics each barometer exposes plus the default-selection rule. Missing is guidance on `fecha` vs `estudio` precedence and any sense of result volume for the large `lista`/`completo` modes.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all four parameters, including the enum values of `ver`. The description adds a real behavioral link for `problema` (it triggers an evolution series back to 1996) and clarifies `ver: "historico"`, but says nothing about how `fecha` and `estudio` interact or which wins when both are supplied. Baseline 3 is appropriate.

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?

The description names the specific resource (los barómetros del CIS) and enumerates its concrete contents: principales problemas, valoración económica, estimación de voto, nota de líderes y ministros, confianza en presidente y oposición. That content list distinguishes it from adjacent siblings such as encuestas_electorales (it explicitly attributes the vote estimate to the CIS) without needing to name them.

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 (último barómetro) and maps each non-default mode to a condition: `problema` → evolución desde 1996, `ver: "historico"` → 1996-2019. The closing example questions («¿cuál es el principal problema según el CIS?», «¿cómo ha evolucionado la preocupación por la vivienda?») give concrete use cases. No explicit when-not-to-use or named sibling alternative is given, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources