Skip to main content
Glama
paulieb89

UK Legal Research MCP Server

Resolve A Hansard Column Citation

parliament_lookup_by_column
Read-onlyIdempotent

Resolve an OSCOLA Hansard citation by providing column and volume numbers to locate the corresponding debate.

Instructions

USE THIS TOOL WHEN you have an OSCOLA-style Hansard citation (column + volume + house) and need the debate.

Example input: 'HL Deb 14 Oct 2025, vol 849, col 200'. AFTER calling, read the contribution at the cited column via read_resource(uri="hansard://debate/{debate_ext_id}/header") — or, equivalently, call parliament_get_debate_contributions(debate_ext_id) for the full list as a structured tool response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYesLookupByColumnInput with column_number, volume_number, house.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
column_numberYesEcho of the requested column number.
volume_numberYesEcho of the requested volume number.
houseYesHouse filter applied.
total_resultsYesNumber of debate matches found.
matchesNoDebate sections containing the cited column, in upstream relevance order. Each element's `debate_ext_id` chains to hansard://debate/{debate_ext_id}/header, and carries `source`/`source_code` for the citation's publication state. Resolution is NOT gated on publication state — Daily Part, Bound Volume, and Historic columns all resolve. Empty matches typically mean the volume number is wrong (running-volume vs bound-volume number), the column is a Written Answer/Statement needing its suffix (e.g. '1162W'), or a very recent column not yet indexed upstream.
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds value by explaining the workflow (resolution then reading contributions) and does not contradict annotations. It does not detail rate limits or error cases but is sufficient given the annotation coverage.

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?

Two sentences: the first concisely states when to use with an example, the second gives precise follow-up instructions. No fluff, every sentence earns its place.

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?

For a tool with 1 parameter (nested object with 3 fields), high schema coverage, and an output schema, the description sufficiently covers the input scenario and the next steps. The agent can correctly select and use the tool without ambiguity.

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 has 100% description coverage, providing detailed descriptions for each parameter (column_number with suffix example, volume_number required, house default). The description adds a concrete example and clarifies the expected input format beyond the schema, so a baseline 3 is upgraded to 4.

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 explicitly states the tool resolves OSCOLA-style Hansard citations to find the corresponding debate, with a clear example. It distinguishes itself from sibling tools like parliament_get_debate_contributions by clarifying it is the first step.

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

Usage Guidelines5/5

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

The description starts with 'USE THIS TOOL WHEN' and specifies the exact citation format required. It also tells the agent what to do after calling the tool, naming alternative tools (read_resource and parliament_get_debate_contributions) and the correct URI format.

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