Skip to main content
Glama
paulieb89

UK Legal Research MCP Server

Search UK Parliament Petitions

parliament_search_petitions
Read-onlyIdempotent

Search UK Parliament petitions by keyword to retrieve title, status, signature count, and dates for government response or debate.

Instructions

Search UK Parliament petitions by keyword.

Returns petition title, state, signature count, and dates for government response or parliamentary debate if applicable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYesPetitionSearchInput with query and optional state filter.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe term that was searched in petitions
stateYesPetition state filter applied to this query
offsetNoSkip applied to this page
limitNoPage size requested
totalYesNumber of petitions returned in this call
has_moreNoTrue if a full page was returned (more may exist)
petitionsNoMatching petitions (title, state, signature count, key dates, URL).
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds return field details but no behavioral traits beyond what schema and annotations provide. No contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no wasted words. Purpose is front-loaded. Every sentence adds value.

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?

Given the output schema exists, description doesn't need to detail return format, but it still mentions key fields. However, it omits pagination hints that are present in schema descriptions.

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%, so parameter descriptions already provide full meaning. The description offers no additional insight beyond that.

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?

The description clearly states the tool searches UK Parliament petitions by keyword and lists the returned fields (title, state, signature count, dates). This distinguishes it from siblings like parliament_search_hansard, which searches debates.

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

Usage Guidelines2/5

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

No guidance on when to use this tool vs. alternatives like parliament_search_hansard or parliament_find_member. No mention of exclusions or specific use cases.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paulieb89/uk-legal-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server