Skip to main content
Glama

EP Votes

Get an MEP's record

get_mep
Read-onlyIdempotent

Use this when the user asks about one Member of the European Parliament: country, political group, committees, how often they vote with their group, where they broke with it, and their recent roll-call votes. Takes an MEP id or a name. Set topic to keep only votes whose label, agenda item topic or dossier title contains those words (e.g. "digital euro", "Mercosur"). Set from and to to read one period; page through all votes of the term with page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoOptional: only votes on or before this day, YYYY-MM-DD.
mepYesThe MEP id (e.g. "124834") or name (e.g. "Martin Sonneborn").
fromNoOptional: only votes on or after this day, YYYY-MM-DD.
pageNoPage of votes, 25 per page, newest first (400 pages reach 10,000 votes; use from and to for older votes of a busy term).
topicNoOptional: only votes whose label, agenda item topic or dossier title contains these words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "Optional: only votes on or after this day, YYYY-MM-DD.",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • changedInput schema / properties / page / description
      Previous value: -"Page of votes, 25 per page, newest first."New value: +"Page of votes, 25 per page, newest first (400 pages reach 10,000 votes; use from and to for older votes of a busy term)."
    • changedInput schema / properties / page / maximum
      Previous value: -50New value: +400
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "Optional: only votes on or before this day, YYYY-MM-DD.",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • changedInput schema / properties / topic / description
      Previous value: -"Optional: only votes whose titles contain these words."New value: +"Optional: only votes whose label, agenda item topic or dossier title contains these words."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds behavior the annotations don't: it accepts either an id or a name, describes what 'topic' matches against (label, agenda item topic, dossier title), and explains the paging model for the whole term.

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?

It is front-loaded: the 'use this when' trigger comes first, followed by parameter hints in a logical order. A couple of sentences restate what the schema already spells out (from/to date filtering), which is minor redundancy but keeps it just below the top mark.

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 saying what comes back, and it does so by enumerating the record's contents (group, committees, cohesion, defections, recent votes). Pagination limits are covered by the schema. It does not describe result shape or error cases, which is why it lands at 4.

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 description coverage is 100%, so baseline is 3. The description still adds real meaning: it clarifies topic is a substring match across three fields with concrete examples ('digital euro', 'Mercosur'), and ties from/to and page together into a 'read one period vs page through the term' strategy, which is cross-parameter guidance the schema does not provide.

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?

Opens with a specific trigger ('when the user asks about one Member of the European Parliament') and enumerates the returned content: country, political group, committees, group-cohesion rate, defections and recent roll-call votes. The resource is unambiguously a single MEP, which cleanly separates it from get_vote, list_votes, get_dossier and compare_groups.

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?

The lead sentence gives a clear use context ('the user asks about one MEP'), and the following sentences give practical routing for narrowing by topic, by date range, or by paging through the term. It stops short of naming an explicit alternative or a when-not condition, so a 4 rather than 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