Skip to main content
Glama

politics_search

Search UK Parliament debates, written questions, and member activity (Hansard). Best for civic-tech tools, legislative monitoring, policy research, and AI-driven political analysis workflows. Costs 40 credit(s) per call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "politics_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesNatural-language search query
end_dateNo
start_dateNo
country_codeNo
max_num_resultsNo
relevance_thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/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 the data source scope and a 40-credit cost per call. It does not explain result format, pagination, rate limits, date handling, or other operational constraints that an agent would need for reliable invocation.

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?

The description is short and front-loads the core search scope before listing use cases and cost. The use-case sentence is somewhat broad but still relevant; overall it avoids unnecessary length.

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

Completeness2/5

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

For a six-parameter search tool with no annotations, no output schema, and very low schema description coverage, the definition is incomplete. It explains purpose and cost but omits enough parameter and result behavior detail to leave invocation ambiguous.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17%, and only the query parameter is documented in the schema. The description does not clarify date formats, country_code behavior, relevance_threshold semantics, or the maximum of 5 for max_num_results, so it does not compensate for the low schema coverage.

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 states a specific verb and resource: searching UK Parliament debates, written questions, and member activity via Hansard. It is clear what the tool retrieves, though it does not explicitly differentiate itself from sibling search tools such as uk_legal_search or 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 Guidelines3/5

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

It provides use-case contexts such as legislative monitoring, policy research, and civic-tech workflows, which implies when the tool is appropriate. However, it gives no explicit when-not-to-use guidance and does not name alternatives or selection criteria among the many sibling search tools.

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