Skip to main content
Glama

EuropeScope: EU votes

Rank MEPs

get_mep_rankings
Read-onlyIdempotent

Use this when someone asks which MEPs are most or least present, or most or least loyal to their group. Ranks the sitting MEPs by attendance or by how often they vote against their own political group this term, for the whole Parliament, one country or one group. MEPs with too short a record are not ranked; nor, against the group, those who changed group or have none.

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": {
      "ranking": "<ranking>"
    },
    "name": "get_mep_rankings"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many MEPs, 1 to 50.
orderNoWhich end of the ranking first.highest
rankingYesattendance: share of the roll-calls an MEP took part in. votes_against_group: share of the votes they cast against the majority of their group.
ep_groupNoOnly MEPs of this group: EPP, S&D, PfE, ECR, Renew, Greens/EFA, The Left, ESN, NI.
country_codeNoOnly MEPs of this country, EU code (RO, DE, EL…). Ranks stay those of the whole Parliament.

Output Schema

NameRequiredDescriptionDefault
urlYes
mepsYes
periodYes
rankedYes
rankingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish this as a safe, read-only, idempotent query. The description adds real behavioral context beyond them: MEPs with too short a record are excluded, and for the group-loyalty ranking those who switched group or have none are also dropped, which materially affects result interpretation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the use case, then the mechanics and the exclusion caveat. No redundant phrasing or repetition of schema detail.

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?

Return values need no explanation because an output schema exists, and the description covers both scope and caveats. What remains thin is guidance on how the limit interacts with ranking depth, but that is adequately handled by the schema.

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 100% schema description coverage, the schema already documents ranking, order, limit, group and country semantics in detail. The description only restates the scope dimension and the exclusion rules; it adds little parameter-level meaning beyond the schema, so baseline 3 applies.

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?

The description names the specific resource (sitting MEPs) and the two concrete ranking bases (attendance, voting against one's group), so an agent can tell it apart from per-MEP tools like get_mep_voting_record. It stops short of explicitly contrasting itself with named siblings, which would earn a 5.

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 opening clause gives a clear trigger ('when someone asks which MEPs are most or least present, or most or least loyal'), and the scope options (whole Parliament, one country, one group) signal how to shape the call. No explicit 'use X instead' routing is offered, so it does not reach the top of the scale.

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