Skip to main content
Glama
ChrisBrooksbank

UK Parliament MCP Server

get_member_latest_election_result

Retrieve a UK Parliament member's election result by ID, including vote share and margin, to research constituency performance.

Instructions

Get the latest election result for a member by ID. Use when researching how a member was elected, their constituency performance, vote share, or election margin. See also: get_election_results_for_constituency.

    Args:
        member_id: Parliament member ID to get latest election result for.

    Returns:
        Latest election result for the member.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
member_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden, and it discloses little beyond the operation itself. It implies a read-only 'latest result' lookup but says nothing about behavior for members with no election record, null/no-contest handling, or whether results are historical only. For a simple lookup this is adequate but thin.

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 sentence and usage trigger are front-loaded and waste no words. The trailing 'Args:'/'Returns:' boilerplate is largely redundant given the input schema and the existing output schema, which is the only drag on conciseness.

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?

An output schema exists, so the description need not narrate return values, and the single required parameter is named in the schema. Purpose, usage trigger, and an adjacent tool pointer give an agent enough to invoke it correctly.

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 0% and there is one parameter, so the description must compensate. It loosely describes member_id as a 'Parliament member ID', which adds mild meaning over the raw integer type, but gives no source, format, or coverage hints (e.g., Commons vs Lords, historical members).

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?

States a specific verb and resource ('Get the latest election result for a member by ID'), and the 'for a member' scope distinguishes it from sibling tools like get_election_results_for_constituency and get_constituency_latest_election. It stops short of explicitly contrasting the member-scoped tool with those constituency-scoped siblings beyond a 'See also' pointer.

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?

Explicitly names the research scenarios that select this tool: how a member was elected, constituency performance, vote share, or election margin. It also references an alternative (get_election_results_for_constituency) but does not state when that alternative is preferred over this one.

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