Skip to main content
Glama

opendata__uk_parliament_members

Search UK Parliament members — MPs and Lords — by name, e.g. query "Smith": party, constituency or house, and membership details. Source: UK Parliament Members API. License: Open Parliament Licence.

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": {
      "query": "<query>"
    },
    "name": "opendata__uk_parliament_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses provenance (UK Parliament Members API) and licensing (Open Parliament Licence) and gestures at returned fields, but says nothing about pagination, result ordering, or whether matching is partial/fuzzy versus exact.

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?

Single front-loaded sentence with the search scope and example up front; source and license notes are short provenance tags rather than bloat. Nothing is repeated or wasted, though the em-dash clause could be split for readability.

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 only two parameters, no output schema, and no annotations, the definition needs to cover what comes back — and it does roughly by naming party, constituency/house, and membership details. Residual gaps are search semantics (partial vs exact matching) and result ordering.

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?

The schema's query parameter explicitly defers to the description ('see the tool description for what it expects'), and the description answers with a name-based example ('Smith'). That extra meaning justifies above baseline; only the limit parameter is left entirely to the schema.

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?

Specific verb+resource ('Search UK Parliament members') with the scope made explicit ('MPs and Lords') and a concrete example query ('Smith'). No sibling tool covers members of Parliament, so the resource alone distinguishes it from the catalog/geo open-data siblings.

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?

The tool implies usage through an example ('query "Smith"'), but the phrase 'party, constituency or house, and membership details' reads ambiguously as either returned fields or searchable fields, so it is unclear what the query can match beyond a name. No when-not-to-use guidance or alternatives are offered.

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.