Skip to main content
Glama

UK Data: UK Parliament committees

written_statement_search

Read-onlyIdempotent

Search UK ministerial written statements by keyword, the formal way ministers announce policy changes, data updates and decisions to Parliament. Returns title, minister and role, department, date, House and an excerpt. Source: UK Parliament Written Statements API (Commons and Lords). It does not cover oral statements made in the chamber or press releases. (cost: 1 credit)

Input Schema

NameRequiredDescriptionDefault
qNostring, required, keyword or phrase
takeNoint, optional, number of results 1-100, default 10

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful context beyond them: the upstream source (UK Parliament Written Statements API, Commons and Lords) and a credit cost of 1 per call. It discloses no pagination or result-cap behaviour, so it lands just above the annotated baseline rather than well above it.

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?

Four sentences, front-loaded with purpose and scope and finished with a compact cost tag; nothing is padded. The one nod to extra length is the explanatory aside about what ministers use statements for, which does earn its place by sharpening disambiguation.

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 compensates by enumerating return fields (title, minister and role, department, date, House, excerpt), plus source and cost. What remains unstated is result ordering, pagination and whether an empty keyword is permitted — minor gaps for a two-parameter search 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 100% with only two parameters, so the schema already documents both q and take. The description reinforces keyword search ('by keyword'), which maps to q, but says nothing about the take parameter, the 1-100 range, or the default of 10. Baseline 3 applies where the schema carries the load.

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?

States a specific verb (Search) and resource (UK ministerial written statements) and immediately explains what a written statement is, so an agent understands the content type without prior knowledge. The exclusions of oral statements and press releases carve it cleanly away from sibling tools such as oral_questions_upcoming and news_search.

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?

Gives a clear positive context (formal ministerial announcements of policy changes, data updates, decisions) and explicit negative scope (no oral statements in the chamber, no press releases). It stops short of naming any sibling tool as the alternative, so routing is inferred rather than directed.

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.

Resources