Skip to main content
Glama
uk-parliament-petitions-civic-mcp

uk-parliament-petitions-civic-mcp

List UK open petitions

list_uk_open_petitions
Read-onlyIdempotent

Retrieve open UK Government and Parliament petitions ordered by signature count to track civic campaigns and identify high-signature issues.

Instructions

List currently open UK Government and Parliament petitions on petition.parliament.uk ordered by signature count.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_uk_open_petitions"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1).
limitNoMaximum petitions to return from the page (default 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds two pieces of context the annotations do not: the authoritative domain (petition.parliament.uk) and the result ordering by signature count. It says nothing about the API's page ceiling, total-count metadata, or whether a page beyond the end returns empty.

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?

A single sentence carrying scope, source, and ordering with no filler. The most discriminating information ('currently open') is front-loaded.

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?

For a two-optional-parameter read-only listing tool with full annotation coverage and no output schema, this is nearly sufficient; the ordering note is genuinely useful. The remaining gap is that nothing tells the agent what a petition record contains or that results are paginated across a capped page size.

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% and both optional parameters (page, limit) document their defaults and bounds, so the schema does the heavy lifting. The description adds no semantics beyond that – no note that limit is capped at 25 by the upstream API or how paging interacts with the signature ordering. Baseline 3 applies.

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 (List), a precisely scoped resource ('currently open UK Government and Parliament petitions'), the source domain, and the sort order. The word 'open' is what separates it from list_uk_closed_petitions and list_uk_debated_petitions, and 'List' separates it from search_uk_petitions without opening any schema.

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 scope ('currently open') implies when this tool applies, but there is no explicit when-to-use, no exclusion such as 'for keyword filtering use search_uk_petitions', and no note about when the closed/debated variants are preferred. The agent must infer the routing from the filter word alone.

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