Skip to main content
Glama
paulieb89

UK Legal Research MCP Server

Get Bill Detail

bills_get_bill
Read-onlyIdempotent

Retrieve comprehensive details for UK parliamentary bills including sponsors, current stage, full text summary, and enactment status for legal research and analysis.

Instructions

Get full detail for a specific parliamentary bill.

Returns sponsors, current stage, long title, summary, and Royal Assent date if enacted. Summary text is capped per max_summary_chars — check summary_truncated in the response to see if it was cut.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYesBillDetailInput with bill_id and optional max_summary_chars.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesBill ID
short_titleYesShort title of the bill
long_titleNoFull long title
summaryNoBill summary text, possibly truncated per max_summary_chars. Check summary_truncated and summary_original_length for full-text info.
summary_truncatedNoTrue if summary was cut to fit max_summary_chars
summary_original_lengthNoOriginal summary length in characters before any truncation
current_houseNoHouse where the bill currently sits
originating_houseNoHouse where the bill was introduced
current_stageNoCurrent legislative stage
sponsorsNoBill sponsors
stagesNoLegislative stages the bill has passed through
is_actNoWhether the bill has received Royal Assent
royal_assent_dateNoDate Royal Assent was given
urlYesParliament URL for this bill
Behavior4/5

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

Annotations already indicate read-only, non-destructive, idempotent, and open-world behavior. The description adds valuable context beyond this: it specifies that the summary text may be truncated based on 'max_summary_chars' and to check 'summary_truncated' in the response, which is not covered by annotations. No contradictions with annotations are present.

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?

The description is front-loaded with the core purpose in the first sentence, followed by specific return details and usage notes in subsequent sentences. Each sentence adds value without redundancy, making it efficient and well-structured for quick understanding.

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

Completeness5/5

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

Given the tool's complexity is moderate (retrieving detailed bill data), annotations cover safety and behavior, and an output schema exists (implied by context signals), the description is complete. It explains key return fields and truncation behavior, which complements the structured data without needing to detail all output values.

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%, providing full details for both parameters. The description adds minimal semantics by mentioning 'max_summary_chars' in the context of summary truncation, but this is largely redundant with the schema. Baseline score of 3 is appropriate as the schema handles most parameter documentation.

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?

The description clearly states the verb ('Get') and resource ('full detail for a specific parliamentary bill'), specifying it returns sponsors, current stage, long title, summary, and Royal Assent date. It distinguishes from sibling tools like 'bills_search_bills' by focusing on detailed retrieval of a single bill rather than searching multiple bills.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description implies usage context by mentioning 'bill_id from bills_search_bills results', guiding users to first search for bills. However, it does not explicitly state when not to use this tool or name alternatives, such as for general searches or other parliamentary data, leaving some ambiguity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paulieb89/uk-legal-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server