Skip to main content
Glama

Uk Parliament Get Bill

uk_parliament_get_bill
Read-onlyIdempotent

Fetch full detail for a UK Parliament bill by numeric bill_id, returns title, short title, sponsors, current stage, originating house, sessions, and summary description.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
bill_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds only a list of returned fields, which duplicates the existing output schema, and says nothing about error behavior for an invalid or nonexistent bill_id.

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 identifies the resource before enumerating outputs; no filler. The trailing field list is somewhat wasted since an output schema already exists.

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 one-parameter read-by-identifier tool with annotations and an output schema, the description covers the essentials. Missing only failure-case behavior for an unknown ID, which is a minor gap given the simplicity.

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

Parameters4/5

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

Schema description coverage is 0%, but the single parameter is self-naming and the description reinforces it as 'numeric bill_id', telling the agent to supply an ID rather than a title. No format example or valid-range guidance is given, keeping it from a 5.

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 ('Fetch full detail for a UK Parliament bill') and its key constraint ('by numeric bill_id'), which implicitly separates it from uk_parliament_search_bills. It doesn't explicitly name the search sibling, so it stops short of a 5.

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 phrase 'by numeric bill_id' implies this is the direct-lookup path after an ID is known, but the description never states when to prefer this over searching, nor what to do if only a title is known. Usage is inferable but not spelled out.

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.