Skip to main content
Glama

Check & Vote: French and EU parliaments

List political groups

list_groups
Read-onlyIdempotent

List the political groups sitting in a chamber (National Assembly by default, Senate or European Parliament), with their id and acronym. Use it to resolve a group name ('the socialists') to the group id that search_people filters on, and to the acronym that vote tallies carry. Former groups with includeFormer=true.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.
sizeNoItems per page (default 25, maximum 25).
chamberNoNATIONAL_ASSEMBLY, SENATE or EUROPEAN_PARLIAMENT.NATIONAL_ASSEMBLY
includeFormerNoAlso list groups that no longer exist.

Output Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 0.
sizeNoItems requested per page.
itemsNo
truncatedNoPresent when this answer was shortened to stay short: says what was cut and how to get the rest.
totalItemsNoTotal number of items, across all pages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/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 safety is covered. The description adds only that former groups are excluded unless includeFormer=true, which is useful but is essentially a restatement of a parameter default. Pagination behavior and result ordering are left entirely to the schema and output schema.

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?

Two sentences, front-loaded with the resource and scope, and the resolution use case is placed immediately after. The trailing fragment "Former groups with includeFormer=true." is terse and largely duplicates the schema default, costing a little polish but no real waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple, fully-defaulted, read-only list tool with 100% schema coverage and an output schema, the description covers scope, default chamber, return fields, and the practical reason to call it. Nothing an agent needs in order to invoke it correctly is missing.

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?

Schema description coverage is 100%, so every parameter including pagination, chamber enum, and includeFormer is already documented in structured data. The description's mention of the default chamber and the includeFormer flag adds no syntax or format detail beyond what the schema states, so the baseline of 3 applies.

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?

States a specific verb and resource ("List the political groups sitting in a chamber") and specifies the return payload ("their id and acronym"), plus the chamber scope with a named default. An agent can distinguish this from list_votes, list_themes, or search_people 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?

Gives a concrete downstream use case: resolve a group name like "the socialists" to the id that search_people filters on, and to the acronym used in vote tallies. It names the consuming sibling and the condition that makes this tool the right call. It stops short of any when-not guidance or exclusion, so it is clear context rather than a full routing rule.

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