Skip to main content
Glama

Es la hora de la verdad (Congreso de los Diputados)

Voto de un diputado en una votación

voto_de_diputado
Read-onlyIdempotent

Qué votó un diputado en una votación con ficha (Sí, No, Abstención o No votó), su grupo en ese momento y si votó distinto de la mayoría de su grupo. Cada respuesta incluye «url», la página de la web que respalda los datos, y su «atribucion»: la licencia CC BY 4.0 exige citar la fuente y enlazar esa página.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
diputadoYesNombre, identificador o dirección de su ficha.
votacionYesIdentificador de la votación o dirección de su ficha.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare the safe read-only/idempotent profile, and the description adds real value beyond them: it enumerates the possible vote outcomes and discloses a licensing obligation (CC BY 4.0) requiring attribution and source linking, plus the returned «url». This is useful operational context a caller would otherwise not know.

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?

Content is front-loaded: what is returned, then per-response fields and the attribution rule. Two dense sentences with little waste, though the attribution clause runs on.

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 compensates by naming the returned fields (vote, group at the time, majority divergence, url, atribucion), which is exactly what an agent needs to use the result. It stops short of stating error/missing-record behavior, a minor gap.

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?

Both parameters are documented at 100% coverage in the schema (name/id/ficha URL for the deputy and votación), so the schema carries the semantics. The description adds nothing about accepted identifier formats or matching behavior, meriting the baseline score.

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

Purpose4/5

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

Names a specific verb+resource (a deputy's vote in a specific votación) and enumerates the answer's shape (Sí, No, Abstención, No votó, group, majority divergence). It is clearly a fine-grained lookup, distinct from session-level siblings like ver_votacion, but it never names the sibling it must not be confused with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'given a deputy and a votación, return their vote'. There is no explicit statement of when to pick this over ver_votacion (whole-session results) or ver_diputado (profile), and no prerequisites for the two required inputs.

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