Skip to main content
Glama

UK Data for Agents

petitions_search

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses a cost of 1 credit and implies a read-only lookup, but says nothing about pagination, default result size, sorting, or any auth/rate-limit constraints.

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 front-loaded sentence plus a parenthetical cost note. Every element earns its place, with no filler or restated metadata.

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 three-parameter search with no output schema, it covers what the tool does and what the results contain (signature counts, state). It stops short of describing result ordering, pagination behavior, or the practical difference between the state values, which leaves gaps an agent must guess at.

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 the schema already documents all three parameters, and this is the baseline case. The mention of "state" loosely reinforces the state filter, but limit and query receive no added meaning from the description.

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?

States a specific verb and resource ("Search UK Parliament petitions") and names the two things that make the result useful (signature counts, state). The petitions domain clearly separates it from govuk_search and legislation_search, though it never explicitly contrasts with them.

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 when-to-use or when-not guidance, and no alternative named. A reader can infer you use it to find petitions, but nothing says whether to pick this over govuk_search for political content or how the state filter should drive the choice.

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