Skip to main content
Glama

UK Data for Agents

petitions_search

Read-onlyIdempotent

Search UK Parliament petitions with signature counts and state. (cost: 1 credit)

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": "petitions_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNonumber
queryNostring, required
stateNoopen|closed|rejected|all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/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 structurally. The description contributes one genuinely new behavioral fact -- the '(cost: 1 credit)' charge -- but says nothing about pagination, result caps, rate limits or how the 'state' filter affects results.

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?

A single front-loaded sentence that states the resource and the returned fields, with the cost note appended compactly. No filler or redundancy, though there is minimal structure for an agent to parse beyond one clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only search with no output schema, the description is adequate but thin: it indicates return contents yet omits result shape, pagination behavior and how the state filter interacts with the query. Since there is no output schema, some of the return-value burden falls on the description and is only partially met.

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 listed at 100%, so the documented baseline of 3 applies. However, the description adds no real meaning beyond the schema; it echoes 'state' without explaining the allowed values (open|closed|rejected|all) or how 'limit' behaves, so it does not compensate for the schema's thin type-only descriptions.

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?

The description names a specific verb and resource ('Search UK Parliament petitions') and adds what comes back ('signature counts and state'), so an agent knows exactly what the tool retrieves. It does not need to differentiate from siblings like food_alerts or legislation_search, since those are other content domains, but it also does no explicit sibling routing.

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?

There is no when-to-use guidance, no mention of when to prefer this over govuk_search or legislation_search, and no stated prerequisites or exclusions. The only cue is the verb 'Search', which leaves the agent to infer applicability from the name alone.

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