Skip to main content
Glama

¿Cómo va España?

Buscar indicadores de España

buscar_indicadores
Read-onlyIdempotent

Busca entre los indicadores oficiales de España que reúne ¿Cómo va España? (paro, afiliación, salarios, PIB, inflación, precio de la vivienda y del alquiler, deuda y déficit, pensiones, población, pobreza, sanidad, educación, criminalidad, energía...). Devuelve el identificador de cada indicador, su último dato, su fuente oficial y a qué niveles existe (comunidades, provincias, municipios, UE). Es el primer paso: los demás usan ese identificador. La consulta va en español y con pocas palabras («paro juvenil», «alquiler», «deuda pública»). Sin argumentos, lista las secciones.

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

Input Schema

NameRequiredDescriptionDefault
limiteNoCuántos resultados como mucho (10 por defecto).
seccionNoSolo los indicadores de una sección: empleo, economia, empresas-hogares, precios, vivienda, cuentas-publicas, infraestructuras, mercados, demografia, desigualdad, servicios-publicos, energia-clima, territorios, europa.
consultaNoQué se busca, en español: «paro», «precio de la vivienda», «pensiones». Opcional si se pasa `seccion`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond them: what each result contains (identifier, latest value, official source, geographic levels available) and the no-argument fallback that lists sections. It does not discuss pagination or result ordering, which keeps it from 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-loaded with purpose and the entry-point role, then return contents, then query guidance. The long parenthetical topic list is dense but serves discoverability. Slightly verbose overall, though nearly every clause carries information.

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

Completeness5/5

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

No output schema exists, and the description compensates by describing exactly what is returned (identifier, latest data, source, available geographic levels). Combined with the no-argument behavior and query guidance, an agent has everything needed to call it correctly.

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 description coverage is 100%, so all three parameters are already documented in the schema, making 3 the baseline. The description adds query-phrasing guidance ('en español y con pocas palabras', example queries) and the section-listing behavior, but does not explain the limite or seccion parameters beyond what the schema states.

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?

States a specific verb (busca) and resource (indicadores oficiales de España), enumerates the topical scope, and explicitly positions itself as the entry point ('Es el primer paso: los demás usan ese identificador'), which separates it from consultar_indicador without needing to open 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 concrete usage guidance: query in Spanish with few words, with example queries, and notes that with no arguments it lists sections. It also implies the follow-up flow via the identifier. It stops short of naming the sibling to call next or stating when not to use this tool, so it is strong but not fully explicit about alternatives.

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