Skip to main content
Glama
uk-parliament-commons-votes-mcp

uk-parliament-commons-votes-mcp

Get UK House of Commons division details

get_uk_commons_division_details
Read-onlyIdempotent

Fetch Aye and No vote counts, party breakdowns, tellers, and sample voters for a UK House of Commons division ID to analyze how MPs voted.

Instructions

Fetch Aye and No counts, party vote breakdowns, tellers, and sample voters for a House of Commons division ID.

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": {
      "division_id": "<division_id>"
    },
    "name": "get_uk_commons_division_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
division_idYesNumeric UK Commons division ID (for example 2517).
include_sample_votersNoInclude up to 15 sample Aye and No voters (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context by listing exactly what data comes back (counts, party breakdowns, tellers, sample voters), but says nothing about the sample-voter default, result size, or failure behavior for unknown IDs.

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?

A single dense sentence that front-loads the action and then enumerates the payload. Every clause carries information and there is no filler or repetition of the title.

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 correctly compensates by naming the returned fields, which is the most important missing structured information. For a simple two-parameter read tool it is nearly complete, with only minor gaps around the optional flag's effect and error cases.

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 both parameters are already documented, including the default-true behavior of include_sample_voters. The description's mention of 'sample voters' loosely maps to that flag but adds no syntax, format, or constraint detail beyond the schema, so the baseline of 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 uses a specific verb ('Fetch') with a named resource ('House of Commons division ID') and enumerates the returned content: Aye/No counts, party vote breakdowns, tellers, and sample voters. That is enough to distinguish it from siblings like get_uk_commons_division_count or search_uk_commons_divisions, though it never names those alternatives explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of the sibling tools. The only implied condition is that the caller already possesses a numeric division ID, which the agent must infer from the phrase 'for a House of Commons division ID'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.