Skip to main content
Glama

¿Cómo va España?

Gobierno de España y gobiernos autonómicos

gobierno
Read-onlyIdempotent

Quién gobierna: el presidente, los vicepresidentes y los ministros del Gobierno de España con su cartera, su partido y desde cuándo están (según La Moncloa), si el Gobierno está en funciones, los ministerios sin titular y los cambios de Gobierno. Con ver: "historico", todos los gobiernos desde 1977; con ver: "comunidades", el presidente y la fórmula de gobierno de cada comunidad autónoma. Úsalo para «¿quién es el ministro de Sanidad?», «¿quién preside Aragón?» o «¿cuántos gobiernos tuvo González?».

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

Input Schema

NameRequiredDescriptionDefault
verNo`actual` (por defecto): el Gobierno de hoy. `historico`: los gobiernos desde 1977. `comunidades`: los gobiernos autonómicos.
consultaNoPara filtrar: un ministerio o una persona («sanidad», «Robles») en `actual`; una comunidad, un presidente o un partido en `comunidades`.

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.3/5.0
Behavior4/5

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

The annotations already declare read-only, idempotent, non-destructive, closed-world behavior. The description adds useful behavioral context beyond that: La Moncloa as the source, coverage of acting governments, ministries without a holder, government changes, historical scope since 1977, and autonomous-community coverage.

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 description is front-loaded with the core purpose and then explains the modes before giving examples. It is dense but efficient; every clause contributes scope, mode behavior, or usage examples, though the single long paragraph could be easier to scan.

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?

There is no output schema, so the description carries the burden of explaining what information is returned. It does this well by listing the people, roles, party, start dates, acting status, vacant ministries, historical governments, and community-level data, though it does not describe exact response structure.

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 the baseline is 3; the description still adds value by illustrating what `consulta` accepts («sanidad», «Robles», communities, presidents, parties) and by reinforcing what each `ver` mode returns. It goes beyond merely restating the enum values.

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 query resource: who governs in Spain and the autonomous communities, including president, vicepresidents, ministers, portfolios, party, start dates, acting-government status, vacant ministries, and government changes. It also clearly maps each `ver` mode to its scope, so an agent can tell what the tool returns without opening the 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?

It gives concrete usage examples («¿quién es el ministro de Sanidad?», «¿quién preside Aragón?», «¿cuántos gobiernos tuvo González?») and explains which `ver` value supports each kind of question. It does not explicitly name alternatives or exclusions, but the context for when to use it is clear.

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