Skip to main content
Glama
ChrisBrooksbank

UK Parliament MCP Server

get_member_portrait_url

Retrieve the official parliamentary portrait image URL for a UK Parliament member by ID. Use it when you need a direct link to a member's portrait photograph.

Instructions

Get the portrait image URL for a member by ID. Use when you need a link to a member's official parliamentary portrait photograph.

    Args:
        member_id: Parliament member ID to get portrait URL for.

    Returns:
        Portrait image URL 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.5/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. It discloses the input and return shape of a read-only lookup, but says nothing about error or edge behavior (e.g. what happens for an invalid or unknown member_id, or whether a placeholder URL is returned). For a trivial fetch this is acceptable but not rich.

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?

Front-loaded with the purpose, then a short usage sentence, then structured Args/Returns blocks. The Returns line duplicates what the output schema already provides, which is mild redundancy, but overall it is tight and scannable.

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 explained; one required parameter at a trivial tool's complexity means little more is needed. The only meaningful omission is the portrait-vs-thumbnail distinction against a sibling tool.

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%, so the description must compensate. It does clarify that member_id is a 'Parliament member ID', which disambiguates the ID namespace, but adds no format, range, or validity constraints beyond what the schema already conveys via the integer type and required flag.

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+resource combination ('Get the portrait image URL for a member by ID') and scopes it to the official parliamentary portrait photograph, which is clear. However, the sibling get_member_thumbnail_url is an obvious near-duplicate and the description never distinguishes portrait from thumbnail, leaving sibling differentiation to inference.

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

Usage Guidelines3/5

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

'Use when you need a link to a member's official parliamentary portrait photograph' gives an implied usage context, but offers no alternatives or exclusions. It never says when to prefer this over get_member_thumbnail_url, get_mp_profile, or get_members_biography, which is the main routing decision here.

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