Skip to main content
Glama

¿Cómo va España?

Search Spain data (¿Cómo va España?)

search
Read-onlyIdempotent

Busca en todo lo que ofrece ¿Cómo va España? y devuelve una lista de documentos con su título y su dirección: indicadores, municipios, provincias y comunidades, balances de mandato, leyes, Gobierno, elecciones, encuestas, CIS, Presupuestos, noticias y glosario. Es la herramienta genérica para conectores de investigación; después se lee cada documento con fetch. La consulta va en español. / Generic search over Spain's official statistics, laws, government, elections and polls (query in Spanish); read each result with fetch.

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": {
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesQué se busca, en español: «paro», «alquiler en Málaga», «balance de Rajoy», «ley de vivienda», «encuestas».

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.1/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 openWorld=false, so the safety burden is light. The description adds real behavioral context beyond them: it returns a list of documents with title and address, and the query language must be Spanish — a constraint that materially affects call success. It stops short of noting result limits or pagination.

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 scope and the `fetch` follow-up are front-loaded and the content-type list is compact. Some length comes from the full Spanish/English duplication, which is intentional for a bilingual service but still doubles the text an agent must parse.

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?

An output schema exists, so the description need not explain return values, and annotations cover the safety profile. What remains — coverage breadth, language of the query, and the fetch hand-off — is all present; only result-count or pagination expectations are unstated.

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?

With a single parameter at 100% schema coverage, the schema already documents the field and supplies Spanish example queries. The description's restatement that "la consulta va en español" reinforces rather than adds meaning, so 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 states a specific verb and scope ("Busca en todo lo que ofrece ¿Cómo va España?") and enumerates the resource types covered: indicators, municipalities, laws, elections, polls, budgets, news, glossary. It explicitly distinguishes itself as the generic entry point ("herramienta genérica") versus the narrower siblings, and names `fetch` as the follow-up step, so an agent can place it without opening other schemas.

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 gives clear usage context: use it as the generic research connector, then read each document with `fetch`, and write the query in Spanish. It does not, however, say when to prefer the specialized siblings (buscar_indicadores, buscar_leyes, buscar_votaciones) over this generic one, so the routing guidance is implicit rather than explicit.

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