Skip to main content
Glama
ChrisBrooksbank

UK Parliament MCP Server

get_constituency_latest_election

Fetch a UK constituency's current election result, returning vote counts, the winning candidate, and turnout figures.

Instructions

Get the latest election result for a constituency | constituency election, latest vote, most recent election result | Use when you need the most recent election result for a specific constituency | Returns vote counts, winner, turnout, and candidate details

    Args:
        constituency_id: Unique constituency ID number.

    Returns:
        Latest election result with vote counts, winner, and turnout.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
constituency_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and partially meets it by disclosing the payload shape (vote counts, winner, turnout, candidate details). It says nothing about what happens when no election data exists, permission/auth requirements, or error behavior, so gaps remain for a read tool.

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?

The purpose is front-loaded in the first sentence and the Args/Returns blocks are compact. There is mild redundancy: "latest election result" is restated in the keyword string, the use-when clause, and the Returns section, and the Returns block duplicates the output schema.

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

Completeness3/5

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

An output schema exists, so the Returns block is not strictly needed, and the single parameter is documented. The meaningful gap for this tool is competitive positioning against the many closely titled constituency/member election siblings, which the description never addresses.

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 coverage is 0% — the schema only gives type integer and the label "Constituency Id". The description compensates by explaining that constituency_id is the "Unique constituency ID number", which is genuinely more informative than the bare schema, though it gives no format, range, or sourcing hint.

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+resource ("Get the latest election result for a constituency") so the agent knows exactly what is fetched. However, it does not differentiate itself from near-identical siblings such as get_constituency_election_result and get_election_results_for_constituency, which an agent would need to disambiguate.

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?

"Use when you need the most recent election result for a specific constituency" states a clear triggering condition. It stops short of naming alternatives or exclusions (e.g. when to prefer a specific-election or by-election lookup), so it is clear context without routing guidance.

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

Deploy Server

Other Tools