Skip to main content
Glama

Check & Vote: French and EU parliaments

Parliamentary activity of a person

get_person_activity
Read-onlyIdempotent

Get a parliamentarian's participation in roll-call votes and how often they vote with their group. Use it for 'is X active / loyal to their group?'. An error says when the person has no parliamentary mandate.

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": {
      "personId": "<personId>"
    },
    "name": "get_person_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
personIdYesPerson identifier, from search_people.

Output Schema

NameRequiredDescriptionDefault
toNoEnd of the period.
fromNoStart of the period.
absentNoVotes the person was absent from.
byProxyNoVotes cast by proxy.
chamberNoChamber.
loyaltyNoAlignment with the person's group.
preventedNoVotes the person was prevented from.
truncatedNoPresent when this answer was shortened to stay short: says what was cut and how to get the rest.
textsFiledNoTexts filed.
legislatureNoLegislature.
participatedNoVotes the person took part in.
votesCountedNoVotes retained for the measure.
votesInPeriodNoRoll-call votes held over the period.
voteCorrectionsNoVote corrections (mises au point).
participationRelevantNoFalse when the participation rate is not meaningful for this chamber or period.

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 declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: an error is surfaced when the person has no parliamentary mandate, which tells the agent how a null-result case manifests.

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?

Three short sentences: what it returns, when to use it, and the error case — each front-loaded and earning its place with no filler.

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 return values need not be described, and annotations cover safety. The only remaining gap is the aggregation window (all votes, or a period), which an agent might want to know before interpreting loyalty rates.

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?

There is a single parameter at 100% schema description coverage that already explains personId comes from search_people. The description adds no syntax, format or constraint detail beyond the schema, so the 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 gives a specific verb and resource: returns a parliamentarian's participation in roll-call votes plus the rate at which they vote with their group. That is clearly distinct from get_person_votes (raw vote listing) even though the sibling is not named explicitly.

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 supplies a concrete framing question, 'is X active / loyal to their group?', which tells the agent exactly which intent this tool serves. It stops short of naming an alternative tool or stating when not to use it, so it is clear context without exclusions.

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