UK Legal Research MCP Server
This MCP server connects AI assistants to UK legal and parliamentary data through 24 read-only tools (23 require no API keys) across 8 modules:
Case Law
Search UK judgments by full text, court, judge, party, or date range
Search within a specific judgment using text/regex patterns
Access judgment headers, paragraph indexes, and individual paragraphs via URI templates
Legislation
Search Acts of Parliament and Statutory Instruments by title or full text
Retrieve tables of contents, specific sections (with territorial extent and in-force status), and point-in-time historical versions
Parliament
Search Hansard debates by keyword, member, or date
Run a "vibe check" on a policy topic — uses LLM sentiment analysis to identify supporters, opponents, and concerns
Look up MPs/Lords by name; retrieve their debate contributions and registered financial interests (donations, shareholdings, directorships)
Search Parliament petitions by keyword and state
Bills
Search parliamentary bills by keyword, session, house, or stage
Get full bill details: sponsors, legislative stages, long title, and Royal Assent date
Votes
Search Commons and Lords division records by keyword or date
Get full division details including how each member voted
Committees
Search select committees by name and house; get membership and contact details
Search oral and written evidence submitted to committees
Citations (OSCOLA)
Parse and classify all OSCOLA citations from free text (neutral citations, law reports, legislation, SIs, retained EU law)
Resolve a single citation to its canonical TNA or legislation.gov.uk URL
Map the full citation network of a judgment
HMRC Tax
Look up UK VAT rates for any commodity or service
Check a business's Making Tax Digital (MTD) VAT mandate status (requires HMRC OAuth credentials)
Search GOV.UK for HMRC guidance documents
Workflow Prompts — four built-in multi-step research workflows: summarise_act, compare_legislation, policy_vibe_check, and member_position_analysis.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@UK Legal Research MCP Serversearch for recent Supreme Court judgments regarding duty of care"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
uk-legal-mcp
UK legal research sources for your AI assistant.
uk-legal-mcp connects ChatGPT, Claude, VS Code, Cursor, and other MCP-aware clients to UK case law, legislation, Hansard, bills, votes, committees, OSCOLA citation parsing, and HMRC guidance. It returns primary source text and citation metadata so your agent can build evidence packs you can check and footnote.
No API keys are required for the legal sources. HMRC's authenticated Making Tax Digital endpoint is optional.
For best results, tell your assistant to use the uk-legal-mcp server and not to answer from memory when a UK legal source can be checked.
Quick Start
Use the hosted MCP endpoint:
https://uk-legal-mcp.fly.dev/mcpFor clients that use mcpServers JSON:
{
"mcpServers": {
"uk-legal": {
"type": "http",
"url": "https://uk-legal-mcp.fly.dev/mcp"
}
}
}For local stdio use:
uvx uk-legal-mcpClaude Desktop local config:
{
"mcpServers": {
"uk-legal": {
"command": "uvx",
"args": ["uk-legal-mcp"]
}
}
}If a hosted tool stops responding, refresh the server from your client's Apps / Customise menu. For very large Acts, local mode can be more reliable because it uses your own IP rather than a shared cloud IP.
Related MCP server: legal-mcp
Try This First
After connecting the server, start a fresh chat and ask:
I am checking a UK legal source. Only use uk-legal-mcp. Find the source, give me the source URL, and tell me what metadata I should check before relying on it.For legal work, ask for an evidence pack rather than a bare answer:
Only use uk-legal-mcp. Give me the source text or source summary, the source URL, citation metadata, and any caveats about jurisdiction, version, or uncertainty.See the lawyer guide for ready-to-run prompts.
What It Covers
Source area | What your assistant can check |
Case law | UK judgments from TNA Find Case Law, including neutral citations, court, date, judgment metadata, paragraph reads, and in-judgment search. |
Legislation | Acts and Statutory Instruments from legislation.gov.uk, including tables of contents, sections, territorial extent, in-force signals, and point-in-time reads. |
Parliament | Hansard debates and contributions, debate-to-division chains, member biographies, column references, and petitions. |
Bills | Parliamentary Bills, stages, sponsors, publications, and bill history. |
Votes | Commons and Lords divisions, counts, results, and per-member voting records. |
Committees | Select committees, memberships, oral evidence, and written evidence. |
Citations | OSCOLA-style citation parsing and resolution to canonical sources. |
HMRC | VAT rate lookups, GOV.UK HMRC guidance search, and optional authenticated MTD VAT status checks. |
The server also exposes judgment://, legislation://, and hansard:// resources for source text that is too large to return in a single search result.
Full details are in the tool reference and upstream API reference.
Examples
Legislation check: the assistant finds the Worker Protection Act duty, commencement position, territorial extent, and source links.

Parliamentary evidence: the assistant follows a House of Lords debate into a division result for an Automated Vehicles Bill amendment.

More examples are in the lawyer guide.
Using It Safely
uk-legal-mcp helps your AI assistant find and quote UK legal sources. It does not replace legal judgement.
Check jurisdiction. Legislation can apply differently in England, Wales, Scotland, and Northern Ireland. When reading a section, check the
extentfield before relying on it.Check whether a provision is current. Some sections may be repealed, amended, prospective, or not yet in force. The server returns in-force and version-date information where the source provides it.
Verify citations before relying on them. Ask the agent to resolve case citations and Hansard volume/column references against the primary source.
Separate exact matches from nearby candidates. Case names and party names can be similar. A good answer should say which source was verified and which candidates were merely related.
Treat the result as an evidence pack. The server returns primary source text and citation metadata. Your agent can summarise it, but you decide how the law applies.
For Developers
Run the streamable HTTP server locally:
python -m src.gatewayRun the declarative FastMCP manifest for inspection/dev tooling:
fastmcp run
fastmcp inspectfastmcp run is for inspection/dev only — it wraps the FastMCP runner directly and skips the production uvicorn shape (_HttpGuard, _AcceptNormalizer, proxy_headers) that python -m src.gateway wires for the Fly deployment. The _HttpGuard GET-SSE shim is required by claude.ai's web connector, so use python -m src.gateway for anything prod-like.
Use a local checkout over stdio:
{
"mcpServers": {
"local-uk-legal": {
"command": "uv",
"args": ["run", "--project", "<abs-path>", "uk-legal-mcp"],
"env": { "VIRTUAL_ENV": "" }
}
}
}Release notes live in CHANGELOG.md.
Available Tools
35 toolsbills_get_billGet Bill DetailARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a bill_id (from bills_search_bills) and want the full detail.
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.
AFTER calling, use parliament_search_hansard(query=bill_short_title) to find the bill's parliamentary debates, or bills_search_bills with a related keyword for adjacent bills.
| Name | Required | Description | Default |
|---|---|---|---|
| bill_id | Yes | Bill ID from bills_search_bills results. | |
| max_summary_chars | No | Maximum characters of the bill summary text to return. Default 5,000 (~1,250 tokens) covers most bills. Raise for substantive government bills (Finance Act, Levelling-up) whose summary runs longer. Check summary_truncated in the response to see if it was cut. |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | Bill ID |
| url | Yes | Parliament URL for this bill |
| is_act | No | Whether the bill has received Royal Assent |
| stages | No | Legislative stages the bill has passed through |
| summary | No | Bill summary text, possibly truncated per max_summary_chars. Check summary_truncated and summary_original_length for full-text info. |
| sponsors | No | Bill sponsors |
| long_title | No | Full long title |
| short_title | Yes | Short title of the bill |
| current_house | No | House where the bill currently sits |
| current_stage | No | Current legislative stage |
| originating_house | No | House where the bill was introduced |
| royal_assent_date | No | Date Royal Assent was given |
| summary_truncated | No | True if summary was cut to fit max_summary_chars |
| summary_original_length | No | Original summary length in characters before any truncation |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnly, idempotent, and non-destructive. The description adds concrete behavioral detail about summary truncation and the summary_truncated response flag, which helps the agent anticipate output limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact, roughly four sentences, with a clear 'USE THIS TOOL WHEN' lead and no redundant filler. Each segment (condition, returns, follow-up) earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With a comprehensive output schema, read-only annotations, and full parameter documentation, the description covers the essential context: when to call, what it returns, truncation behavior, and suggested subsequent actions. It's complete for the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already documents both parameters comprehensively (source of bill_id, default and bounds for max_summary_chars), so the description's mention of truncation adds a minor cross-reference to the response flag but doesn't materially expand on the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves full bill detail including sponsors, current stage, long title, summary, and Royal Assent date, and specifies the trigger condition (having a bill_id from bills_search_bills). This distinguishes it from the sibling search tool by framing it as the detail-fetching follow-up.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description opens with an explicit conditional: 'USE THIS TOOL WHEN you have a bill_id (from bills_search_bills) and want the full detail.' It also provides a clear follow-up action (parliament_search_hansard) and alternative search suggestion, though it doesn't explicitly name competing tools to exclude.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
bills_search_billsSearch Parliamentary BillsARead-onlyIdempotentInspect
USE THIS TOOL WHEN searching UK parliamentary bills by keyword, session, house, or legislative stage.
Returns a paginated page of bill summaries (title, originating and current house, current stage, whether it became an Act). AFTER calling, pass a bill_id into bills_get_bill for full detail (sponsors, long title, Royal Assent date).
Authoritative source for UK parliamentary bill status.
| Name | Required | Description | Default |
|---|---|---|---|
| house | No | Filter by originating house: the House the bill was introduced in, wherever it sits now. Omit (or 'All') for all houses. | |
| limit | No | Maximum bills to return in this call. Default 20 keeps responses focused; raise up to 100 for bulk exports. | |
| query | Yes | Search term for bill titles and descriptions, e.g. 'online safety' or 'financial services'. | |
| stage | No | Filter by current legislative stage. | |
| offset | No | Number of results to skip before this page. Default 0 for the first page. Re-call with offset=offset+returned while has_more is true to paginate. | |
| session | No | Numeric parliamentary session ID (e.g. 40 = 2024-25, 39 = 2023-24). NOT a year string like '2025'. If you only know the year, omit this and filter the results instead. Omit to search all sessions. |
Output Schema
| Name | Required | Description |
|---|---|---|
| bills | No | Matching bills. Use the integer `id` field from any bill to call bills_get_bill for full detail. |
| limit | Yes | Maximum results requested in this call |
| query | Yes | The search term that was used |
| total | No | Total results matching the query across all pages, if the upstream API reported it. None if unknown. |
| offset | Yes | Number of results skipped before this page |
| has_more | Yes | True if more results exist beyond this page. Re-call with offset=offset+returned to fetch the next page. |
| returned | Yes | Number of results actually on this page |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds value beyond the readOnlyHint annotation by detailing the return structure (paginated page of bill summaries with title, houses, stage, Act status) and mentioning pagination implicitly. It also notes the workflow to bills_get_bill. However, it does not disclose potential rate limits or error conditions, though these are minor for a read-only search. The description is consistent with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured: it leads with the usage trigger, then the return summary, then the follow-up workflow, and ends with a credibility statement. Every sentence serves a purpose with no fluff, and the most important usage guidance is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the essential usage context: when to use, what it returns, and how to follow up. It mentions pagination and the fields returned, which aligns with the output schema. The guidance to use bills_get_bill for detail completes the workflow. For a search tool with a rich schema and output schema, this is comprehensive.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so all parameters are already well-documented in the input schema. The description mentions search dimensions (keyword, session, house, stage) which map to parameters, but it does not add further semantic depth beyond what the schema provides. It appropriately relies on the schema's detailed parameter descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states the tool's function: searching UK parliamentary bills by keyword, session, house, or legislative stage. It clearly distinguishes itself from the sibling bills_get_bill, which provides full detail, by noting it returns summaries. The purpose is unambiguous and differentiated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description begins with 'USE THIS TOOL WHEN searching...' which is an explicit usage instruction. It also directs the agent to bills_get_bill after calling for full detail, clearly defining when to use this tool versus its sibling. The statement 'Authoritative source for UK parliamentary bill status' further reinforces its intended role.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
case_law_grep_judgmentSearch within a UK Court JudgmentARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a judgment slug and want to find paragraphs whose text matches a pattern.
Returns a list of {eId, snippet, match} hits — small per-paragraph
snippets centred on the match. AFTER calling, read full paragraphs via
judgment_get_paragraph(slug, eId) or the judgment://{slug}/para/{eId}
resource.
Use case: content search within one judgment (e.g. "negligence", "test for foreseeability", "Donoghue"). For paragraph-number navigation by eId, call judgment_get_index instead.
Pattern is regex; if it doesn't compile, falls back to literal substring search.
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | TNA judgment slug, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450'. | |
| pattern | Yes | Regex pattern (or plain substring) to search within paragraph text. If the pattern doesn't compile as regex, falls back to literal substring match. | |
| max_hits | No | Cap on number of hits returned. | |
| case_insensitive | No | Default true. Set false for case-sensitive matching. |
Output Schema
| Name | Required | Description |
|---|---|---|
| hits | Yes | Matching paragraphs in document order |
| slug | Yes | The judgment slug that was searched |
| pattern | Yes | The pattern that was searched for |
| truncated | Yes | True if hit count reached max_hits and more matches may exist |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, covering safety. The description adds valuable behavioral context: it returns only small snippets (not full paragraphs), and it discloses the regex fallback to literal substring search if compilation fails. This goes beyond the annotations and is helpful for setting expectations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and front-loaded with a directive usage trigger, followed by concise notes on return format, post-processing, and fallback behavior. It contains no redundant filler, though the 'AFTER calling' clause could be seen as slightly verbose but is still informative.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (4 parameters, output schema present), the description covers purpose, usage, output format, and follow-up actions, which is sufficient for tool selection. It does not mention max_hits or case_insensitive defaults, but those are already well-documented in the schema, so the description need not repeat them.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description does not add new parameter-level meaning beyond the schema; it only restates the regex fallback already present in the pattern property description. The schema itself documents all four parameters well, so no extra benefit is derived from the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states that the tool searches paragraphs within a specific UK court judgment matching a pattern, using a specific verb and resource. It also distinguishes from siblings by explicitly mentioning judgment_get_index for paragraph-number navigation and judgment_get_paragraph for reading full paragraphs.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description opens with 'USE THIS TOOL WHEN you have a judgment slug and want to find paragraphs whose text matches a pattern', providing a clear trigger condition. It also gives a concrete use case, an explicit alternative for index navigation, and follow-up guidance to retrieve full paragraphs, making usage guidance explicit and actionable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
case_law_searchSearch UK Case LawARead-onlyIdempotentInspect
USE THIS TOOL WHEN searching UK case law by party names, court, judge, date, or free-text query.
Returns paginated judgment summaries: neutral citation, court, dates, slug, stable TNA URI. AFTER calling: pass slug into judgment_get_header / judgment_get_index / judgment_get_paragraph (or the judgment:// resource family) for content; pass the neutral citation into citations_resolve to verify before constructing an OSCOLA citation; use case_law_grep_judgment to find text within a single judgment. When a party name returns several candidates, narrow with court + year filters before grep-iterating across full judgments — targeted filtering beats scanning every candidate.
Coverage: TNA Find Case Law indexes UK judgments from roughly the early 2000s onwards. For older authorities, search for a modern judgment that quotes them and read that paragraph.
Authoritative source for UK case law. Web search returns out-of-date or unstable URLs — do not supplement.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Result page number (1-indexed) | |
| court | No | Filter by court slug. Values: 'uksc', 'ukpc', 'ewca/civ', 'ewca/crim', 'ewhc/kb', 'ewhc/ch', 'ewhc/comm', 'ewhc/fam', 'ewhc/pat', 'ewhc/ipec', 'ewhc/admin', 'ewhc/tcc', 'ewhc/costs', 'ewfc', 'ewcop', 'eat', 'ukut/iac', 'ukut/aac', 'ukut/tcc', 'ukut/lc', 'ukftt/tc', 'ukftt/grc', 'nica', 'niqb'. | |
| judge | No | Filter by judge surname. Case-insensitive substring match against the indexed form. Use the surname alone ('Reed', 'Sumption') or with the bare title ('Lord Reed'). Honorific suffixes silently zero the result set — do not append 'JSC', 'of Allermuir', 'KC' etc. Speculating a fuller form than what TNA indexed will return 0 hits with no error. | |
| limit | No | Maximum results to return (1–50). TNA returns up to 50 per request; this slices client-side. Default 10 for a tight shortlist. Set higher for breadth (e.g. 50 to scan the full result set). | |
| party | No | Filter by party name | |
| query | Yes | Full-text search query, e.g. 'negligence duty of care' | |
| to_date | No | Latest judgment date (YYYY-MM-DD). Same caveat as `from_date` — currently silently ignored by upstream. Filtering happens client-side at best. | |
| from_date | No | Earliest judgment date (YYYY-MM-DD). NOTE: the TNA atom.xml endpoint currently appears to ignore this filter — the same results come back regardless. Do not rely on it to narrow output; sort+slice client-side or refine `query` instead. |
Output Schema
| Name | Required | Description |
|---|---|---|
| page | Yes | Current page number (1-indexed) |
| results | Yes | Matching judgments for this page |
| has_more | Yes | Whether additional pages exist |
| total_pages | No | Total page count if available from API |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Discloses important quirks beyond the annotations: from_date and to_date are silently ignored by the upstream endpoint, judge honorifics zero the result set, and coverage only starts from the early 2000s. These details complement the read-only/idempotent hints and give the agent realistic expectations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is dense but well-structured: a direct usage directive, a clear post-call workflow, and focused caveats. Every sentence contributes practical guidance, and the length is justified by the tool's complexity and the number of quirks it must convey.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers return value shape (neutral citation, court, dates, slug, TNA URI), integration with sibling tools, coverage limitations, and a note on authoritative sources. This gives the agent a complete operational picture beyond what the schema and annotations provide.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Even though schema coverage is 100%, the description adds essential parameter behavior: the date filters are unreliable, the judge parameter needs a bare surname to avoid silent zero results, and limit slices client-side. This meaningfully extends the schema definitions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a clear directive: 'USE THIS TOOL WHEN searching UK case law by party names, court, judge, date, or free-text query.' This names the specific resource and lists the search criteria, clearly distinguishing it from sibling tools that retrieve judgment components or resolve citations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit when-to-use guidance and names alternatives: pass slug into judgment_get_header / judgment_get_index / judgment_get_paragraph for content, use case_law_grep_judgment for text within a single judgment, and citations_resolve to verify citations. It also advises against using web search as a supplement, giving a clear exclusion.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
citations_format_oscolaFormat OSCOLA Citation StringARead-onlyIdempotentInspect
USE THIS TOOL AFTER citations_resolve to produce the correctly formatted OSCOLA citation string.
Pass the parsed fields returned by citations_resolve directly into this tool. Formats per OSCOLA 4th edition rules for each citation type.
Refuses (status: upstream_validation) if confidence is 0.0 — TNA confirmed the document does not exist — or if a neutral citation has no resolved_url (ambiguous court code, e.g. bare EWHC without a division). In either case, do NOT manufacture a citation; surface the failure and ask the user for the source URL or better identifying details.
DO NOT construct the input fields yourself. The structured input must come from citations_resolve — guessing fields is the primary citation-fabrication route and this tool is the guard against it.
Authoritative OSCOLA formatting for UK legal citations (no network call).
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | 'raw' from citations_resolve. Used as-is for EU retained law — the original text preserves the Regulation/Directive distinction. | |
| page | No | 'page' from citations_resolve (starting page in the law report). | |
| year | No | 'year' from citations_resolve. | |
| court | No | 'court' from citations_resolve, e.g. 'UKSC', 'EWCA CIV', 'EWHC (KB)'. | |
| number | No | 'number' from citations_resolve (judgment number within the year). | |
| volume | No | 'volume' from citations_resolve (law report volume, if any). | |
| section | No | 'section' from citations_resolve, e.g. '47', '12', '20A'. | |
| si_year | No | 'si_year' from citations_resolve. | |
| si_number | No | 'si_number' from citations_resolve. | |
| confidence | Yes | 'confidence' from citations_resolve. Refuses to format if 0.0 — that means TNA confirmed the document does not exist. Pass only the value citations_resolve returned; do not guess. | |
| resolved_url | No | 'resolved_url' from citations_resolve. Must be non-null for neutral citations. | |
| citation_type | Yes | 'type' field from citations_resolve result. | |
| report_series | No | 'report_series' from citations_resolve, e.g. 'WLR', 'AC', 'QB'. | |
| legislation_title | No | 'legislation_title' from citations_resolve, e.g. 'Companies Act 2006'. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint), the description discloses refusal behavior: 'Refuses (status: upstream_validation) if confidence is 0.0... or if a neutral citation has no resolved_url.' It also states 'no network call' and warns against manufacturing citations. This adds significant behavioral context that annotations alone do not provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the critical workflow instruction and is organized into short, purposeful sentences. There is some repetition ('do NOT construct the input fields yourself' and 'do not guess'), but it is a safety-critical guardrail that benefits from emphasis. Overall, every sentence earns its place, though minor tightening could remove redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (14 parameters, multiple citation types) and the existence of an output schema, the description fully covers what an agent needs: the pipeline sequence, refusal conditions, the anti-fabrication rule, and the authoritative format. It does not explain return values, but the output schema covers that. The description is complete for its role.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema fully explains each parameter. The description adds an overarching rule that all parameters must come from citations_resolve, but this is more of a usage guideline than parameter semantics. The schema already covers details like confidence refusal and the EU-retained-law raw handling, so the description adds no new per-parameter meaning. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'produce the correctly formatted OSCOLA citation string.' It also distinguishes from siblings by explicitly saying 'USE THIS TOOL AFTER citations_resolve,' placing it clearly in the pipeline relative to citations_parse and citations_resolve.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit when-to-use guidance: 'USE THIS TOOL AFTER citations_resolve' and 'Pass the parsed fields returned by citations_resolve directly into this tool.' It also gives strong exclusions and failure-handling instructions: 'DO NOT construct the input fields yourself,' 'surface the failure and ask the user for the source URL or better identifying details.' This is comprehensive and actionable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
citations_networkGet Case Citation NetworkARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a judgment slug and want to map every citation it makes — cases cited, legislation referenced, SIs, retained EU law.
Fetches the judgment XML from TNA and parses all OSCOLA citations within. Returns citations grouped by type, deduplicated and sorted. AFTER calling, pass any individual citation through citations_resolve to confirm it resolves and to retrieve its canonical URL.
Useful for authority-network analysis (what did this judgment rely on?) and for surfacing the legislative landscape a case sits inside.
| Name | Required | Description | Default |
|---|---|---|---|
| case_uri | Yes | TNA judgment URI slug, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450'. Use the 'uri' field from case_law_search results — not the full URL. Do not include the 'https://caselaw.nationalarchives.gov.uk/' prefix. |
Output Schema
| Name | Required | Description |
|---|---|---|
| eu_refs | No | Retained EU law references, e.g. 'Regulation (EU) 2016/679' |
| si_refs | No | Statutory Instrument references, e.g. 'SI 2018/1234' |
| case_uri | Yes | The judgment URI that was fetched and parsed |
| law_report_refs | No | Law report citations, e.g. '[2020] 1 WLR 100' |
| total_citations | Yes | Sum of all de-duplicated citations across every bucket |
| legislation_refs | No | Legislation section references, e.g. 's.47 Companies Act 2006' |
| neutral_citations | No | Neutral citations referenced, e.g. '[2020] UKSC 14' |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark the tool as readOnly/idempotent/non-destructive. The description adds valuable behavior details: fetching judgment XML from TNA, parsing OSCOLA citations, grouping by type, deduplicating, and sorting. It also discloses that the tool does not resolve citations, which is a key behavioral limitation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the usage condition and is organized into three focused paragraphs. All sentences contribute useful context, though the format is slightly more verbose than necessary for the information conveyed.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the input precondition (judgment slug), what the tool does (parse TNA XML for OSCOLA citations), output characteristics (grouped, deduplicated, sorted), and follow-up action (use citations_resolve). With an output schema present, it is fully complete for this tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description for case_uri is thorough (slug format, use 'uri' field, no prefix), providing 100% coverage. The description only reiterates the concept of a 'judgment slug' without adding new parameter-level semantics, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool maps all citations a judgment makes, including cases, legislation, SIs, and retained EU law. It distinguishes itself from sibling tools by emphasizing the network-wide mapping and integration with citations_resolve.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly starts with 'USE THIS TOOL WHEN you have a judgment slug and want to map every citation it makes' and directs the user to pass citations through citations_resolve after. This provides clear when-to-use and a follow-up alternative, aligning with the sibling tool's purpose.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
citations_parseParse OSCOLA CitationsARead-onlyInspect
USE THIS TOOL WHEN you have free text (a memo, an email, a clause) and want every OSCOLA-style citation it contains extracted and classified.
Identifies: neutral citations ([2024] UKSC 12), law reports ([2024] 1 WLR 100), legislation sections (s.47 Companies Act 2006), SIs (SI 2018/1234), retained EU law (Regulation (EU) 2016/679).
Parsing is pure regex by default. Ambiguous citations (e.g. bare [2024] EWHC without division) can OPTIONALLY be disambiguated by setting disambiguate=True, which asks the CONNECTED CLIENT's own model (not this server) to resolve the division via MCP sampling — off by default. Citations resolve to TNA / legislation.gov.uk URLs when possible.
AFTER calling, pass each citation through citations_resolve to verify it points at a real document before quoting or formatting it — the parser recognises the SHAPE of a citation but does not confirm the document exists.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Free text containing OSCOLA citations to extract. Supported: neutral citations ([2024] UKSC 12), law reports ([2024] 1 WLR 100), legislation sections (s.47 Companies Act 2006), SIs (SI 2018/1234), retained EU law (Regulation (EU) 2016/679). Max 50,000 chars. | |
| disambiguate | No | Default False — pure-regex parsing, no model in the loop. If True, ambiguous citations (e.g. bare EWHC without a division) are sent to the connected client's own LLM, via MCP sampling, to resolve the division. Opt in only when you want best-effort division resolution and accept that a model shapes the result. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ambiguous | Yes | Citations with confidence < 0.7; may have been partially disambiguated via sampling |
| citations | Yes | All successfully parsed citations (confidence >= 0.7) |
| text_length | Yes | Character length of the input text |
| parse_duration_ms | Yes | Time taken to parse, in milliseconds |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations (readOnlyHint=true, destructiveHint=false), the description adds critical behavioral context: parsing is pure regex by default, optional disambiguation invokes the client's own LLM via MCP sampling, and recognition of citation shape does not guarantee document existence. This meaningfully informs the agent of limitations and side effects (model-in-the-loop) that annotations cannot convey.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections: a bolded usage trigger, a list of supported citation types, parsing behavior, and a follow-up instruction. It is front-loaded with the most important 'when to use' information and every sentence contributes operational value without redundancies.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has only 2 parameters, an output schema, and rich sibling context, the description fully covers the essential operational details: input type, output scope, disambiguation behavior, URL resolution, and the requirement to verify via citations_resolve. It clearly differentiates itself from the resolve and format siblings, so an agent can select and invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, and the parameter descriptions already fully explain the text and disambiguate parameters. The tool description repeats the supported citation types and the disambiguation behavior, adding little new semantic value beyond the schema. It does hint at URL resolution as output, but that is not a parameter-level detail.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific action ('extract and classify every OSCOLA-style citation') and identifies the target resource (free text). It lists concrete citation types and explicitly separates itself from sibling tools like citations_resolve by stating what it does not do (confirm existence). The verb and scope are precise and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly states when to use the tool ('USE THIS TOOL WHEN you have free text... and want every OSCOLA-style citation... extracted and classified') and explicitly directs the agent to follow up with citations_resolve for verification. It does not explicitly say when not to use it, but the alternative/next-step guidance is strong and actionable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
citations_resolveResolve Single OSCOLA CitationARead-onlyIdempotentInspect
USE THIS TOOL BEFORE constructing an OSCOLA citation string from known fields, OR to confirm a citation points at a real document.
Parses + resolves a single citation (neutral citation, SI, legislation section, retained EU law) and returns parsed fields plus resolved_url. For neutral citations, performs a live TNA HEAD check — non-200 sets confidence to 0.0 (document absent). Do NOT format or quote a confidence-0.0 citation.
If the TNA HEAD check fails (timeout, connection error), raises ToolError with {"error_category": "transient", "is_retryable": true}. One retry is attempted — retry this call or proceed without TNA verification.
Formatting a citation from "known" fields without prior resolution is the most common fabrication route. If this tool raises or returns no resolved_url, do NOT manufacture a citation — surface the failure and ask the user for the source URL.
Authoritative source for UK legal-citation resolution.
| Name | Required | Description | Default |
|---|---|---|---|
| citation | Yes | A single OSCOLA citation to parse and resolve. E.g. '[2024] UKSC 12', 'SI 2018/1234', 's.47 Companies Act 2006' |
Output Schema
| Name | Required | Description |
|---|---|---|
| raw | Yes | Original citation text as found in the source |
| page | No | Starting page in the law report |
| type | Yes | Classification of the citation type |
| year | No | Year component of the citation |
| court | No | Court code: UKSC, UKPC, EWCA Civ, EWCA Crim, EWHC (KB), EWHC (Ch), EWHC (Comm), EWHC (Fam), EWHC (Pat), EWHC (IPEC), UKUT (IAC), UKUT (TCC), UKUT (AAC), UKUT (LC), EAT, UKFTT (TC), UKFTT (GRC) |
| number | No | Judgment number within the year |
| volume | No | Report volume number (for law reports) |
| section | No | Section number referenced |
| si_year | No | SI year (for SI YYYY/NNN citations) |
| si_number | No | SI number |
| confidence | Yes | Parse confidence 0.0–1.0. Citations below 0.7 are ambiguous and may have been sent for LLM disambiguation. |
| resolved_url | No | TNA Find Case Law or legislation.gov.uk URL if successfully resolved |
| report_series | No | Law report series abbreviation: WLR, AC, QB, KB, Ch, All ER, EWCA Civ, etc. |
| legislation_title | No | Title of legislation (for s.NN Act YYYY citations) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations, the description reveals live TNA HEAD-check behavior, confidence scores dropping to 0.0 on non-200 responses, and ToolError with retryable semantics. It also warns about quoting low-confidence results, which is important behavioral context for downstream use.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and front-loads the usage directive, but some safety warnings are repeated (e.g., not formatting or quoting unresolved citations). The redundancy is understandable for risk mitigation but prevents a perfect conciseness score.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers input, output shape, error behavior, retry semantics, and downstream safety considerations. Given the presence of an output schema, the additional context about confidence and resolved_url is sufficient for an agent to use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema fully describes the single required citation parameter with length constraints and concrete examples. The tool description additionally enumerates accepted citation types, making the parameter semantics clear and actionable.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states that the tool parses and resolves a single OSCOLA citation, returning parsed fields and a resolved_url. It also distinguishes this from sibling tools like citations_parse and citations_format_oscola by emphasizing real-document resolution.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly instructs agents to use this tool before constructing an OSCOLA citation string or confirming that a citation points to a real document. It also provides critical guidance about not manufacturing citations when resolution fails, which clearly defines when and how to use the tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
committees_get_committeeGet Committee DetailARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a committee_id and want the metadata + current membership.
Fetches committee detail and member list in parallel. AFTER calling, pass committee_id into committees_search_evidence to see what evidence has been submitted to this committee on what topics.
| Name | Required | Description | Default |
|---|---|---|---|
| committee_id | Yes | Committee ID from committees_search_committees results. |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | Committee ID |
| url | No | Parliament URL for this committee |
| name | Yes | Committee name |
| No | Contact email | |
| house | No | Commons, Lords, or Joint |
| phone | No | Contact phone number |
| members | No | Current committee members |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, lowering the burden. The description adds valuable behavioral context by noting that committee detail and member list are fetched in parallel, and it reveals the intended follow-up workflow. This goes beyond simple safety disclosure, though it doesn't detail response structure or pagination (which are covered by the output schema).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded with the key usage condition, followed by the action and a next-step suggestion. Every sentence provides distinct value with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter get-by-ID tool with rich annotations and an output schema, the description fully covers the necessary context: when to use it, what it returns, and what to do next. The workflow hint to committees_search_evidence completes the contextual picture.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the single parameter committee_id is already well-described in the schema as coming from committees_search_committees results. The description does not add additional semantic meaning beyond that, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states this tool fetches committee detail and member list, with an explicit 'USE THIS TOOL WHEN...' condition. It distinguishes itself from sibling search tools by requiring a committee_id and focusing on metadata + membership.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit when-to-use guidance ('when you have a committee_id and want metadata + current membership') and adds a workflow pointer to committees_search_evidence. However, it does not explicitly state when not to use it or name alternative tools for lookup scenarios, so it stops short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
committees_search_committeesSearch Parliamentary CommitteesARead-onlyIdempotentInspect
USE THIS TOOL WHEN searching or listing UK parliamentary select committees by name, house, or active status.
Returns committee summaries (name, house, active status, ID). AFTER calling, pass committee_id into committees_get_committee for current membership, or into committees_search_evidence to retrieve oral and written evidence submitted to that committee.
| Name | Required | Description | Default |
|---|---|---|---|
| house | No | Filter by house. | |
| limit | No | Maximum committees to return. Default 100 comfortably covers all currently-active UK select committees. Raise only for historical sweeps. | |
| query | No | Search term for committee names, e.g. 'defence' or 'treasury'. Filtered client-side against committee names. Omit to list all committees. | |
| active_only | No | If true, only return currently active committees. |
Output Schema
| Name | Required | Description |
|---|---|---|
| house | No | House filter applied, or None |
| query | No | Name substring filter applied, or None |
| total | Yes | Number of committees returned in this call |
| committees | No | Matching committees. Use committees_get_committee for membership detail. |
| active_only | Yes | Whether results were restricted to currently active committees |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and destructiveHint=false, covering the safety profile. The description adds useful context about the return values ('committee summaries (name, house, active status, ID)') and the recommended next steps, but it does not disclose any non-obvious behaviors (e.g., client-side filtering, pagination details) that are not already in the schema. Given the annotations, the description adds moderate value beyond structured data.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is short and efficient, with only two sentences. It front-loads the primary purpose in the first sentence and packs follow-up guidance into the second, avoiding any fluff or redundant repetition of schema details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With a robust input schema (100% coverage), output schema, and comprehensive annotations (readOnlyHint, idempotentHint, destructiveHint), the description only needs to clarify the tool's role and workflow. It does so effectively, including the critical downstream step of passing committee_id to other tools, making it complete for the given complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, meaning every parameter (house, limit, query, active_only) has a description in the input schema. The tool description does not add any additional parameter-specific semantics beyond what the schema already provides, so it meets the baseline of 3 without elevating.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('searching or listing') and resource ('UK parliamentary select committees'), with clear filtering dimensions ('by name, house, or active status'). It also distinguishes itself by referencing downstream tools (committees_get_committee, committees_search_evidence), clearly separating its role from siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The opening instruction 'USE THIS TOOL WHEN' explicitly marks the intended use case. It also provides clear context by describing the follow-up workflow ('AFTER calling, pass committee_id into...'), but it does not explicitly name alternatives when this tool should NOT be used, though sibling tool differentiation is implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
committees_search_evidenceSearch Committee EvidenceARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a committee_id and want the oral and written evidence submitted to it.
Returns ONE PAGE of evidence (default 20) plus total, the source's
count of matching items. evidence_type='both' lists all oral evidence
first, then all written evidence, each newest-published first as the
source orders it. Free-text titles are capped per max_title_chars;
witness lists are capped at 10 per item. An organisation witness (no
named individual) is rendered as ' ()'; a null
entry means the source gave no name for that witness at all. For
committees with many submissions, re-call with offset=offset+returned
while has_more is true.
Authoritative source for parliamentary committee evidence.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum evidence items to return. Default 20. For evidence_type='both' a page may hold only oral, only written, or the last oral items followed by the first written items. | |
| offset | No | Number of evidence items to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true. For evidence_type='both' this is a position in the combined sequence (all oral evidence, then all written evidence). | |
| committee_id | Yes | Committee ID from committees_search_committees results. | |
| evidence_type | No | Type of evidence to search. | both |
| max_title_chars | No | Per-item cap on the free-text title field. Default 300 prevents context blow-up from verbose inquiry titles. Raise to 1000+ only when you need the full title text. |
Output Schema
| Name | Required | Description |
|---|---|---|
| limit | Yes | Max evidence items requested for this page |
| total | Yes | Evidence items matching this query, from committees-api's totalResults (for evidence_type='both', the oral count plus the written count) |
| offset | Yes | Number of evidence items skipped before this page |
| evidence | No | Evidence items in this page. Titles are capped per max_title_chars; witness lists are capped at 10 per item. |
| has_more | Yes | True if evidence exists beyond this page (offset + returned < total). Re-call with offset=offset+returned to fetch the next page. |
| returned | Yes | Number of evidence items actually returned in this call |
| committee_id | Yes | Committee ID this page belongs to |
| evidence_type | Yes | Evidence type filter applied to this query |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint, so safety profile is covered. The description adds substantial behavioral context: pagination behavior (one page, has_more), ordering for evidence_type='both', caps on free-text titles and witness lists, rendering of organisation vs null witnesses, and the 'Authoritative source' note. This goes well beyond annotations and no contradiction exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the usage condition and then provides dense operational details. While it is relatively long, every sentence adds value (pagination, caps, rendering rules). The structure is logical—first when to use, then behavior. It could be trimmed slightly, but it is appropriately sized for the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 5 parameters, pagination, ordering, caps, and witness rendering rules, and the description covers all these aspects. It mentions the return includes 'total' and explains pagination. Since an output schema exists, it need not fully describe return values. The description is complete enough for an agent to call the tool correctly without ambiguity, including hints for efficient pagination.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so each parameter is documented in the schema. The description adds meaning beyond the schema: it explains what 'both' means for evidence_type (oral first, then written), the purpose of max_title_chars (prevents context blow-up), and how offset works in the combined sequence. This enriches the raw schema definitions, so a score above the baseline of 3 is warranted.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'USE THIS TOOL WHEN you have a committee_id and want the oral and written evidence submitted to it,' which states a specific verb (search/get), a specific resource (committee evidence), and a clear condition. It clearly distinguishes this tool from sibling tools like committees_get_committee (which retrieves committee details) and committees_search_committees (which searches committees) by focusing on evidence. The title 'Search Committee Evidence' reinforces the purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives an explicit condition for use ('when you have a committee_id and want evidence') and details on pagination ('re-call with offset=offset+returned while has_more is true'). It implies alternatives by naming the exact scenario, but it does not explicitly state 'do not use for committee search' or mention sibling tools. The guidance on when to use is strong, but exclusion criteria are only implied, not stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_promptARead-onlyIdempotentInspect
Get a prompt by name with optional arguments.
Returns the rendered prompt as JSON with a messages array. Arguments should be provided as a dict mapping argument names to values.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the prompt to get | |
| arguments | No | Optional arguments for the prompt |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations indicate readOnlyHint, idempotentHint, and non-destructive behavior, which match the description's 'get' action. The description does not mention side effects, but the annotations cover this. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, using two short sentences to convey the purpose and parameter format. No fluff or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description provides enough context for retrieval, including the return format (rendered JSON with messages array). The output schema exists and covers the response, so no further detail is required.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Both parameters are fully described: 'name' as the prompt identifier and 'arguments' as an optional mapping. The schema already covers this, and the description reinforces the meaning with no ambiguity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states that the tool retrieves a prompt by name with optional arguments, distinguishing it from sibling tools like list_prompts which list available prompts. The verb 'get' and resource 'prompt' are explicit.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when a specific prompt is needed, and the sibling list_prompts provides the alternative for listing. Though not explicit, the context is sufficient for an agent to decide when to use this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hmrc_check_mtd_statusCheck MTD VAT StatusARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a 9-digit VAT Registration Number and need that business's Making Tax Digital VAT mandate status.
Returns whether the business is mandated for MTD, effective date, and trading name.
Connects to the HMRC sandbox by default. Set HMRC_API_BASE to 'https://api.service.hmrc.gov.uk' for production. Requires HMRC_CLIENT_ID + HMRC_CLIENT_SECRET environment variables (OAuth 2.0). Raises if credentials are not configured — do not infer status.
| Name | Required | Description | Default |
|---|---|---|---|
| vrn | Yes | VAT Registration Number: 9 digits, e.g. '123456789'. GB prefix accepted and stripped automatically. |
Output Schema
| Name | Required | Description |
|---|---|---|
| vrn | Yes | VAT Registration Number queried |
| mandated | Yes | Whether this business is mandated for MTD VAT |
| trading_name | No | Registered trading name if available |
| effective_date | No | Date from which MTD obligation applies |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark the tool as readOnly and idempotent, and the description adds valuable behavioral context: default sandbox connection, production override via HMRC_API_BASE, required OAuth credentials, and that it raises if credentials are missing. This goes beyond the structured fields without contradicting them.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded with the core purpose, followed by return details and environment notes. Every sentence provides value, though the environment configuration section could be trimmed without losing clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity, the description covers the main use case, return fields, environment defaults, and error behavior. The presence of an output schema further reduces the need to explain return format, making this complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema fully describes the only parameter (vrn) with format and example, and the description does not add new parameter information. With schema coverage at 100%, the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action and resource: 'USE THIS TOOL WHEN you have a 9-digit VAT Registration Number and need that business's Making Tax Digital VAT mandate status.' It clearly explains the return value (mandated status, effective date, trading name) and distinguishes from other HMRC tools like hmrc_get_vat_rate.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides an explicit trigger: 'USE THIS TOOL WHEN you have a 9-digit VAT Registration Number and need that business's Making Tax Digital VAT mandate status.' It also gives environment setup and warns against inferring status without credentials, though it does not name alternative tools for when-not-to-use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hmrc_get_vat_rateGet VAT Rate for CommodityARead-onlyIdempotentInspect
USE THIS TOOL WHEN you know the UK VAT category name for a good or service and want its VAT treatment.
Exact named-category lookup, not a free-text VAT classifier or tax advice. The query must equal a category name, ignoring only case, spacing, hyphens and apostrophe style. Extra qualifying words are never discarded: 'pet food' is its own category, and 'baby food' is not 'food'.
A match returns rate (standard, reduced, zero or exempt),
rate_percentage (None for exempt), conditions in notes, the GOV.UK
source_url, and that entry's verified_on date.
An unresolved query returns no rate: matched_category, rate,
rate_percentage and verified_on are all null, never a default.
Its notes list the category names. AFTER an unresolved result, retry
with a listed name or call hmrc_search_guidance.
| Name | Required | Description | Default |
|---|---|---|---|
| commodity_code | Yes | Commodity code or plain-English description. E.g. 'food', 'domestic fuel', 'software', 'financial services', 'new build residential' |
Output Schema
| Name | Required | Description |
|---|---|---|
| rate | No | VAT rate category, or None when no specific category was confidently matched. None here is NOT a stand-in for any real rate — it means the lookup did not resolve, not that the item is outside VAT's scope. |
| notes | No | Any additional notes or conditions on this rate |
| source_url | Yes | GOV.UK/HMRC guidance page backing the matched entry; for an unresolved query, the general VAT rates page to consult instead |
| verified_on | No | Date the matched entry was last checked against GOV.UK/HMRC guidance. None for an unresolved query, since no entry was matched. A data-currency signal only — see `effective_from` for the rate's own legal commencement date, when known. |
| commodity_code | Yes | Commodity code or description queried |
| effective_from | No | Date the represented VAT treatment is known, on researched evidence, to have taken legal effect. None when no such commencement date has been established for this entry — that is common and does NOT imply the rate is new, uncertain, or unmatched. For data currency (when this entry was last checked against GOV.UK/HMRC guidance) see `verified_on` instead — the two are deliberately independent. |
| rate_percentage | No | Rate charged on a taxable supply: 20.0 (standard), 5.0 (reduced), 0.0 (zero). None for an exempt supply, which is not taxed at any rate (exempt is not the same as 0%), and None when `rate` is None. |
| matched_category | No | The static lookup table category the query exactly named (e.g. 'hot food'), or None when the query is not a category name. `rate`/`rate_percentage` are None whenever this is None — see `notes`. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already mark the tool read-only, idempotent, and non-destructive; the description adds important behavioral details such as exact-match normalization, the rule that extra qualifying words are not discarded, the null response for unresolved queries, and the fact that notes list category names. This goes well beyond the structured annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the triggering condition and is generally dense and efficient. A few details about return fields overlap with what an output schema would likely provide, but every section contributes actionable guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter, read-only, idempotent lookup tool, the description covers when to use it, exact matching semantics, success and failure output shapes, and a retry/alternative path. Nothing essential is missing for an agent to select and invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but the description materially enhances the single parameter by clarifying it must exactly equal a category name, not free text, and by giving normalization rules and explicit examples. It also explains what happens when the parameter does not resolve to a category.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the exact purpose: a named-category VAT lookup, and explicitly contrasts it with a free-text classifier. It is specific about the resource and behavior, and the sibling tools like hmrc_search_guidance are clearly distinct.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It begins with 'USE THIS TOOL WHEN you know the UK VAT category name', gives explicit negative guidance ('not a free-text VAT classifier or tax advice'), and names hmrc_search_guidance as the follow-up alternative after an unresolved result. This is model-level routing guidance, not just a vague hint.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hmrc_search_guidanceSearch HMRC GuidanceARead-onlyIdempotentInspect
USE THIS TOOL WHEN searching GOV.UK for HMRC tax guidance on a topic (VAT, income tax, corporation tax, etc.).
Returns matching guidance titles, URLs, summaries, and last-updated dates. Searches the official GOV.UK content API filtered to HMRC publications.
Authoritative source for current HMRC tax guidance. Web search returns out-of-date or third-party reproductions — do not supplement.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum guidance results to return (1–25). Passed to the GOV.UK search count param. | |
| query | Yes | Search query for HMRC guidance, e.g. 'VAT digital services', 'R&D tax relief SME' |
Output Schema
| Name | Required | Description |
|---|---|---|
| query | Yes | The search query that was run |
| total | Yes | Number of guidance documents returned in this call |
| results | No | Matching HMRC guidance pages. Each entry's `summary` is capped per the max_summary_chars input parameter. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint. The description adds value by disclosing that it queries the official GOV.UK content API filtered to HMRC publications and that it returns titles, URLs, summaries, and last-updated dates. This goes beyond the safety annotations to clarify the data source and return payload.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded with the key when-to-use directive. Every sentence serves a purpose: the search scope, the return fields, the data source, and the authoritative nature. No filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the output schema is present and annotations declare the safety profile, the description is complete for an agent to select and invoke the tool correctly. It covers the source, scope, return contents, and even warns against using web search as an alternative.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with both 'query' and 'limit' having descriptive definitions and example values. The description itself adds minimal parameter semantics, but the schema fully covers parameter meaning, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states the tool searches GOV.UK for HMRC tax guidance on specific topics like VAT and income tax. It clearly identifies the resource (HMRC guidance) and the action (search), separating it from sibling search tools for legislation or parliament.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It begins with 'USE THIS TOOL WHEN searching GOV.UK for HMRC tax guidance' and explicitly warns against web search, stating it returns out-of-date or third-party reproductions. This provides clear when-to-use and when-not-to-use guidance, and implicitly distinguishes it from other search tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
judgment_get_headerGet Judgment HeaderARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a judgment slug and need metadata (parties, judges, neutral citation, court, dates).
Call case_law_search FIRST to get the slug. AFTER calling, use judgment_get_index to discover paragraphs, then judgment_get_paragraph to read specific ones. Authoritative source for UK judgment metadata.
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Judgment slug, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450' |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and non-destructive. Description adds useful context about being the authoritative source for UK judgment metadata, and the workflow context. No contradiction or hidden behavior disclosed, but adds value beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, front-loaded with 'USE THIS TOOL WHEN', each sentence earns its place: usage trigger, workflow, authority. No redundancy or fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given a single parameter, full schema coverage, output schema present, and strong annotations, the description covers the workflow, tool distinction, and metadata scope. Complete for a simple read-only tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with a clear description and examples for the 'slug' parameter. The description adds the context of needing a slug from case_law_search but doesn't provide new parameter-level semantics beyond the schema. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb+resource: 'get metadata' for a judgment header, with explicit list of metadata types (parties, judges, neutral citation, court, dates). Clearly distinguishes from siblings judgment_get_index and judgment_get_paragraph by focusing on header metadata vs paragraphs.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use: 'when you have a judgment slug and need metadata'. Provides workflow: call case_law_search first, then use judgment_get_index/paragraph. Naming alternatives and prerequisite tools makes usage context unambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
judgment_get_indexGet Judgment Paragraph IndexARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a judgment slug and want the paragraph navigation index (eId + preview line for every paragraph).
Call case_law_search FIRST to get the slug. AFTER calling, pass an eId from the returned list into judgment_get_paragraph to read that paragraph's full text, or use case_law_grep_judgment for content search across all paragraphs.
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Judgment slug, e.g. 'uksc/2024/12' |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false, so safety is covered. The description adds that the tool returns an eId and preview line for every paragraph, which is useful behavioral context beyond the annotations. It does not mention error handling or pagination, but the output schema likely covers return structure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded with the usage trigger. Every sentence provides necessary information: what it does, when to use it, and how it fits with other tools. No wasted words or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter tool with rich annotations and an output schema, the description fully covers purpose, usage, and relationships to related tools. It even includes the output format (eId + preview line), making it complete for an agent to select and invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema fully describes the single 'slug' parameter with an example. The description adds value by explaining how to obtain the slug ('Call case_law_search FIRST to get the slug'), which is not in the schema. Since schema coverage is 100%, the baseline is 3, and the workflow hint lifts it to 4.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states 'get the paragraph navigation index (eId + preview line for every paragraph)' with a specific verb and resource. It clearly distinguishes from siblings by mentioning judgment_get_paragraph for full text and case_law_grep_judgment for content search.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly says 'USE THIS TOOL WHEN you have a judgment slug and want the paragraph navigation index', and provides a clear workflow: call case_law_search first to get the slug, then pass an eId to judgment_get_paragraph or use case_law_grep_judgment. This gives both when-to-use and alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
judgment_get_paragraphGet Judgment ParagraphARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a judgment slug + LegalDocML eId and want that paragraph's full text.
Call judgment_get_index FIRST to discover available eIds (or use case_law_grep_judgment to locate paragraphs by content). Returns the paragraph XML content (400–1,700 tokens typical).
| Name | Required | Description | Default |
|---|---|---|---|
| eId | Yes | Paragraph eId from judgment_get_index, e.g. 'para_12'. Numeric strings like '12' are accepted and normalized to 'para_12'. | |
| slug | Yes | Judgment slug, e.g. 'uksc/2024/12' |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/non-destructive, so the description adds value by stating it returns paragraph XML content and a typical token range. It could mention error handling or what happens if eId is invalid, but the key behavior is covered.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three concise sentences with no fluff. The purpose is front-loaded, and each sentence adds crucial navigational or return-value information. Perfectly sized.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present and full annotations, the description still manages to provide essential workflow (call judgment_get_index first) and alternative search method. It is complete for the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and includes a detailed eId description with normalization rule. The description itself doesn't add new parameter details beyond referencing them, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool gets a judgment paragraph's full text given a slug and eId. It distinguishes from siblings by explicitly routing users to judgment_get_index for eIds and case_law_grep_judgment for content-based search.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit when-to-use criteria ('when you have a judgment slug + LegalDocML eId and want that paragraph's full text') and names alternatives (judgment_get_index, case_law_grep_judgment). This is exemplary guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
legislation_get_sectionGet Legislation SectionARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a known Act / SI and want the parsed text of a specific section, regulation, or article, with extent and in-force metadata.
Returns the provision's own text and its own heading — never a neighbouring or enclosing Part/Chapter's content. Also returns territorial extent, in-force status, and prospective flag. Content capped per max_chars (default 10,000, ~2,500 tokens) — raise for unusually long definition sections; check content_truncated in the response.
Works uniformly across Act sections ('section-N'), SI regulations ('regulation-N'), and SI articles ('article-N') — pass the bare number regardless of which the document uses; you don't need to know which noun applies. Raises a not_found error (rather than returning a plausible but wrong node) if the number doesn't exist in this document — check legislation_get_toc for valid numbers.
ALWAYS check extent — a section may apply to England & Wales but not
Scotland or Northern Ireland. Reciting a section without checking
extent is a recurring legal-research error.
Alternative: call read_resource(uri="legislation://{type}/{year}/{number}/ section/{section}") for raw CLML XML; use this tool when you want the parsed structured response instead.
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Legislation type code: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts). Use the value from legislation_search results. | |
| year | Yes | Year of enactment | |
| number | Yes | Chapter or SI number | |
| section | Yes | Provision number, e.g. '47' or '12A' — works for Act sections, SI regulations, and SI articles alike. Use the numeric part only — not 'section-47'/'regulation-47'/'article-47'. Schedules are not currently supported. | |
| max_chars | No | Maximum characters of section content to return. Default 10,000 (~2,500 tokens) covers almost every section. Raise to 50,000+ only for unusually long Finance Act definition sections. Check content_truncated in the response to see if it was cut. |
Output Schema
| Name | Required | Description |
|---|---|---|
| title | Yes | Section title or heading |
| extent | No | Territorial extent: list of 'England', 'Wales', 'Scotland', 'Northern Ireland'. Empty list means unknown — do not assume full UK extent. |
| content | Yes | Plain text content of the section, possibly truncated per max_chars. Check content_truncated and original_length for full-text information. |
| in_force | No | False if the section is explicitly marked repealed in CLML. True only when an InForce element is present in the section body (rare). Null for most sections — the data.xml endpoint does not carry a per-section current in-force boolean; null does not mean repealed. |
| warnings | No | Non-fatal retrieval or parsing warnings the caller should disclose where relevant. |
| prospective | No | True if this section has not yet come into force; None if unknown |
| version_date | No | Date of the version retrieved |
| source_format | No | Source parsed for this response. html_fallback means CLML XML was unavailable and text was parsed from the public HTML page. |
| section_number | Yes | Section number, e.g. '47', '12A', 'Schedule 2' |
| original_length | No | Original plain-text length in characters before any truncation |
| content_truncated | No | True if content was cut to fit max_chars |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only declare readOnly/idempotent/openWorld, but the description adds substantial operational context beyond them: content is capped by max_chars with a content_truncated flag, a not_found error is raised rather than returning a plausible-but-wrong node, and it warns that extent must be checked. These are behavioral traits the structured fields do not carry.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the selection condition and organized into short paragraphs, each carrying actionable content (truncation, error behavior, extent caveat). Some overlap with the schema's own parameter text, so slightly longer than strictly necessary, but nothing is wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists so return fields need no re-explanation, yet the description still covers return format essentials (extent, in-force, prospective flag, content_truncated), error semantics, and the cross-noun invocation pattern. Complete for an agent to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: pass the bare number regardless of whether the document uses section/regulation/article, raise max_chars for unusually long Finance Act definitions, and always check the returned extent. It goes beyond restating the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('get the parsed text of a specific section, regulation, or article') and explicitly scopes what is returned ('the provision's own text and its own heading — never a neighbouring or enclosing Part/Chapter's content'). This clearly distinguishes it from legislation_get_toc, legislation_search, and read_resource.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Opens with 'USE THIS TOOL WHEN you have a known Act / SI', names the alternative read_resource for raw CLML XML with the condition that selects it, and points to legislation_get_toc for valid numbers. When-to-use, when-not-to-use, and alternatives are all explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
legislation_get_tocGet Legislation Table of ContentsARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a known Act / SI and want the structural table of contents (parts, chapters, individual sections/regulations/articles).
Returns structural elements with XML id and title, in document order, e.g. 'section-47: Definitions' for an Act or 'regulation-4: Maximum weekly working time' for an SI. Individual provisions are listed alongside their enclosing Part/Chapter/crossheading headings — both levels matter: the heading entries give you the document's shape, the provision entries give you what to pass to legislation_get_section. A provision with no heading in the source (rare) is listed as a bare id with no title. AFTER calling, pass the numeric identifier (use '47', NOT 'section-47') into legislation_get_section for full text.
Large statutes (Companies Act 2006 has many hundreds of items) are paginated via offset/limit. Check has_more and total_items.
Alternative: call read_resource(uri="legislation://{type}/{year}/{number}/
toc") for the full TOC as a newline-separated id: title string (no
pagination). Use this tool when you need the structured response with
offset / limit / has_more for stepping through large statutes.
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Legislation type code: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts). Use the value from legislation_search results. | |
| year | Yes | Year of enactment | |
| limit | No | Maximum items to return in this call (default 200, max 1000). Raise only when you need a larger slice in one response. Check has_more and total_items to know if further pages exist. | |
| number | Yes | Chapter or SI number | |
| offset | No | Number of items to skip from the flattened TOC. Use with limit to page through very large statutes like the Companies Act 2006 (1300+ items). |
Output Schema
| Name | Required | Description |
|---|---|---|
| type | Yes | Legislation type code echoed from the request |
| year | Yes | Year of enactment echoed from the request |
| items | No | TOC entries in XML document order, formatted as '<id>: <title>', e.g. 'section-47: Definitions'. When calling legislation_get_section pass only the numeric part ('47', not 'section-47'). |
| limit | Yes | Page size applied after offset |
| number | Yes | Chapter or SI number echoed from the request |
| offset | Yes | Offset applied to the full TOC item list |
| has_more | Yes | True if more items remain beyond offset+returned |
| returned | Yes | Number of items in this response |
| total_items | Yes | Total structural items parsed from the XML, before offset/limit. Compare to `returned` and `has_more` to decide whether to paginate. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations cover safety (readOnly, idempotent, openWorld), so the lower bar applies. The description adds real behavioral context beyond that: pagination via offset/limit, has_more/total_items signals, document-order return, bare-id entries, and a critical downstream id-format rule. It doesn't describe the actual return shape in depth, but output schema exists and covers that.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded trigger, then behavior, then alternative — well organized. Slightly long for the content, with examples that partially repeat schema-provided defaults, but every sentence carries information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a paginated read tool with annotations and an output schema, the description supplies the pagination model, the downstream id handoff, and the read_resource alternative. Complete enough to call correctly; only minor return-shape detail is left to the output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 offset, limit, year, number, type. The description adds the '47 not section-47' id-format rule, which is meaningful, but that concerns downstream passage rather than these parameters. Baseline 3 is correct since structured fields do the param work.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('get the structural table of contents') and explicitly scopes it to a known Act/SI. It contrasts directly with legislation_get_section and read_resource, so an agent can place it without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit trigger ('WHEN you have a known Act / SI'), an explicit alternative (read_resource for the full non-paginated TOC), and the condition that selects each. The when-to-use-this-vs-alternative is fully resolved.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
legislation_searchSearch UK LegislationARead-onlyIdempotentInspect
USE THIS TOOL WHEN searching UK Acts and Statutory Instruments by title, phrase, or full-text.
Returns ranked results: title, type, year, number, legislation.gov.uk URL, and next_steps hints (toc URI, section template). AFTER calling, chain to legislation_get_toc then legislation_get_section for structural drill-in.
Filter discipline: type and year are exact-match. Use only when you
already know the value. For currency-driven searches ("the recent
Renters' Rights Act"), query by phrase alone and read the year from the
results — guessing a year and filtering by it zeroes results when wrong.
For broader concept queries across content, set fulltext=True.
Authoritative source for UK primary and secondary legislation (legislation.gov.uk).
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by type: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts). Exact-match — omit if you don't already know whether you're looking for an Act vs an SI. | |
| year | No | Filter by year of enactment (exact-match — a single integer, not a range). Omit unless you already know the Act's year. Speculating a year (e.g. 'this is recent so it must be 2026') and getting it wrong will zero out the result set. Better workflow: query without `year`, then read the year from the returned results. | |
| limit | No | Maximum results to return (1–50). Passed to the upstream results-count param. | |
| query | Yes | Search query, e.g. 'Housing Act 1988' or 'data protection personal data' | |
| fulltext | No | Default false → searches Act/SI titles only (best for finding a named Act, e.g. 'Housing Act 1988' returns ukpga/1988/50 first). Set true to search the full text of every Act/SI for the query (returns SIs and regulations that cite the term — e.g. 'rental deposits' would return many implementing instruments). |
Output Schema
| Name | Required | Description |
|---|---|---|
| total | Yes | Total number of matches |
| results | Yes | Matching legislation items |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark readOnly=true, openWorld=true, idempotent=true, destructive=false; the description adds concrete behavioral details: ranked results with fields (title, type, year, number, URL), next_steps hints, and the zeroing-out risk when filtering by a guessed year. There is no contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is dense but well-structured, front-loading the purpose in the first sentence and using bolded warnings and examples. Every sentence provides actionable guidance, and no filler or redundancy is present, despite its length.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description fully covers what an agent needs to select and invoke the tool: when to use it, how to filter, what to expect in results, and how to chain it with sibling tools. With an output schema also present and comprehensive annotations, the description is contextually complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Even though schema coverage is 100%, the description enriches parameter semantics with strategic guidance: 'guessing a year and filtering by it zeroes results when wrong', the phrase-plus-read-year workflow, and clear guidance on when to set fulltext=True. This adds real decision-making value beyond the schema's field descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'USE THIS TOOL WHEN searching UK Acts and Statutory Instruments by title, phrase, or full-text,' which specifies a concrete verb, resource, and scope. It clearly differentiates from sibling tools like case_law_search and bills_search_bills by targeting UK legislation, and from legislation_get_toc/section by focusing on search rather than drill-down.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides explicit usage guidance: 'USE THIS TOOL WHEN...', a chaining workflow ('AFTER calling, chain to legislation_get_toc then legislation_get_section'), and filter discipline ('Use only when you already know the value' for exact-match filters). It also offers alternative strategies for currency-driven and full-text queries, making when-to-use vs. alternatives clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_promptsARead-onlyIdempotentInspect
List all available prompts.
Returns JSON with prompt metadata including name, description, and optional arguments.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnly, idempotent, and non-destructive behavior. The description adds that the result is JSON metadata, which is useful context. No contradictions 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is brief, direct, and free of unnecessary detail. Two sentences convey the action and the return format efficiently.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple no-argument list operation, the description is sufficiently complete. It names the return type and the key fields, though it does not specify ordering or pagination, which are not critical here.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes no parameters, so the parameter semantics are trivially satisfied. The description does not need to elaborate on inputs.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: to list all prompts and return their metadata. It is distinguishable from the sibling get_prompt tool, which retrieves a specific prompt.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The usage is implied by 'List all prompts', but there is no explicit guidance about when to prefer this over get_prompt or other listing tools. It is adequate but not fully explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_resourcesARead-onlyIdempotentInspect
List all available resources and resource templates.
Returns JSON with resource metadata. Static resources have a 'uri' field, while templates have a 'uri_template' field with placeholders like {name}.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, covering safety and idempotency. The description adds value by explaining the output structure: 'Returns JSON with resource metadata' and the distinction between 'uri' and 'uri_template' fields, which is useful behavioral context beyond what annotations state.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences with zero filler. The first sentence states the core purpose, and the second adds the crucial detail about output fields. It is front-loaded and every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no parameters and an output schema present, the description is complete for an agent to understand when and how to call this tool. It explains what it lists and the format of the output. The presence of an output schema means the description does not need to detail return values further, but it still gives a helpful preview.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the baseline for this dimension is 4. The description does not need to explain parameters because there are none, and the schema confirms an empty object. No additional parameter semantics are required.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action and target: 'List all available resources and resource templates.' It clearly distinguishes static resources (with 'uri') from templates (with 'uri_template'), which helps differentiate from siblings like read_resource that fetch a specific resource. The verb 'List' and the resource type are unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly implies this tool is for enumeration, but it does not explicitly state when to use it over alternatives or mention any exclusion criteria. It does not say, for example, 'Use this to discover resources before calling read_resource.' While the purpose is clear, the guidance is implicit rather than explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parliament_find_memberFind Member of ParliamentARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a member's name and need their integer member_id.
Returns all members matching the name query, each with the integer id,
party, constituency, house, and current-sitting status. Disambiguates
common-name matches (e.g. "Lord Smith" returns multiple peers).
CALL THIS BEFORE any tool that filters by member_id — including parliament_get_debate_contributions, parliament_member_debates, and parliament_member_interests. Name → ID first; ID-based filtering second. Skipping this step and text-searching by name returns unrelated results (see parliament_search_hansard's anti-bypass note for the Pannick case).
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name or partial name, e.g. 'Starmer', 'Baroness Hale' |
Output Schema
| Name | Required | Description |
|---|---|---|
| query | Yes | The name that was searched |
| total | Yes | Number of members matching the query |
| members | No | Matching members. Use the integer `id` field from any member to call parliament_member_debates or parliament_member_interests. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover read-only, open-world, idempotent, and non-destructive behavior. The description adds useful behavioral context beyond annotations: it says all matching members are returned with specific fields, that common-name matches are disambiguated, and that skipping it produces unrelated results. It does not mention rate limits or auth needs, but those are less relevant for this read-only lookup.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the primary trigger in the first sentence, then returns, then ordering rules. It is compact and every sentence serves selection or invocation; no wasted preamble.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the annotations covering safety and the presence of an output schema, the description supplies everything needed: when to use it, what it returns, why disambiguation matters, and how it fits before ID-filtering sibling tools. No critical selection or invocation detail is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the parameter already has an example. The description adds meaning beyond the schema by clarifying that the name query may match multiple members, that common names need disambiguation, and that the result is an integer ID for downstream filtering.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: find a Member of Parliament by name and return their integer member_id. It distinguishes itself from sibling tools that filter by member_id and from text-search alternatives, so an agent can select it without opening other schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives an explicit trigger ('USE THIS TOOL WHEN you have a member's name and need their integer member_id') and an explicit ordering rule ('CALL THIS BEFORE any tool that filters by member_id'), naming three downstream tools. It also warns what happens if skipped, which is strong when-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parliament_get_debate_contributionsGet Contributions In A DebateARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a debate_ext_id and want verbatim contributions, optionally filtered to one member.
Canonical path for "everything a member said in this debate" regardless of vocabulary — text-search tools (parliament_member_debates, parliament_search_hansard) filter by contribution TEXT, dropping members who spoke without using your phrase verbatim. This tool filters by MemberId on the debate's Items list, so vocabulary doesn't matter.
Typical chain: parliament_find_member(name) → member_id, then parliament_search_hansard or parliament_lookup_by_column → debate_ext_id, then this tool. The parliament module's instructions describe the full composition pattern.
Without member_id, returns every contribution (~100-200 for a long debate).
If the wire returns no contributions for a member you expect to have spoken, report the empty result honestly — do NOT reconstruct quotes from training data. Authoritative source for member contributions.
| Name | Required | Description | Default |
|---|---|---|---|
| member_id | No | Optional integer Members API ID. When given, only that member's contributions in this debate are returned — regardless of which words they used. Resolves via parliament_find_member. When omitted, every contribution in the debate is returned (typical debate: 100-200 items). | |
| debate_ext_id | Yes | Debate GUID (DebateSectionExtId). Chain from parliament_search_hansard top_debates[].debate_ext_id, parliament_lookup_by_column matches[].debate_ext_id, or any tool that surfaces a debate identifier. |
Output Schema
| Name | Required | Description |
|---|---|---|
| limit | No | Page size requested |
| topic | No | Topic phrase filter applied, if any |
| total | Yes | Number of contributions returned in this call |
| offset | No | Skip applied to this page |
| has_more | No | True if a full page was returned (more may exist) |
| member_id | Yes | Parliament Members API member ID |
| contributions | No | Hansard contributions for the member. Each `text` field is capped at 3000 characters. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover read-only/idempotent safety, so the description is free to add what they cannot: the vocabulary-independence of the MemberId filter, the expected result volume (~100-200 items for a long debate), and an integrity instruction to report empty results honestly rather than reconstruct quotes from training data. That is substantive behavioral context beyond the structured fields.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The trigger condition and sibling differentiation are front-loaded, which is exactly right for a selection decision. It runs a little long with some restatement of the member_id filtering point across the opening and closing paragraphs, but each paragraph carries a distinct idea.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present, return-value explanation is unnecessary, and the description still supplies the chaining path, volume expectations, and fallback behavior. Nothing an agent needs to invoke this correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so both parameters are already fully documented (member_id semantics, debate_ext_id chaining, defaults, volume). The description restates the member_id filtering behavior rather than adding new syntax or format detail, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('get') and resource ('contributions in a debate') and explicitly distinguishes itself from siblings parliament_member_debates and parliament_search_hansard by explaining it filters on MemberId rather than contribution text. An agent can select it correctly without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives an explicit trigger ('USE THIS TOOL WHEN you have a debate_ext_id'), names the alternatives and why they are worse for this job, and lays out the canonical composition chain (find_member → search_hansard/lookup_by_column → this tool). When-not guidance is present via the text-filter caveat.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parliament_get_debate_divisionsGet Divisions Held In A DebateARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a debate_ext_id and want the divisions (formal votes) held within it.
Most debates contain no divisions — Business of the House sittings, statements, urgent questions, debates without a vote. A populated list typically appears around bill stages, motions, and contested amendments. Empty list is the honest result, not a failure mode.
Each returned division carries TWO IDs:
id— Hansard-side reference. Useful for cross-referencing in Hansard.votes_id— Lords/Commons Votes API ID (cross-resolved by date+number). AFTER calling, passvotes_idasdivision_idinto votes_get_division for the full member-by-member voting record.
The two upstreams use distinct ID-spaces (Hansard Number=3 might be
Votes-API divisionId=3392). The cross-resolve runs once per (date, house)
group — typically one extra HTTP per debate. votes_id is None when the
cross-resolve found no match.
| Name | Required | Description | Default |
|---|---|---|---|
| debate_ext_id | Yes | Debate GUID (DebateSectionExtId). Chain from parliament_search_hansard contribution.debate_ext_id, top_debates[].debate_ext_id, or parliament_policy_position_summary top_debates[].debate_ext_id. |
Output Schema
| Name | Required | Description |
|---|---|---|
| divisions | No | Divisions held in this debate, in chronological order. Empty when no divisions occurred. Each element's `id` chains to votes_get_division. |
| debate_ext_id | Yes | Echo of the input debate GUID. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Despite annotations indicating safe read-only behavior, the description adds valuable behavioral details: empty list is an honest result, cross-resolve happens once per (date, house) group with an extra HTTP, votes_id can be None, and the two ID spaces are distinct. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the usage condition and contains well-structured bullet points for the two IDs. It is longer than minimal but every sentence adds meaningful context; no waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has an output schema, the description focuses on critical nuances: the possibility of an empty list, the meaning of votes_id, the cross-resolve behavior, and the None case. This provides a complete mental model for correct invocation and interpretation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for the single parameter debate_ext_id, which already includes a detailed description with chaining sources. The tool description itself adds no additional parameter semantics beyond the usage line, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves divisions (formal votes) held within a debate. It distinguishes itself from siblings like parliament_get_debate_contributions and votes_get_division by focusing on the debate-level divisions list and explicitly referencing the votes_id linkage.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says 'USE THIS TOOL WHEN you have a debate_ext_id and want the divisions'. Also provides when-not-to-use context (most debates have no divisions) and directs users to votes_get_division with the votes_id, giving clear alternative and follow-up guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parliament_lookup_by_columnResolve A Hansard Column CitationARead-onlyIdempotentInspect
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.
Each match carries:
contribution_count— real contribution count from the debate's Itemssource/source_code— citation finality (1=Rolling, 2=Daily, 3=BoundVolume, 4=Historic). Resolution is NOT gated on publication state.
Empty matches typically means the volume_number is wrong (opposing
counsel sometimes cites running-volume rather than bound-volume) or the
column is in a Written Statement (use the 'W'-suffixed column as-is).
It does NOT mean the citation is fabricated — surface the failure.
Authoritative source for OSCOLA Hansard column resolution.
| Name | Required | Description | Default |
|---|---|---|---|
| house | No | Restrict to one House. Default 'both' searches across both Houses. | both |
| column_number | Yes | Hansard column number from an OSCOLA footnote, e.g. '200' for 'HL Deb 14 Oct 2025, vol 849, col 200'. String (not integer) to accommodate column suffixes like '1162W' for written answers. | |
| volume_number | Yes | Hansard volume number (the 'vol 849' part of an OSCOLA citation). Required — the endpoint only resolves citations when given the volume; sitting date is NOT a substitute (verified live 2026-05-29). |
Output Schema
| Name | Required | Description |
|---|---|---|
| house | Yes | House filter applied. |
| matches | No | Debate 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. |
| column_number | Yes | Echo of the requested column number. |
| total_results | Yes | Number of debate matches found. |
| volume_number | Yes | Echo of the requested volume number. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover read-only, idempotent, non-destructive. The description adds rich behavioral detail: resolution is not gated on publication state, empty matches typically mean volume_number is wrong or a Written Statement, and the warning not to interpret empty matches as fabrication. It also discloses the live verification that sitting date is not a substitute for volume. This exceeds what annotations provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is lengthy but well-structured: it leads with the primary usage, gives an example, then covers match fields, troubleshooting, and an authoritative note. Every section earns its place, though it could be tightened. The front-loading of 'USE THIS TOOL WHEN' is effective.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the output schema exists and annotations cover safety, the description is thorough: it explains match contents, source codes, failure modes, and how to proceed after a successful lookup. It also provides an alternative route to contributions, making it self-sufficient for an agent to call correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds value by explaining the string type for column_number (to handle suffixes like '1162W') and reinforcing that volume_number is mandatory and cannot be replaced by a date. It also links empty matches to likely incorrect volume_number, which aids parameter interpretation. This goes slightly beyond schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with an explicit directive ('USE THIS TOOL WHEN you have an OSCOLA-style Hansard citation...') and a concrete example ('HL Deb 14 Oct 2025, vol 849, col 200'). It states the resource (Hansard column resolution) and the output (matches with contribution metadata), making the tool's purpose unambiguous and distinct from general search tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It clearly specifies when to use this tool: when you have a column+volume+house citation. It also gives a follow-up path (read_resource or parliament_get_debate_contributions) and troubleshooting for empty matches. However, it does not explicitly state when NOT to use it or name alternative tools like parliament_search_hansard or citations_resolve as competing options, so it falls short of the full 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parliament_member_debatesGet Member DebatesARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a member_id and want contributions where THAT member used a specific topic phrase verbatim (text-body search).
CALL parliament_find_member(name) FIRST to obtain the integer member_id.
This is a name-based text-body search — it matches contributions whose TEXT contains the topic phrase. A member who spoke in a debate but didn't use your phrase verbatim is filtered out. For verbatim retrieval of every contribution by a member in a known debate (regardless of vocabulary), use parliament_get_debate_contributions(debate_ext_id, member_id=...) instead.
Each contribution's text field is capped at 3000 characters.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum contributions to return. Default 20. | |
| topic | No | Optional phrase to find in THIS member's contribution text bodies. Hansard searches the words the member actually said, NOT the topic or title of the debate. Pass tokens this member would have spoken — distinctive arguments ('disproportionate sanction'), statutory references ('section 21'), or motion numbers ('Motion C1') — not the bill's name (members rarely say e.g. 'Renters\' Rights Bill' verbatim in their speeches). If you want 'every contribution this member made in a specific debate' regardless of words used, find the debate_ext_id then use parliament_get_debate_contributions(debate_ext_id, member_id=...). | |
| offset | No | Number of contributions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true. | |
| member_id | Yes | Parliament Members API integer ID. Obtain from parliament_find_member. |
Output Schema
| Name | Required | Description |
|---|---|---|
| limit | No | Page size requested |
| topic | No | Topic phrase filter applied, if any |
| total | Yes | Number of contributions returned in this call |
| offset | No | Skip applied to this page |
| has_more | No | True if a full page was returned (more may exist) |
| member_id | Yes | Parliament Members API member ID |
| contributions | No | Hansard contributions for the member. Each `text` field is capped at 3000 characters. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover safety (readOnly, idempotent, non-destructive), so the bar is lower, and the description adds genuine non-structured context: the verbatim text-body matching semantics, the 3000-char text cap, and the filtering consequence of missing tokens. It does not describe pagination behavior, though the schema's offset field partially covers that.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads the trigger condition, then prerequisites, then the key semantic caveat. Slightly redundant between the two verbatim-search explanations, but every sentence carries routing or behavioral weight.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given an output schema exists and annotations cover safety, the description fills every remaining gap an agent needs: the prerequisite call, the text-matching semantics, the 3000-char cap, and the disambiguation from siblings. Nothing required to invoke correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description meaningfully augments the topic parameter by explaining what text is actually searched, what tokens to pass, and what not to pass ('not the bill's name'). This is additive semantic guidance beyond the schema's own prose.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ('contributions where THAT member used a topic phrase verbatim') and explicitly distinguishes itself from the closest siblings parliament_search_hansard and parliament_get_debate_contributions. An agent can route correctly without opening schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit precondition ('WHEN you have a member_id'), a named prerequisite tool to call first (parliament_find_member), and a named alternative with the exact condition that selects it (parliament_get_debate_contributions for vocabulary-independent retrieval). This is textbook when/when-not guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parliament_member_interestsGet Member Financial InterestsARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a member_id and need their registered financial interests (donations, directorships, land, gifts).
CALL parliament_find_member(name) FIRST to obtain the integer member_id.
Returns ONE PAGE of interests (default 20, caller controls via limit). For prolific members (big donors, many directorships, extensive land holdings), re-call with offset=offset+returned while has_more is true to paginate. Description text is capped per max_description_chars; raise it for forensic provenance work that needs the full narrative.
This is the authoritative source for UK MP and peer financial-interest declarations (via the Members API). Web search returns stale snapshots.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max interests per call. Hard-capped at 20 by the upstream interests-api.parliament.uk (verified live 2026-05-29: Take=100 still returns 20). For prolific members, paginate via offset; total size is in totalResults on the response. | |
| offset | No | Number of interests to skip before this page. Default 0 for the first page. To paginate prolific members (100+ interests), re-call with offset=offset+returned while the previous response had has_more=true. | |
| category | No | Filter by interest category. Common categories: 'donations' (donations and support), 'gifts_uk' (gifts/hospitality from UK), 'employment' (employment and earnings), 'land' (land and property), 'shareholdings', 'overseas_visits'. Omit for all categories. | |
| member_id | Yes | Parliament Members API integer ID. Get from parliament_find_member. | |
| max_description_chars | No | Per-entry cap on the free-text description field. Default 500 prevents context blow-up on members with lengthy donation or directorship narratives. Raise to 2000+ only for forensic provenance work. |
Output Schema
| Name | Required | Description |
|---|---|---|
| limit | Yes | Max interests requested for this page |
| offset | Yes | Number of interests skipped before this page |
| category | No | Category filter applied to this query, or None for all categories |
| has_more | Yes | True if there may be more interests beyond this page. Re-call with offset=offset+returned to fetch the next page. |
| returned | Yes | Number of interests actually returned in this call |
| interests | No | The interests in this page. `description` text is capped per the max_description_chars input parameter. |
| member_id | Yes | Parliament Members API member ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description goes well beyond annotations (readOnlyHint, idempotentHint) by detailing pagination behavior (one page of 20, has_more flag), the hard upstream cap on limit (verified live), and the max_description_chars truncation behavior. It also notes that web search returns stale snapshots, adding value. No contradictions with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the key usage signal ('USE THIS TOOL WHEN'), then provides necessary operational detail in clearly separated paragraphs. Every sentence serves a purpose—no filler, tautology, or repetition of schema. It is long but information-dense and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is moderately complex with 5 parameters and pagination behavior, but the description fully covers when to use it, prerequisite steps, pagination, limits, and the authoritative nature of the data. An output schema exists, so return values needn't be detailed. This is complete for the agent to invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema provides 100% parameter coverage with rich descriptions, so the baseline is 3. The description adds practical semantics like how to paginate (offset=offset+returned while has_more is true) and when to raise max_description_chars for forensic work. This is additional guiding context beyond the schema, so a 4 is warranted.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves registered financial interests for a given member_id, listing specific categories (donations, directorships, land, gifts). It distinguishes from siblings by positioning as the authoritative source for MP/peer financial-interest declarations, and explicitly instructs to call parliament_find_member first, which differentiates it from that lookup tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is explicitly conditioned: 'USE THIS TOOL WHEN you have a member_id and need their registered financial interests.' It provides a clear prerequisite (call parliament_find_member first), directs away from web search due to stale data, and gives pagination guidance for prolific members. This is excellent when-to-use and alternative guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parliament_policy_position_summaryHansard Policy Position Summary (deterministic facets)ARead-onlyIdempotentInspect
USE THIS TOOL WHEN you want debate-level corpus signals on a topic — by_house, by_year, by_section breakdowns — without reading every contribution.
Aggregates Hansard debate-level signals on a topic. Pure counts — no LLM, no editorial labels. Sweeps /search/Debates.json with pagination (up to max_debates_scanned), then aggregates by_house, by_section, by_year, by_month, and top_debates from debate metadata. Also captures the corpus-wide envelope counts (total_contributions, total_written_statements, total_divisions, etc.) from /search.json for cross-section scope.
AFTER calling, pick a debate from top_debates and pass its debate_ext_id into parliament_get_debate_contributions to drill into who said what.
Note on member-level facets: Hansard's search API exposes debate metadata, not per-contribution member identifiers, at the corpus level. by_party and top_contributors are therefore omitted from this deterministic summary. To see who spoke in a specific debate, read hansard://debate/{debate_ext_id}/header for an ordered contribution index, or call parliament_member_debates for one named member.
This is the authoritative source for UK Hansard corpus-level signals.
| Name | Required | Description | Default |
|---|---|---|---|
| house | No | Restrict to one House. Default 'both'. | both |
| topic | Yes | Phrase to find in Hansard contribution text bodies for the facet aggregation. Same semantics as parliament_search_hansard.query: tokens that appear in members' actual speeches, not bill titles or topic metadata. The aggregator sweeps top_debates[] returned by /search/Debates.json — those debates are matched on the phrase appearing in titles or contribution text, so passing a Bill title (e.g. 'Renters\' Rights Bill') usually works for THIS tool even though it wouldn't for member-level text search, because debate-level matching uses metadata in addition to body text. | |
| to_date | No | End date (YYYY-MM-DD) | |
| from_date | No | Start date (YYYY-MM-DD) | |
| max_debates_scanned | No | Hard cap on debates sampled from /search/Debates.json to compute facets. Default 200 issues ≤4 upstream calls (take=50 each). Raise to 2000 (≤40 calls) for an exhaustive sweep on a heavily-debated topic. Hansard rate limit: 1000 req/5min. |
Output Schema
| Name | Required | Description |
|---|---|---|
| house | Yes | House filter applied |
| topic | Yes | Phrase searched in Hansard |
| by_year | No | Counts of debates by sitting year, desc by year |
| to_date | No | End date filter applied |
| by_house | No | Counts of debates by house (Commons vs Lords) |
| by_party | No | Counts by party. ALWAYS EMPTY in this summary — Hansard's search API only exposes member identifiers at the per-debate level, not the corpus level. For party breakdown within one debate, read hansard://debate/{ext_id}/header. For one member's contributions across the corpus, use parliament_member_debates. |
| from_date | No | Start date filter applied |
| by_section | No | Counts of debates by Hansard section bucket (Chamber / Westminster Hall / Written Answers / Written Statements) |
| top_debates | No | Top 20 debates ranked by upstream relevance_rank, with debate_ext_id for hansard://debate/{debate_ext_id}/header drill-down. contribution_count is null in this preview shape (would require a secondary call per debate). |
| total_debates | Yes | Total distinct debates touching this topic (TotalDebates) |
| debates_scanned | Yes | Number of debates pulled from /search/Debates.json for the facet breakdown (≤ max_debates_scanned) |
| total_divisions | Yes | TotalDivisions upstream count. Non-zero → consider votes_search_divisions. |
| top_contributors | No | ALWAYS EMPTY in this summary — see by_party note. Use parliament_member_debates after picking a debate from top_debates. |
| by_month_recent_12 | No | Counts of debates by YYYY-MM for the most recent 12 months in the sample, desc by month |
| total_contributions | Yes | Total contributions in Hansard matching topic+filters (TotalContributions) |
| total_written_answers | Yes | TotalWrittenAnswers upstream count |
| total_written_statements | Yes | TotalWrittenStatements upstream count |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false. The description adds behavior beyond that: it sweeps /search/Debates.json with pagination, states the hard cap semantics, discloses the rate limit ('1000 req/5min'), notes that by_party and top_contributors are deliberately omitted due to upstream limitations, and confirms 'no LLM, no editorial labels'. The omission disclosure is unusually valuable context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the WHEN clause; each sentence carries a distinct point (trigger, mechanics, follow-up, member-facet caveat, authority claim). The member-facet note is a bit long but earns its place by explaining an omission. Some repetition between the title and 'authoritative source' sentence, but overall tight.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
All key facets of the tool's behavior are covered for an agent: when to use it, what it aggregates, the sweep mechanism and cost, the follow-up path, and known limitations (missing member-level facets). With an output schema present, no return-value explanation is required, and nothing material is missing for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 five parameters, including defaults, enums, and the rate-limit note in max_debates_scanned. The description briefly contrasts topic semantics with parliament_search_hansard.query (debate-level metadata matching vs body text), which is a small addition, but mostly repeats what the schema already says. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The title and body state a specific verb (aggregate) and resource (Hansard debate-level signals on a topic), and it explicitly differentiates itself from text-search siblings (parliament_search_hansard) by describing the facet-aggregation output (by_house, by_year, by_section). The mention of 'authoritative source for UK Hansard corpus-level signals' anchors the scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The opening 'USE THIS TOOL WHEN...' clause states the trigger condition, and it names a clear follow-up ('pass debate_ext_id into parliament_get_debate_contributions') plus an alternative for member-level queries (hansard://debate/.../header or parliament_member_debates). It doesn't fully name what this tool is not for versus parliament_search_hansard, but the WHEN clause plus alternatives is strong.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parliament_search_hansardSearch Hansard DebatesARead-onlyIdempotentInspect
USE THIS TOOL WHEN searching Hansard by topic, bill title, or text phrase.
Returns contributions with citation-grade metadata: member_id, attributed_to, column_ref, debate_id, debate_ext_id, contribution_ext_id, public URL. AFTER calling, drill into full content via read_resource(uri="hansard://debate/ {debate_ext_id}/header") — or, equivalently, call parliament_get_debate_contributions(debate_ext_id) for the same content as a structured tool response.
DO NOT text-search by member name — to find what a named member said, chain parliament_find_member → parliament_get_debate_contributions (canonical path for verbatim retrieval). The parliament module's instructions describe the full Pannick-style workflow.
Pagination: limit + offset honour the upstream paginated endpoint. For breadth across a topic, see parliament_policy_position_summary.
Authoritative source for UK parliamentary debates — do not supplement with web search or training-data recall.
| Name | Required | Description | Default |
|---|---|---|---|
| house | No | Restrict to one House. Default 'both' returns Commons + Lords contributions. | both |
| limit | No | Max contributions per call (1–100). Default 20. Paginate further with offset; total corpus size is in total_corpus on the response. | |
| query | Yes | Phrase to find in Hansard contribution text bodies. Hansard searches the words members actually said in their speeches — NOT debate titles, topic metadata, or written headlines. Pass tokens that would appear in someone's speech: distinctive arguments ('disproportionate sanction'), statutory references ('section 21'), or specific phrases. Bill titles (e.g. 'Renters\'s Rights Bill') often DON'T match because members refer to 'the Bill' or 'this legislation' in their speeches. Tokenised matching: 'housing benefit fraud' will match contributions saying 'fraud in housing benefit claims'. For 'all contributions in a specific debate' regardless of words used, drill via top_debates[].debate_ext_id into parliament_get_debate_contributions. | |
| offset | No | Skip this many contributions before the page. Default 0. Re-call with offset=offset+returned to paginate; has_more flags whether more remain. | |
| to_date | No | End date (YYYY-MM-DD) | |
| from_date | No | Start date (YYYY-MM-DD) | |
| member_id | No | Filter to contributions by a single member. Pass the integer Members API ID (resolve a name via parliament_find_member). The prior `member` field accepted a name string but Hansard's /search.json silently ignored it — the spec requires `memberId`. | |
| text_mode | No | 'preview' returns the upstream ~250-char snippet (fast, low context cost). 'full' returns ContributionTextFull (still capped at 3000 chars). For full contribution text without the cap, read the resource hansard://debate/{debate_ext_id}/contribution/{contribution_ext_id}. | preview |
| contribution_type | No | Which Hansard section to paginate. 'Spoken' = chamber + Westminster Hall debates (the default; what a lawyer usually means). 'Written' = written answers and statements. 'Corrections' = published corrections to the record. The corpus envelope (total_debates, total_divisions, etc.) is independent of this and always populated. | Spoken |
Output Schema
| Name | Required | Description |
|---|---|---|
| house | No | House filter applied |
| limit | No | Page size requested |
| query | Yes | The phrase that was searched in Hansard |
| total | Yes | Number of contributions returned in this call |
| offset | No | Skip applied to this page (Hansard API: skip) |
| to_date | No | End date filter applied, if any |
| has_more | No | True if a full page was returned (more may exist; re-call with offset=offset+limit) |
| from_date | No | Start date filter applied, if any |
| member_id | No | Members API integer ID filter applied, if any (echoed from input). |
| text_mode | No | Whether contribution `text` carries the upstream preview or full body (still capped). |
| date_range | No | (min, max) SittingDate of returned contributions, or None if empty |
| top_debates | No | Top-ranked debates touching this topic (from upstream Debates[] preview, capped at 4 by Hansard's /search.json). Each entry's `debate_ext_id` chains to hansard://debate/{debate_ext_id}/header. |
| total_corpus | No | Total contributions in Hansard matching this query (TotalContributions). Use to decide whether to paginate further or escalate to parliament_policy_position_summary. |
| contributions | No | Matching Hansard contributions with full citation metadata. |
| top_divisions | No | Top-ranked divisions touching this topic (from upstream Divisions[] preview, capped at 4). Each entry's `id` chains to votes_get_division; `debate_section_ext_id` chains back to the parent debate. |
| total_debates | No | TotalDebates — distinct debates touching this topic. |
| total_members | No | TotalMembers — member-name matches in the corpus. |
| house_breakdown | No | Counts by house across the returned page |
| party_breakdown | No | ALWAYS EMPTY. Hansard's contribution schema has no structured party field (see HansardContribution.party) — an aggregation over unjustified values would just be a party-shaped guess. Kept as a field (rather than removed) for schema stability. For real party facets, resolve member_id per contribution via parliament_find_member; this tool does not do that automatically — it would cost one extra HTTP call per distinct member in the page. |
| total_divisions | No | TotalDivisions. Non-zero → consider `top_divisions` previews below or chain to votes_search_divisions. |
| total_petitions | No | TotalPetitions. |
| total_committees | No | TotalCommittees. |
| total_corrections | No | TotalCorrections — published corrections to the Hansard record. |
| total_written_answers | No | TotalWrittenAnswers. |
| total_written_statements | No | TotalWrittenStatements. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/openWorld/non-destructive, and the description adds real behavioral context on top: pagination semantics, the 3000-char cap in 'full' mode versus uncapped resource reads, the response metadata fields, and an explicit authority/anti-hallucination instruction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with a clear 'USE THIS TOOL WHEN' opener, then delimited blocks for drill-down, exclusions, and pagination. Slightly verbose, and the resource-vs-tool equivalence is stated twice, but every block carries actionable routing information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 9 parameters, an output schema, and heavy annotation coverage, the description covers the remaining gaps: when to use it, when to use siblings instead, how to paginate, and how to expand results. Nothing needed to call it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the parameter docs are already rich, so the schema carries most weight. The description still adds routing semantics not in the schema — the limit+offset pagination framing and the member-name retrieval chain — but does not enrich individual field semantics much beyond that.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource+scope: searching Hansard debate text by topic, bill title, or phrase, and explicitly notes it is the authoritative source for UK parliamentary debates. It distinguishes itself from siblings by naming the drill-down and retrieval paths that are NOT this tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit when-to-use (topic/phrase search), when-not (do not text-search by member name), and the exact alternative chain (parliament_find_member → parliament_get_debate_contributions). It also routes breadth queries to parliament_policy_position_summary and says not to supplement with web search.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parliament_search_petitionsSearch UK Parliament PetitionsARead-onlyIdempotentInspect
USE THIS TOOL WHEN searching UK Parliament petitions by keyword or topic.
Returns petition title, state, signature count, and dates for government response or parliamentary debate if applicable. Filter by state (open, closed, debated, etc.) to narrow to live or historical petitions.
This is the authoritative source for UK Parliament petitions (petition.parliament.uk).
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum petitions to return. Default 20. | |
| query | Yes | Search term for petition titles, e.g. 'ban trophy hunting' or 'NHS funding'. | |
| state | No | Filter by petition state. | all |
| offset | No | Number of petitions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true. |
Output Schema
| Name | Required | Description |
|---|---|---|
| limit | No | Page size requested |
| query | Yes | The term that was searched in petitions |
| state | Yes | Petition state filter applied to this query |
| total | Yes | Number of petitions returned in this call |
| offset | No | Skip applied to this page |
| has_more | No | True if a full page was returned (more may exist) |
| petitions | No | Matching petitions (title, state, signature count, key dates, URL). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and idempotentHint, so the bar is lower. The description adds valuable context about return fields (title, state, signature count, dates) and the authoritative source, but does not disclose behavioral details like pagination or rate limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized, with the key usage directive front-loaded. Each sentence serves a purpose: usage, returned data, filtering, and authoritative source. No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has a rich output schema and fully described parameters, the description covers the essential usage context well. It does not explain pagination, but the offset parameter schema already handles that, and the output schema likely documents the return shape. Slight gap on the debated state discrepancy.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description mentions filtering by state but inconsistently lists 'debated' as an option while the schema enum only allows 'open', 'closed', and 'all', which could mislead. It does not add significant meaning beyond the schema's already descriptive parameter fields.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('search') and resource ('UK Parliament petitions') with clear scope ('by keyword or topic'). It distinguishes itself from sibling tools like parliament_search_hansard and bills_search_bills by focusing on petitions specifically.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description opens with 'USE THIS TOOL WHEN searching UK Parliament petitions by keyword or topic,' providing explicit usage context. However, it does not explicitly mention when not to use it or name alternative tools, falling short of the highest bar.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
read_resourceARead-onlyIdempotentInspect
Read a resource by its URI.
For static resources, provide the exact URI. For templated resources, provide the URI with template parameters filled in.
Returns the resource content as a string. Binary content is base64-encoded.
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | The URI of the resource to read |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover safety (readOnly, idempotent, non-destructive). The description adds valuable behavioral details: it clarifies return type (string) and base64 encoding for binary content, and explains templated resource handling. This exceeds annotation coverage and provides useful context without contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences, front-loaded with the core purpose. Each sentence earns its place: purpose, usage variation, and return format. No fluff or redundancy. Structure is clear and scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the main usage scenarios (static and templated), return format, and binary handling. While it doesn't mention error handling or edge cases, for a generic read tool with an output schema and comprehensive annotations, it is adequately complete. The lack of sibling differentiation is a minor gap but not critical for the tool's own functionality.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description for 'uri' is minimal ('The URI of the resource to read'), but the tool description significantly enriches meaning by explaining static vs templated URIs and the need to fill template parameters. This adds substantial semantic value beyond the schema, compensating for the schema's brevity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb and resource: 'Read a resource by its URI.' It precisely defines the action without ambiguity, and it differentiates itself from specialized siblings by being the generic resource reader, though it doesn't explicitly name alternatives. The purpose is immediately understandable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives instructions on how to provide the URI (static vs templated) but does not provide any guidance on when to use this tool versus the many specialized siblings (e.g., judgment_get_header, legislation_get_section). An agent cannot infer when to choose read_resource over a domain-specific reader, which is a significant gap.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
votes_get_divisionGet Division DetailARead-onlyIdempotentInspect
USE THIS TOOL WHEN you have a division_id + house and want the full member-by-member voting record.
Voter lists are truncated to 100 per side to fit response limits; total voter counts are always accurate regardless of truncation. Chain from votes_search_divisions or parliament_get_debate_divisions (which cross-resolves Hansard division refs into votes-API division_ids).
| Name | Required | Description | Default |
|---|---|---|---|
| house | No | Which house this division belongs to. | Commons |
| division_id | Yes | Division ID from votes_search_divisions results. |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | Division ID |
| date | Yes | Date of the division |
| house | Yes | Commons or Lords |
| title | Yes | Division title / motion text |
| passed | Yes | Whether the motion passed |
| truncated | No | Whether voter lists were truncated to fit response limits |
| aye_voters | No | Members who voted Aye (may be truncated) |
| ayes_count | Yes | Total Aye votes |
| noe_voters | No | Members who voted No (may be truncated) |
| noes_count | Yes | Total No votes |
| total_aye_voters | No | Total number of Aye voters before truncation |
| total_noe_voters | No | Total number of No voters before truncation |
| is_government_win | No | Whether the government won (Lords only) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations (read-only, idempotent), the description discloses a critical behavioral trait: voter lists are truncated to 100 per side while total counts remain accurate. This level of transparency helps agents set expectations and avoid misinterpreting truncated data. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is highly concise, front-loaded with an explicit 'USE THIS TOOL WHEN' directive, and packs essential information (purpose, input prerequisites, truncation caveat, chaining) into two sentences. Every sentence adds value, and the capitalization draws appropriate attention.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With only two parameters and an existing output schema, the description covers all critical aspects: what the tool does, when to use it, key limitations (truncation), and how to obtain inputs. No additional context is needed for an agent to invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already provides full coverage (100%) with descriptions for both parameters, including the source of division_id. The description only restates 'division_id + house' without adding further semantic detail, so it meets the baseline but does not elevate parameter understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific action—retrieving the full member-by-member voting record for a division—and immediately distinguishes itself from sibling search and debate tools. The resource (division_id + house) is explicit, and the chaining reference to votes_search_divisions and parliament_get_debate_divisions further differentiates it.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly tells agents when to use this tool ('USE THIS TOOL WHEN you have a division_id + house'), and provides guidance on how to obtain the ID via sibling tools. It also clarifies the chaining workflow, though it could be more explicit about when not to use it; still, the guidance is strong and actionable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
votes_search_divisionsSearch Parliamentary DivisionsARead-onlyIdempotentInspect
USE THIS TOOL WHEN searching Commons or Lords formal votes by topic, date, or member.
Returns one page of division summaries (title, date, vote counts,
pass/fail) plus total, the source's count of all matching divisions.
While has_more is true, re-call with offset=offset+returned. AFTER
calling, pass division_id + house into votes_get_division for the full
member-by-member voter lists.
Authoritative source for UK parliamentary vote records.
| Name | Required | Description | Default |
|---|---|---|---|
| house | No | Which house to search. | Commons |
| limit | No | Maximum divisions to return. Default 25. The Lords API honours up to 100; the Commons API returns at most 25 per call, so page by `returned`, not `limit`. | |
| query | No | Search term for division titles, e.g. 'Rwanda' or 'Online Safety Bill'. Omit to browse recent divisions. | |
| offset | No | Number of divisions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true. | |
| to_date | No | End date (YYYY-MM-DD). | |
| from_date | No | Start date (YYYY-MM-DD). | |
| member_id | No | Filter to divisions where this member voted. Get the member ID from parliament_find_member. |
Output Schema
| Name | Required | Description |
|---|---|---|
| house | Yes | Commons or Lords |
| limit | No | Page size requested (the Commons API returns at most 25 regardless) |
| query | No | The search term, if any (None = browse recent) |
| total | Yes | Total divisions matching the filters, from the source API's searchTotalResults count |
| offset | No | Skip applied to this page |
| has_more | No | True if divisions beyond this page exist (offset + returned < total) |
| returned | Yes | Number of divisions returned in this call |
| divisions | No | Matching divisions. Use the integer `id` field with votes_get_division to fetch the full voter list. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavior beyond annotations: it returns one page of summaries, includes a `total` count, explains pagination with offset=offset+returned, and describes what is not included (full member lists). It also notes the authoritative source, which helps set expectations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and every sentence earns its place: the when-to-use directive, the return shape, pagination logic, the next-step linkage, and the source authority. The all-caps phrases are intentional emphasis for an agent, and the paragraph is front-loaded with the most actionable guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present and 100% parameter schema coverage, the description only needs to supply usage context and behavior not already in structured fields. It does so thoroughly, covering search scope, pagination, what the response contains, and the follow-up tool to use. Nothing an agent needs to call this tool correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 every parameter. The description reinforces that search can be by topic, date, or member, but doesn't add new semantic details beyond what the schema provides. Per the baseline rule, 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with an explicit directive: 'USE THIS TOOL WHEN searching Commons or Lords formal votes by topic, date, or member.' This names the verb (search), the resource (formal votes), and the filtering dimensions. It is clearly distinguished from the sibling votes_get_division by specifying that this returns summaries and that the full voter lists are obtained via the follow-up call.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives a clear when-to-use statement and instructs the agent to re-call with offset while has_more is true, and to pass division_id + house into votes_get_division afterward. It doesn't explicitly exclude alternatives like parliament_search_hansard or parliament_get_debate_divisions, but the formal-votes scope and the named follow-up make the intended usage clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
10 tool updates
v0.7.1- Changed
bills_search_bills3 fields changed- changed
Input schema / properties / house / descriptionPrevious value: -"Filter by originating house. Omit for all houses."New value: +"Filter by originating house: the House the bill was introduced in, wherever it sits now. Omit (or 'All') for all houses." - changed
Input schema / properties / offset / maximumPrevious value: -2000New value: +2147483647 - added
Output schema / properties / bills / items / properties / originating_houseAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "House where the bill was introduced (what the search `house` filter matches)" +}
- Changed
committees_search_evidence9 fields changed- changed
Input schema / properties / limit / descriptionPrevious value: -"Maximum evidence items to return. Default 20. When evidence_type='both' the limit is split across oral and written (roughly half each)."New value: +"Maximum evidence items to return. Default 20. For evidence_type='both' a page may hold only oral, only written, or the last oral items followed by the first written items." - changed
Input schema / properties / offset / descriptionPrevious value: -"Number of evidence items to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true."New value: +"Number of evidence items to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true. For evidence_type='both' this is a position in the combined sequence (all oral evidence, then all written evidence)." - changed
Input schema / properties / offset / maximumPrevious value: -2000New value: +2147483647 - changed
Output schema / descriptionPrevious value: -"A page of evidence submissions to a parliamentary committee.\n\nReturned by committees_search_evidence. Callers paginate by\nre-calling with offset=offset+returned while has_more is True.\nWhen evidence_type=\"both\", oral and written evidence are\ninterleaved in a single `evidence` list and the limit is split\nacross both."New value: +"A page of evidence submissions to a parliamentary committee.\n\nReturned by committees_search_evidence. Callers paginate by\nre-calling with offset=offset+returned while has_more is True.\nWhen evidence_type=\"both\", the sequence being paged is all oral\nevidence followed by all written evidence." - changed
Output schema / properties / evidence / items / properties / witnesses / anyOfPrevious value: -[ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "type": "null" - } -]New value: +[ + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + { + "type": "null" + } +] - changed
Output schema / properties / evidence / items / properties / witnesses / descriptionPrevious value: -"Witness names (oral evidence only, capped at 10 per item)"New value: +"Witness display names (oral evidence only, capped at 10 per item). An organisation witness (e.g. a regulator or company giving evidence collectively, not through one named individual) has no personal name upstream — that entry is rendered as '<Organisation> (<Role>)' instead, e.g. 'Bank of England (Governor)'. A null entry means committees-api.parliament.uk supplied neither a personal name nor an organisation for that witness slot — honest absence, not a fabricated placeholder; it is not omitted from the list, so the count of entries still matches the number of witnesses upstream." - changed
Output schema / properties / has_more / descriptionPrevious value: -"True if there may be more evidence beyond this page. Re-call with offset=offset+returned to fetch the next page. Conservative: when evidence_type='both', True if either oral or written upstream page came back full."New value: +"True if evidence exists beyond this page (offset + returned < total). Re-call with offset=offset+returned to fetch the next page." - added
Output schema / properties / totalAdded value: +{ + "description": "Evidence items matching this query, from committees-api's totalResults (for evidence_type='both', the oral count plus the written count)", + "type": "integer" +} - changed
Output schema / requiredPrevious value: -[ - "committee_id", - "evidence_type", - "offset", - "limit", - "returned", - "has_more" -]New value: +[ + "committee_id", + "evidence_type", + "offset", + "limit", + "returned", + "total", + "has_more" +]
- Changed
hmrc_get_vat_rate19 fields changed- changed
Output schema / descriptionPrevious value: -"VAT rate for a commodity or service."New value: +"VAT rate for a commodity or service.\n\nBacked by a small static lookup table, not a live HMRC/GOV.UK query.\n\n`matched_category` is None whenever the query is not exactly a table\ncategory name (or alias). In that case `rate`, `rate_percentage` and\n`verified_on` are ALSO None — this tool never fabricates a rate for an\nunresolved query. Callers must not assume a default (e.g. standard 20%)\nwhen `rate` is None; read `notes` for guidance on where to check instead.\n\nExempt and zero-rated are different treatments: zero-rated has\n`rate_percentage` 0.0, exempt has `rate_percentage` None." - added
Output schema / properties / effective_from / anyOfAdded value: +[ + { + "format": "date", + "type": "string" + }, + { + "type": "null" + } +] - added
Output schema / properties / effective_from / defaultAdded value: +null - changed
Output schema / properties / effective_from / descriptionPrevious value: -"Date from which this rate applies"New value: +"Date the represented VAT treatment is known, on researched evidence, to have taken legal effect. None when no such commencement date has been established for this entry — that is common and does NOT imply the rate is new, uncertain, or unmatched. For data currency (when this entry was last checked against GOV.UK/HMRC guidance) see `verified_on` instead — the two are deliberately independent." - removed
Output schema / properties / effective_from / formatRemoved value: -"date" - removed
Output schema / properties / effective_from / typeRemoved value: -"string" - added
Output schema / properties / matched_categoryAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The static lookup table category the query exactly named (e.g. 'hot food'), or None when the query is not a category name. `rate`/`rate_percentage` are None whenever this is None — see `notes`." +} - added
Output schema / properties / rate / anyOfAdded value: +[ + { + "enum": [ + "standard", + "reduced", + "zero", + "exempt", + "outside_scope" + ], + "type": "string" + }, + { + "type": "null" + } +] - added
Output schema / properties / rate / defaultAdded value: +null - changed
Output schema / properties / rate / descriptionPrevious value: -"VAT rate category"New value: +"VAT rate category, or None when no specific category was confidently matched. None here is NOT a stand-in for any real rate — it means the lookup did not resolve, not that the item is outside VAT's scope." - removed
Output schema / properties / rate / enumRemoved value: -[ - "standard", - "reduced", - "zero", - "exempt", - "outside_scope" -] - removed
Output schema / properties / rate / typeRemoved value: -"string" - added
Output schema / properties / rate_percentage / anyOfAdded value: +[ + { + "type": "number" + }, + { + "type": "null" + } +] - added
Output schema / properties / rate_percentage / defaultAdded value: +null - changed
Output schema / properties / rate_percentage / descriptionPrevious value: -"Applicable rate as percentage: 20.0 (standard), 5.0 (reduced), 0.0 (zero/exempt)"New value: +"Rate charged on a taxable supply: 20.0 (standard), 5.0 (reduced), 0.0 (zero). None for an exempt supply, which is not taxed at any rate (exempt is not the same as 0%), and None when `rate` is None." - removed
Output schema / properties / rate_percentage / typeRemoved value: -"number" - added
Output schema / properties / source_urlAdded value: +{ + "description": "GOV.UK/HMRC guidance page backing the matched entry; for an unresolved query, the general VAT rates page to consult instead", + "type": "string" +} - added
Output schema / properties / verified_onAdded value: +{ + "anyOf": [ + { + "format": "date", + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Date the matched entry was last checked against GOV.UK/HMRC guidance. None for an unresolved query, since no entry was matched. A data-currency signal only — see `effective_from` for the rate's own legal commencement date, when known." +} - changed
Output schema / requiredPrevious value: -[ - "commodity_code", - "rate", - "rate_percentage", - "effective_from" -]New value: +[ + "commodity_code", + "source_url" +]
- Changed
legislation_get_section1 field changed- changed
Input schema / properties / section / descriptionPrevious value: -"Section number, e.g. '47' or '12A'. Use the numeric part only — not 'section-47'. Schedules are not currently supported."New value: +"Provision number, e.g. '47' or '12A' — works for Act sections, SI regulations, and SI articles alike. Use the numeric part only — not 'section-47'/'regulation-47'/'article-47'. Schedules are not currently supported."
- Changed
parliament_find_member5 fields changed- added
Output schema / properties / members / items / properties / is_current / anyOfAdded value: +[ + { + "type": "boolean" + }, + { + "type": "null" + } +] - added
Output schema / properties / members / items / properties / is_current / defaultAdded value: +null - changed
Output schema / properties / members / items / properties / is_current / descriptionPrevious value: -"Whether the member currently sits"New value: +"Whether the member currently sits, in priority order: (1) the source's own membershipStatus.statusIsActive when membershipStatus is present — authoritative, used directly; (2) False when membershipStatus is null/absent but this record's own membershipEndDate is set — an authoritative end date, not an inference from how other records look; (3) None when neither is available — genuinely indeterminate, not fabricated as True or False. A null membershipStatus is NOT by itself read as 'ended'." - removed
Output schema / properties / members / items / properties / is_current / typeRemoved value: -"boolean" - changed
Output schema / properties / members / items / requiredPrevious value: -[ - "id", - "name", - "party", - "house", - "is_current" -]New value: +[ + "id", + "name", + "party", + "house" +]
- Changed
parliament_get_debate_contributions9 fields changed- changed
Output schema / properties / contributions / items / properties / attributed_to / descriptionPrevious value: -"Full citable attribution string, e.g. 'The Minister of State, DESNZ (Lord Whitehead) (Lab)'. Includes role-at-time of contribution for ministerial interventions."New value: +"Full citable attribution string, verbatim from Hansard, e.g. 'The Minister of State, DESNZ (Lord Whitehead) (Lab)' or 'Lord Pannick (CB)'. This is the authoritative citation text — quote it as-is rather than reconstructing it from other fields." - changed
Output schema / properties / contributions / items / properties / constituency / descriptionPrevious value: -"Constituency (Commons only; None for Lords)"New value: +"Constituency (Commons only; None for Lords). Not currently populated from AttributedTo — see `party`'s note on why positional parsing of that string is unsafe; use parliament_find_member for authoritative constituency." - changed
Output schema / properties / contributions / items / properties / member_id / descriptionPrevious value: -"Members API integer ID. Use as {member_id} in hansard://member/{member_id}/biography for the member's role history."New value: +"Members API integer ID. Use as {member_id} in hansard://member/{member_id}/biography for the member's role history. None for a collective or otherwise unresolved attribution (e.g. 'Hon. Members') — Hansard itself has no member to identify there." - added
Output schema / properties / contributions / items / properties / member_name / anyOfAdded value: +[ + { + "type": "string" + }, + { + "type": "null" + } +] - added
Output schema / properties / contributions / items / properties / member_name / defaultAdded value: +null - changed
Output schema / properties / contributions / items / properties / member_name / descriptionPrevious value: -"Name of the contributing member (MemberName)"New value: +"Authoritative display name of the contributing member — populated ONLY when the source endpoint itself supplies a real name field, never derived by parsing `attributed_to`. Populated from Hansard's MemberName field on the search endpoints (parliament_search_hansard, parliament_member_debates). ALWAYS None from parliament_get_debate_contributions (backed by /debates/Debate/{ext}.json), because DebateItem has no MemberName field at all — only `AttributedTo` (a citation-display string) and `member_id`. AttributedTo's shape varies unpredictably (own name first, hereditary-title styling, ministerial office, chair/speaker role, annotations, collective labels — e.g. 'Lord Pannick (CB)' vs 'The Earl of Devon (CB)' vs 'Madam Deputy Speaker (Judith Cummins)' vs 'Madam Deputy Speaker' alone, all verified live) with no positional rule that reliably recovers the person's name across all of them — two earlier attempts ('use the last parenthesis', then 'unless it starts with `The `') were each falsified by a real, live counterexample. `attributed_to` is preserved in full instead of being decomposed into a guess. Resolve authoritative identity via `member_id` and parliament_find_member when this is None." - removed
Output schema / properties / contributions / items / properties / member_name / typeRemoved value: -"string" - changed
Output schema / properties / contributions / items / properties / party / descriptionPrevious value: -"Political party affiliation parsed from the trailing '(Party)' suffix in AttributedTo"New value: +"ALWAYS None. Hansard's AttributedTo is a citation-display string Hansard composes for readability, not structured party data — neither the search-contributions nor the debate-items schema declares a Party field, and the parenthesised text varies by convention (constituency, party, office, 'Maiden Speech', a virtual-attendance marker, or nothing at all) in ways that cannot be told apart by position alone. Guessing a party from it previously produced fabricated values for ministers/officeholders (e.g. party='Lucy Powell' for 'The Leader of the House of Commons (Lucy Powell)'). For a member's authoritative party, resolve `member_id` via parliament_find_member against the Members API's structured latestParty field." - changed
Output schema / properties / contributions / items / requiredPrevious value: -[ - "member_name", - "attributed_to", - "date", - "debate_title", - "debate_id", - "debate_ext_id", - "contribution_ext_id", - "chamber_section", - "house", - "text", - "url" -]New value: +[ + "attributed_to", + "date", + "debate_title", + "debate_id", + "debate_ext_id", + "contribution_ext_id", + "chamber_section", + "house", + "text", + "url" +]
- Changed
parliament_member_debates9 fields changed- changed
Output schema / properties / contributions / items / properties / attributed_to / descriptionPrevious value: -"Full citable attribution string, e.g. 'The Minister of State, DESNZ (Lord Whitehead) (Lab)'. Includes role-at-time of contribution for ministerial interventions."New value: +"Full citable attribution string, verbatim from Hansard, e.g. 'The Minister of State, DESNZ (Lord Whitehead) (Lab)' or 'Lord Pannick (CB)'. This is the authoritative citation text — quote it as-is rather than reconstructing it from other fields." - changed
Output schema / properties / contributions / items / properties / constituency / descriptionPrevious value: -"Constituency (Commons only; None for Lords)"New value: +"Constituency (Commons only; None for Lords). Not currently populated from AttributedTo — see `party`'s note on why positional parsing of that string is unsafe; use parliament_find_member for authoritative constituency." - changed
Output schema / properties / contributions / items / properties / member_id / descriptionPrevious value: -"Members API integer ID. Use as {member_id} in hansard://member/{member_id}/biography for the member's role history."New value: +"Members API integer ID. Use as {member_id} in hansard://member/{member_id}/biography for the member's role history. None for a collective or otherwise unresolved attribution (e.g. 'Hon. Members') — Hansard itself has no member to identify there." - added
Output schema / properties / contributions / items / properties / member_name / anyOfAdded value: +[ + { + "type": "string" + }, + { + "type": "null" + } +] - added
Output schema / properties / contributions / items / properties / member_name / defaultAdded value: +null - changed
Output schema / properties / contributions / items / properties / member_name / descriptionPrevious value: -"Name of the contributing member (MemberName)"New value: +"Authoritative display name of the contributing member — populated ONLY when the source endpoint itself supplies a real name field, never derived by parsing `attributed_to`. Populated from Hansard's MemberName field on the search endpoints (parliament_search_hansard, parliament_member_debates). ALWAYS None from parliament_get_debate_contributions (backed by /debates/Debate/{ext}.json), because DebateItem has no MemberName field at all — only `AttributedTo` (a citation-display string) and `member_id`. AttributedTo's shape varies unpredictably (own name first, hereditary-title styling, ministerial office, chair/speaker role, annotations, collective labels — e.g. 'Lord Pannick (CB)' vs 'The Earl of Devon (CB)' vs 'Madam Deputy Speaker (Judith Cummins)' vs 'Madam Deputy Speaker' alone, all verified live) with no positional rule that reliably recovers the person's name across all of them — two earlier attempts ('use the last parenthesis', then 'unless it starts with `The `') were each falsified by a real, live counterexample. `attributed_to` is preserved in full instead of being decomposed into a guess. Resolve authoritative identity via `member_id` and parliament_find_member when this is None." - removed
Output schema / properties / contributions / items / properties / member_name / typeRemoved value: -"string" - changed
Output schema / properties / contributions / items / properties / party / descriptionPrevious value: -"Political party affiliation parsed from the trailing '(Party)' suffix in AttributedTo"New value: +"ALWAYS None. Hansard's AttributedTo is a citation-display string Hansard composes for readability, not structured party data — neither the search-contributions nor the debate-items schema declares a Party field, and the parenthesised text varies by convention (constituency, party, office, 'Maiden Speech', a virtual-attendance marker, or nothing at all) in ways that cannot be told apart by position alone. Guessing a party from it previously produced fabricated values for ministers/officeholders (e.g. party='Lucy Powell' for 'The Leader of the House of Commons (Lucy Powell)'). For a member's authoritative party, resolve `member_id` via parliament_find_member against the Members API's structured latestParty field." - changed
Output schema / properties / contributions / items / requiredPrevious value: -[ - "member_name", - "attributed_to", - "date", - "debate_title", - "debate_id", - "debate_ext_id", - "contribution_ext_id", - "chamber_section", - "house", - "text", - "url" -]New value: +[ + "attributed_to", + "date", + "debate_title", + "debate_id", + "debate_ext_id", + "contribution_ext_id", + "chamber_section", + "house", + "text", + "url" +]
- Changed
parliament_policy_position_summary1 field changed- changed
Output schema / properties / top_contributors / items / properties / party / descriptionPrevious value: -"Party affiliation parsed from AttributedTo"New value: +"Not derivable from Hansard's AttributedTo (see HansardContribution.party) — would require resolving member_id via parliament_find_member. Currently unused: top_contributors is always empty (see PolicyPositionSummary.by_party)."
- Changed
parliament_search_hansard10 fields changed- changed
Output schema / properties / contributions / items / properties / attributed_to / descriptionPrevious value: -"Full citable attribution string, e.g. 'The Minister of State, DESNZ (Lord Whitehead) (Lab)'. Includes role-at-time of contribution for ministerial interventions."New value: +"Full citable attribution string, verbatim from Hansard, e.g. 'The Minister of State, DESNZ (Lord Whitehead) (Lab)' or 'Lord Pannick (CB)'. This is the authoritative citation text — quote it as-is rather than reconstructing it from other fields." - changed
Output schema / properties / contributions / items / properties / constituency / descriptionPrevious value: -"Constituency (Commons only; None for Lords)"New value: +"Constituency (Commons only; None for Lords). Not currently populated from AttributedTo — see `party`'s note on why positional parsing of that string is unsafe; use parliament_find_member for authoritative constituency." - changed
Output schema / properties / contributions / items / properties / member_id / descriptionPrevious value: -"Members API integer ID. Use as {member_id} in hansard://member/{member_id}/biography for the member's role history."New value: +"Members API integer ID. Use as {member_id} in hansard://member/{member_id}/biography for the member's role history. None for a collective or otherwise unresolved attribution (e.g. 'Hon. Members') — Hansard itself has no member to identify there." - added
Output schema / properties / contributions / items / properties / member_name / anyOfAdded value: +[ + { + "type": "string" + }, + { + "type": "null" + } +] - added
Output schema / properties / contributions / items / properties / member_name / defaultAdded value: +null - changed
Output schema / properties / contributions / items / properties / member_name / descriptionPrevious value: -"Name of the contributing member (MemberName)"New value: +"Authoritative display name of the contributing member — populated ONLY when the source endpoint itself supplies a real name field, never derived by parsing `attributed_to`. Populated from Hansard's MemberName field on the search endpoints (parliament_search_hansard, parliament_member_debates). ALWAYS None from parliament_get_debate_contributions (backed by /debates/Debate/{ext}.json), because DebateItem has no MemberName field at all — only `AttributedTo` (a citation-display string) and `member_id`. AttributedTo's shape varies unpredictably (own name first, hereditary-title styling, ministerial office, chair/speaker role, annotations, collective labels — e.g. 'Lord Pannick (CB)' vs 'The Earl of Devon (CB)' vs 'Madam Deputy Speaker (Judith Cummins)' vs 'Madam Deputy Speaker' alone, all verified live) with no positional rule that reliably recovers the person's name across all of them — two earlier attempts ('use the last parenthesis', then 'unless it starts with `The `') were each falsified by a real, live counterexample. `attributed_to` is preserved in full instead of being decomposed into a guess. Resolve authoritative identity via `member_id` and parliament_find_member when this is None." - removed
Output schema / properties / contributions / items / properties / member_name / typeRemoved value: -"string" - changed
Output schema / properties / contributions / items / properties / party / descriptionPrevious value: -"Political party affiliation parsed from the trailing '(Party)' suffix in AttributedTo"New value: +"ALWAYS None. Hansard's AttributedTo is a citation-display string Hansard composes for readability, not structured party data — neither the search-contributions nor the debate-items schema declares a Party field, and the parenthesised text varies by convention (constituency, party, office, 'Maiden Speech', a virtual-attendance marker, or nothing at all) in ways that cannot be told apart by position alone. Guessing a party from it previously produced fabricated values for ministers/officeholders (e.g. party='Lucy Powell' for 'The Leader of the House of Commons (Lucy Powell)'). For a member's authoritative party, resolve `member_id` via parliament_find_member against the Members API's structured latestParty field." - changed
Output schema / properties / contributions / items / requiredPrevious value: -[ - "member_name", - "attributed_to", - "date", - "debate_title", - "debate_id", - "debate_ext_id", - "contribution_ext_id", - "chamber_section", - "house", - "text", - "url" -]New value: +[ + "attributed_to", + "date", + "debate_title", + "debate_id", + "debate_ext_id", + "contribution_ext_id", + "chamber_section", + "house", + "text", + "url" +] - changed
Output schema / properties / party_breakdown / descriptionPrevious value: -"Counts by party across the returned page"New value: +"ALWAYS EMPTY. Hansard's contribution schema has no structured party field (see HansardContribution.party) — an aggregation over unjustified values would just be a party-shaped guess. Kept as a field (rather than removed) for schema stability. For real party facets, resolve member_id per contribution via parliament_find_member; this tool does not do that automatically — it would cost one extra HTTP call per distinct member in the page."
- Changed
votes_search_divisions7 fields changed- changed
Input schema / properties / limit / descriptionPrevious value: -"Maximum divisions to return. Default 25 (Commons API max-per-page)."New value: +"Maximum divisions to return. Default 25. The Lords API honours up to 100; the Commons API returns at most 25 per call, so page by `returned`, not `limit`." - changed
Input schema / properties / offset / maximumPrevious value: -2000New value: +2147483647 - changed
Output schema / properties / has_more / descriptionPrevious value: -"True if a full page was returned (more may exist)"New value: +"True if divisions beyond this page exist (offset + returned < total)" - changed
Output schema / properties / limit / descriptionPrevious value: -"Page size requested"New value: +"Page size requested (the Commons API returns at most 25 regardless)" - added
Output schema / properties / returnedAdded value: +{ + "description": "Number of divisions returned in this call", + "type": "integer" +} - changed
Output schema / properties / total / descriptionPrevious value: -"Number of divisions returned in this call"New value: +"Total divisions matching the filters, from the source API's searchTotalResults count" - changed
Output schema / requiredPrevious value: -[ - "house", - "total" -]New value: +[ + "house", + "returned", + "total" +]
7 tool updates
v0.6.1- Changed
get_prompt1 field changed- added
Output schema / descriptionAdded value: +"Generic wrapper for non-object return types."
- Changed
list_prompts1 field changed- added
Output schema / descriptionAdded value: +"Generic wrapper for non-object return types."
- Changed
list_resources1 field changed- added
Output schema / descriptionAdded value: +"Generic wrapper for non-object return types."
- Changed
parliament_lookup_by_column1 field changed- changed
Output schema / properties / matches / items / properties / debate_id / descriptionPrevious value: -"Internal Hansard debate ID (DebateSectionId)"New value: +"Internal Hansard debate ID."
- Changed
parliament_policy_position_summary1 field changed- changed
Output schema / properties / top_debates / items / properties / debate_id / descriptionPrevious value: -"Internal Hansard debate ID (DebateSectionId)"New value: +"Internal Hansard debate ID."
- Changed
parliament_search_hansard1 field changed- changed
Output schema / properties / top_debates / items / properties / debate_id / descriptionPrevious value: -"Internal Hansard debate ID (DebateSectionId)"New value: +"Internal Hansard debate ID."
- Changed
read_resource1 field changed- added
Output schema / descriptionAdded value: +"Generic wrapper for non-object return types."
28 tool updates
v0.6.0- Changed
bills_get_bill4 fields changed- added
Input schema / properties / bill_idAdded value: +{ + "description": "Bill ID from bills_search_bills results.", + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / max_summary_charsAdded value: +{ + "default": 5000, + "description": "Maximum characters of the bill summary text to return. Default 5,000 (~1,250 tokens) covers most bills. Raise for substantive government bills (Finance Act, Levelling-up) whose summary runs longer. Check summary_truncated in the response to see if it was cut.", + "maximum": 50000, + "minimum": 500, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "BillDetailInput.", - "properties": { - "bill_id": { - "description": "Bill ID from bills_search_bills results.", - "minimum": 1, - "type": "integer" - }, - "max_summary_chars": { - "default": 5000, - "description": "Maximum characters of the bill summary text to return. Default 5,000 (~1,250 tokens) covers most bills. Raise for substantive government bills (Finance Act, Levelling-up) whose summary runs longer. Check summary_truncated in the response to see if it was cut.", - "maximum": 50000, - "minimum": 500, - "type": "integer" - } - }, - "required": [ - "bill_id" - ], - "type": "object" -} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "bill_id" +]
- Changed
bills_search_bills8 fields changed- added
Input schema / properties / houseAdded value: +{ + "anyOf": [ + { + "enum": [ + "Commons", + "Lords", + "All" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by originating house. Omit for all houses." +} - added
Input schema / properties / limitAdded value: +{ + "default": 20, + "description": "Maximum bills to return in this call. Default 20 keeps responses focused; raise up to 100 for bulk exports.", + "maximum": 100, + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / offsetAdded value: +{ + "default": 0, + "description": "Number of results to skip before this page. Default 0 for the first page. Re-call with offset=offset+returned while has_more is true to paginate.", + "maximum": 2000, + "minimum": 0, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "BillSearchInput.", - "properties": { - "house": { - "anyOf": [ - { - "enum": [ - "Commons", - "Lords", - "All" - ], - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter by originating house. Omit for all houses." - }, - "limit": { - "default": 20, - "description": "Maximum bills to return in this call. Default 20 keeps responses focused; raise up to 100 for bulk exports.", - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - "offset": { - "default": 0, - "description": "Number of results to skip before this page. Default 0 for the first page. Re-call with offset=offset+returned while has_more is true to paginate.", - "maximum": 2000, - "minimum": 0, - "type": "integer" - }, - "query": { - "description": "Search term for bill titles and descriptions, e.g. 'online safety' or 'financial services'.", - "maxLength": 500, - "minLength": 1, - "type": "string" - }, - "session": { - "anyOf": [ - { - "minimum": 1, - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Numeric parliamentary session ID (e.g. 40 = 2024-25, 39 = 2023-24). NOT a year string like '2025'. If you only know the year, omit this and filter the results instead. Omit to search all sessions." - }, - "stage": { - "anyOf": [ - { - "enum": [ - "firstreading", - "secondreading", - "committee", - "report", - "thirdreading", - "royalassent" - ], - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter by current legislative stage." - } - }, - "required": [ - "query" - ], - "type": "object" -} - added
Input schema / properties / queryAdded value: +{ + "description": "Search term for bill titles and descriptions, e.g. 'online safety' or 'financial services'.", + "maxLength": 500, + "minLength": 1, + "type": "string" +} - added
Input schema / properties / sessionAdded value: +{ + "anyOf": [ + { + "minimum": 1, + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Numeric parliamentary session ID (e.g. 40 = 2024-25, 39 = 2023-24). NOT a year string like '2025'. If you only know the year, omit this and filter the results instead. Omit to search all sessions." +} - added
Input schema / properties / stageAdded value: +{ + "anyOf": [ + { + "enum": [ + "firstreading", + "secondreading", + "committee", + "report", + "thirdreading", + "royalassent" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by current legislative stage." +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "query" +]
- Changed
case_law_grep_judgment6 fields changed- added
Input schema / properties / case_insensitiveAdded value: +{ + "default": true, + "description": "Default true. Set false for case-sensitive matching.", + "type": "boolean" +} - added
Input schema / properties / max_hitsAdded value: +{ + "default": 25, + "description": "Cap on number of hits returned.", + "maximum": 100, + "minimum": 1, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "CaseLawGrepInput.", - "properties": { - "case_insensitive": { - "default": true, - "description": "Default true. Set false for case-sensitive matching.", - "type": "boolean" - }, - "max_hits": { - "default": 25, - "description": "Cap on number of hits returned.", - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - "pattern": { - "description": "Regex pattern (or plain substring) to search within paragraph text. If the pattern doesn't compile as regex, falls back to literal substring match.", - "maxLength": 200, - "minLength": 2, - "type": "string" - }, - "slug": { - "description": "TNA judgment slug, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450'.", - "minLength": 8, - "type": "string" - } - }, - "required": [ - "slug", - "pattern" - ], - "type": "object" -} - added
Input schema / properties / patternAdded value: +{ + "description": "Regex pattern (or plain substring) to search within paragraph text. If the pattern doesn't compile as regex, falls back to literal substring match.", + "maxLength": 200, + "minLength": 2, + "type": "string" +} - added
Input schema / properties / slugAdded value: +{ + "description": "TNA judgment slug, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450'.", + "minLength": 8, + "type": "string" +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "slug", + "pattern" +]
- Changed
case_law_search10 fields changed- added
Input schema / properties / courtAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by court slug. Values: 'uksc', 'ukpc', 'ewca/civ', 'ewca/crim', 'ewhc/kb', 'ewhc/ch', 'ewhc/comm', 'ewhc/fam', 'ewhc/pat', 'ewhc/ipec', 'ewhc/admin', 'ewhc/tcc', 'ewhc/costs', 'ewfc', 'ewcop', 'eat', 'ukut/iac', 'ukut/aac', 'ukut/tcc', 'ukut/lc', 'ukftt/tc', 'ukftt/grc', 'nica', 'niqb'." +} - added
Input schema / properties / from_dateAdded value: +{ + "anyOf": [ + { + "format": "date", + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Earliest judgment date (YYYY-MM-DD). NOTE: the TNA atom.xml endpoint currently appears to ignore this filter — the same results come back regardless. Do not rely on it to narrow output; sort+slice client-side or refine `query` instead." +} - added
Input schema / properties / judgeAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by judge surname. Case-insensitive substring match against the indexed form. Use the surname alone ('Reed', 'Sumption') or with the bare title ('Lord Reed'). Honorific suffixes silently zero the result set — do not append 'JSC', 'of Allermuir', 'KC' etc. Speculating a fuller form than what TNA indexed will return 0 hits with no error." +} - added
Input schema / properties / limitAdded value: +{ + "default": 10, + "description": "Maximum results to return (1–50). TNA returns up to 50 per request; this slices client-side. Default 10 for a tight shortlist. Set higher for breadth (e.g. 50 to scan the full result set).", + "maximum": 50, + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / pageAdded value: +{ + "default": 1, + "description": "Result page number (1-indexed)", + "maximum": 50, + "minimum": 1, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "CaseLawSearchInput.", - "properties": { - "court": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter by court slug. Values: 'uksc', 'ukpc', 'ewca/civ', 'ewca/crim', 'ewhc/kb', 'ewhc/ch', 'ewhc/comm', 'ewhc/fam', 'ewhc/pat', 'ewhc/ipec', 'ewhc/admin', 'ewhc/tcc', 'ewhc/costs', 'ewfc', 'ewcop', 'eat', 'ukut/iac', 'ukut/aac', 'ukut/tcc', 'ukut/lc', 'ukftt/tc', 'ukftt/grc', 'nica', 'niqb'." - }, - "from_date": { - "anyOf": [ - { - "format": "date", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Earliest judgment date (YYYY-MM-DD). NOTE: the TNA atom.xml endpoint currently appears to ignore this filter — the same results come back regardless. Do not rely on it to narrow output; sort+slice client-side or refine `query` instead." - }, - "judge": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter by judge surname. Case-insensitive substring match against the indexed form. Use the surname alone ('Reed', 'Sumption') or with the bare title ('Lord Reed'). Honorific suffixes silently zero the result set — do not append 'JSC', 'of Allermuir', 'KC' etc. Speculating a fuller form than what TNA indexed will return 0 hits with no error." - }, - "page": { - "default": 1, - "description": "Result page number (1-indexed)", - "maximum": 50, - "minimum": 1, - "type": "integer" - }, - "party": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter by party name" - }, - "query": { - "description": "Full-text search query, e.g. 'negligence duty of care'", - "maxLength": 500, - "minLength": 1, - "type": "string" - }, - "to_date": { - "anyOf": [ - { - "format": "date", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Latest judgment date (YYYY-MM-DD). Same caveat as `from_date` — currently silently ignored by upstream. Filtering happens client-side at best." - } - }, - "required": [ - "query" - ], - "type": "object" -} - added
Input schema / properties / partyAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by party name" +} - added
Input schema / properties / queryAdded value: +{ + "description": "Full-text search query, e.g. 'negligence duty of care'", + "maxLength": 500, + "minLength": 1, + "type": "string" +} - added
Input schema / properties / to_dateAdded value: +{ + "anyOf": [ + { + "format": "date", + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Latest judgment date (YYYY-MM-DD). Same caveat as `from_date` — currently silently ignored by upstream. Filtering happens client-side at best." +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "query" +]
- Added
citations_format_oscola - Changed
citations_network3 fields changed- added
Input schema / properties / case_uriAdded value: +{ + "description": "TNA judgment URI slug, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450'. Use the 'uri' field from case_law_search results — not the full URL. Do not include the 'https://caselaw.nationalarchives.gov.uk/' prefix.", + "minLength": 5, + "type": "string" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "CitationsNetworkInput with case_uri (TNA slug, e.g. 'uksc/2024/12').", - "properties": { - "case_uri": { - "description": "TNA judgment URI slug, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450'. Use the 'uri' field from case_law_search results — not the full URL. Do not include the 'https://caselaw.nationalarchives.gov.uk/' prefix.", - "minLength": 5, - "type": "string" - } - }, - "required": [ - "case_uri" - ], - "type": "object" -} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "case_uri" +]
- Changed
citations_parse4 fields changed- added
Input schema / properties / disambiguateAdded value: +{ + "default": false, + "description": "Default False — pure-regex parsing, no model in the loop. If True, ambiguous citations (e.g. bare EWHC without a division) are sent to the connected client's own LLM, via MCP sampling, to resolve the division. Opt in only when you want best-effort division resolution and accept that a model shapes the result.", + "type": "boolean" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "CitationsParseInput.", - "properties": { - "disambiguate": { - "default": false, - "description": "Default False — pure-regex parsing, no model in the loop. If True, ambiguous citations (e.g. bare EWHC without a division) are sent to the connected client's own LLM, via MCP sampling, to resolve the division. Opt in only when you want best-effort division resolution and accept that a model shapes the result.", - "type": "boolean" - }, - "text": { - "description": "Free text containing OSCOLA citations to extract. Supported: neutral citations ([2024] UKSC 12), law reports ([2024] 1 WLR 100), legislation sections (s.47 Companies Act 2006), SIs (SI 2018/1234), retained EU law (Regulation (EU) 2016/679). Max 50,000 chars.", - "maxLength": 50000, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "text" - ], - "type": "object" -} - added
Input schema / properties / textAdded value: +{ + "description": "Free text containing OSCOLA citations to extract. Supported: neutral citations ([2024] UKSC 12), law reports ([2024] 1 WLR 100), legislation sections (s.47 Companies Act 2006), SIs (SI 2018/1234), retained EU law (Regulation (EU) 2016/679). Max 50,000 chars.", + "maxLength": 50000, + "minLength": 1, + "type": "string" +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "text" +]
- Changed
citations_resolve3 fields changed- added
Input schema / properties / citationAdded value: +{ + "description": "A single OSCOLA citation to parse and resolve. E.g. '[2024] UKSC 12', 'SI 2018/1234', 's.47 Companies Act 2006'", + "maxLength": 500, + "minLength": 3, + "type": "string" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "CitationsResolveInput.", - "properties": { - "citation": { - "description": "A single OSCOLA citation to parse and resolve. E.g. '[2024] UKSC 12', 'SI 2018/1234', 's.47 Companies Act 2006'", - "maxLength": 500, - "minLength": 3, - "type": "string" - } - }, - "required": [ - "citation" - ], - "type": "object" -} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "citation" +]
- Changed
committees_get_committee3 fields changed- added
Input schema / properties / committee_idAdded value: +{ + "description": "Committee ID from committees_search_committees results.", + "minimum": 1, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "CommitteeDetailInput.", - "properties": { - "committee_id": { - "description": "Committee ID from committees_search_committees results.", - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "committee_id" - ], - "type": "object" -} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "committee_id" +]
- Changed
committees_search_committees6 fields changed- added
Input schema / properties / active_onlyAdded value: +{ + "default": true, + "description": "If true, only return currently active committees.", + "type": "boolean" +} - added
Input schema / properties / houseAdded value: +{ + "anyOf": [ + { + "enum": [ + "Commons", + "Lords", + "Joint" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by house." +} - added
Input schema / properties / limitAdded value: +{ + "default": 100, + "description": "Maximum committees to return. Default 100 comfortably covers all currently-active UK select committees. Raise only for historical sweeps.", + "maximum": 500, + "minimum": 1, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "CommitteeSearchInput.", - "properties": { - "active_only": { - "default": true, - "description": "If true, only return currently active committees.", - "type": "boolean" - }, - "house": { - "anyOf": [ - { - "enum": [ - "Commons", - "Lords", - "Joint" - ], - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter by house." - }, - "limit": { - "default": 100, - "description": "Maximum committees to return. Default 100 comfortably covers all currently-active UK select committees. Raise only for historical sweeps.", - "maximum": 500, - "minimum": 1, - "type": "integer" - }, - "query": { - "anyOf": [ - { - "maxLength": 300, - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Search term for committee names, e.g. 'defence' or 'treasury'. Filtered client-side against committee names. Omit to list all committees." - } - }, - "type": "object" -} - added
Input schema / properties / queryAdded value: +{ + "anyOf": [ + { + "maxLength": 300, + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Search term for committee names, e.g. 'defence' or 'treasury'. Filtered client-side against committee names. Omit to list all committees." +} - removed
Input schema / requiredRemoved value: -[ - "params" -]
- Changed
committees_search_evidence7 fields changed- added
Input schema / properties / committee_idAdded value: +{ + "description": "Committee ID from committees_search_committees results.", + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / evidence_typeAdded value: +{ + "default": "both", + "description": "Type of evidence to search.", + "enum": [ + "oral", + "written", + "both" + ], + "type": "string" +} - added
Input schema / properties / limitAdded value: +{ + "default": 20, + "description": "Maximum evidence items to return. Default 20. When evidence_type='both' the limit is split across oral and written (roughly half each).", + "maximum": 100, + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / max_title_charsAdded value: +{ + "default": 300, + "description": "Per-item cap on the free-text title field. Default 300 prevents context blow-up from verbose inquiry titles. Raise to 1000+ only when you need the full title text.", + "maximum": 2000, + "minimum": 50, + "type": "integer" +} - added
Input schema / properties / offsetAdded value: +{ + "default": 0, + "description": "Number of evidence items to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.", + "maximum": 2000, + "minimum": 0, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "CommitteeEvidenceInput.", - "properties": { - "committee_id": { - "description": "Committee ID from committees_search_committees results.", - "minimum": 1, - "type": "integer" - }, - "evidence_type": { - "default": "both", - "description": "Type of evidence to search.", - "enum": [ - "oral", - "written", - "both" - ], - "type": "string" - }, - "limit": { - "default": 20, - "description": "Maximum evidence items to return. Default 20. When evidence_type='both' the limit is split across oral and written (roughly half each).", - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - "max_title_chars": { - "default": 300, - "description": "Per-item cap on the free-text title field. Default 300 prevents context blow-up from verbose inquiry titles. Raise to 1000+ only when you need the full title text.", - "maximum": 2000, - "minimum": 50, - "type": "integer" - }, - "offset": { - "default": 0, - "description": "Number of evidence items to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.", - "maximum": 2000, - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "committee_id" - ], - "type": "object" -} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "committee_id" +]
- Changed
hmrc_check_mtd_status3 fields changed- removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "HMRCMTDStatusInput.", - "properties": { - "vrn": { - "description": "VAT Registration Number: 9 digits, e.g. '123456789'. GB prefix accepted and stripped automatically.", - "maxLength": 12, - "minLength": 9, - "type": "string" - } - }, - "required": [ - "vrn" - ], - "type": "object" -} - added
Input schema / properties / vrnAdded value: +{ + "description": "VAT Registration Number: 9 digits, e.g. '123456789'. GB prefix accepted and stripped automatically.", + "maxLength": 12, + "minLength": 9, + "type": "string" +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "vrn" +]
- Changed
hmrc_get_vat_rate3 fields changed- added
Input schema / properties / commodity_codeAdded value: +{ + "description": "Commodity code or plain-English description. E.g. 'food', 'domestic fuel', 'software', 'financial services', 'new build residential'", + "maxLength": 200, + "minLength": 2, + "type": "string" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "HMRCVATRateInput.", - "properties": { - "commodity_code": { - "description": "Commodity code or plain-English description. E.g. 'food', 'domestic fuel', 'software', 'financial services', 'new build residential'", - "maxLength": 200, - "minLength": 2, - "type": "string" - } - }, - "required": [ - "commodity_code" - ], - "type": "object" -} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "commodity_code" +]
- Changed
hmrc_search_guidance4 fields changed- added
Input schema / properties / limitAdded value: +{ + "default": 10, + "description": "Maximum guidance results to return (1–25). Passed to the GOV.UK search count param.", + "maximum": 25, + "minimum": 1, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "HMRCGuidanceSearchInput.", - "properties": { - "query": { - "description": "Search query for HMRC guidance, e.g. 'VAT digital services', 'R&D tax relief SME'", - "maxLength": 300, - "minLength": 3, - "type": "string" - } - }, - "required": [ - "query" - ], - "type": "object" -} - added
Input schema / properties / queryAdded value: +{ + "description": "Search query for HMRC guidance, e.g. 'VAT digital services', 'R&D tax relief SME'", + "maxLength": 300, + "minLength": 3, + "type": "string" +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "query" +]
- Changed
legislation_get_section8 fields changed- added
Input schema / properties / max_charsAdded value: +{ + "default": 10000, + "description": "Maximum characters of section content to return. Default 10,000 (~2,500 tokens) covers almost every section. Raise to 50,000+ only for unusually long Finance Act definition sections. Check content_truncated in the response to see if it was cut.", + "maximum": 200000, + "minimum": 500, + "type": "integer" +} - added
Input schema / properties / numberAdded value: +{ + "description": "Chapter or SI number", + "minimum": 1, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "LegislationGetSectionInput.", - "properties": { - "max_chars": { - "default": 10000, - "description": "Maximum characters of section content to return. Default 10,000 (~2,500 tokens) covers almost every section. Raise to 50,000+ only for unusually long Finance Act definition sections. Check content_truncated in the response to see if it was cut.", - "maximum": 200000, - "minimum": 500, - "type": "integer" - }, - "number": { - "description": "Chapter or SI number", - "minimum": 1, - "type": "integer" - }, - "section": { - "description": "Section number, e.g. '47' or '12A'. Use the numeric part only — not 'section-47'. Schedules are not currently supported.", - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "type": { - "description": "Legislation type code: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts). Use the value from legislation_search results.", - "maxLength": 10, - "minLength": 2, - "type": "string" - }, - "year": { - "description": "Year of enactment", - "maximum": 2100, - "minimum": 1800, - "type": "integer" - } - }, - "required": [ - "type", - "year", - "number", - "section" - ], - "type": "object" -} - added
Input schema / properties / sectionAdded value: +{ + "description": "Section number, e.g. '47' or '12A'. Use the numeric part only — not 'section-47'. Schedules are not currently supported.", + "maxLength": 50, + "minLength": 1, + "type": "string" +} - added
Input schema / properties / typeAdded value: +{ + "description": "Legislation type code: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts). Use the value from legislation_search results.", + "maxLength": 10, + "minLength": 2, + "type": "string" +} - added
Input schema / properties / yearAdded value: +{ + "description": "Year of enactment", + "maximum": 2100, + "minimum": 1800, + "type": "integer" +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "type", + "year", + "number", + "section" +] - changed
Output schema / properties / in_force / descriptionPrevious value: -"Whether this section is currently in force; None if unknown"New value: +"False if the section is explicitly marked repealed in CLML. True only when an InForce element is present in the section body (rare). Null for most sections — the data.xml endpoint does not carry a per-section current in-force boolean; null does not mean repealed."
- Changed
legislation_get_toc7 fields changed- added
Input schema / properties / limitAdded value: +{ + "default": 200, + "description": "Maximum items to return in this call (default 200, max 1000). Raise only when you need a larger slice in one response. Check has_more and total_items to know if further pages exist.", + "maximum": 1000, + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / numberAdded value: +{ + "description": "Chapter or SI number", + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / offsetAdded value: +{ + "default": 0, + "description": "Number of items to skip from the flattened TOC. Use with limit to page through very large statutes like the Companies Act 2006 (1300+ items).", + "minimum": 0, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "LegislationGetTocInput.", - "properties": { - "limit": { - "default": 200, - "description": "Maximum items to return in this call (default 200, max 1000). Raise only when you need a larger slice in one response. Check has_more and total_items to know if further pages exist.", - "maximum": 1000, - "minimum": 1, - "type": "integer" - }, - "number": { - "description": "Chapter or SI number", - "minimum": 1, - "type": "integer" - }, - "offset": { - "default": 0, - "description": "Number of items to skip from the flattened TOC. Use with limit to page through very large statutes like the Companies Act 2006 (1300+ items).", - "minimum": 0, - "type": "integer" - }, - "type": { - "description": "Legislation type code: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts). Use the value from legislation_search results.", - "maxLength": 10, - "minLength": 2, - "type": "string" - }, - "year": { - "description": "Year of enactment", - "maximum": 2100, - "minimum": 1800, - "type": "integer" - } - }, - "required": [ - "type", - "year", - "number" - ], - "type": "object" -} - added
Input schema / properties / typeAdded value: +{ + "description": "Legislation type code: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts). Use the value from legislation_search results.", + "maxLength": 10, + "minLength": 2, + "type": "string" +} - added
Input schema / properties / yearAdded value: +{ + "description": "Year of enactment", + "maximum": 2100, + "minimum": 1800, + "type": "integer" +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "type", + "year", + "number" +]
- Changed
legislation_search7 fields changed- added
Input schema / properties / fulltextAdded value: +{ + "default": false, + "description": "Default false → searches Act/SI titles only (best for finding a named Act, e.g. 'Housing Act 1988' returns ukpga/1988/50 first). Set true to search the full text of every Act/SI for the query (returns SIs and regulations that cite the term — e.g. 'rental deposits' would return many implementing instruments).", + "type": "boolean" +} - added
Input schema / properties / limitAdded value: +{ + "default": 20, + "description": "Maximum results to return (1–50). Passed to the upstream results-count param.", + "maximum": 50, + "minimum": 1, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "LegislationSearchInput.", - "properties": { - "fulltext": { - "default": false, - "description": "Default false → searches Act/SI titles only (best for finding a named Act, e.g. 'Housing Act 1988' returns ukpga/1988/50 first). Set true to search the full text of every Act/SI for the query (returns SIs and regulations that cite the term — e.g. 'rental deposits' would return many implementing instruments).", - "type": "boolean" - }, - "query": { - "description": "Search query, e.g. 'Housing Act 1988' or 'data protection personal data'", - "maxLength": 500, - "minLength": 1, - "type": "string" - }, - "type": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter by type: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts). Exact-match — omit if you don't already know whether you're looking for an Act vs an SI." - }, - "year": { - "anyOf": [ - { - "maximum": 2100, - "minimum": 1800, - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter by year of enactment (exact-match — a single integer, not a range). Omit unless you already know the Act's year. Speculating a year (e.g. 'this is recent so it must be 2026') and getting it wrong will zero out the result set. Better workflow: query without `year`, then read the year from the returned results." - } - }, - "required": [ - "query" - ], - "type": "object" -} - added
Input schema / properties / queryAdded value: +{ + "description": "Search query, e.g. 'Housing Act 1988' or 'data protection personal data'", + "maxLength": 500, + "minLength": 1, + "type": "string" +} - added
Input schema / properties / typeAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by type: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts). Exact-match — omit if you don't already know whether you're looking for an Act vs an SI." +} - added
Input schema / properties / yearAdded value: +{ + "anyOf": [ + { + "maximum": 2100, + "minimum": 1800, + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by year of enactment (exact-match — a single integer, not a range). Omit unless you already know the Act's year. Speculating a year (e.g. 'this is recent so it must be 2026') and getting it wrong will zero out the result set. Better workflow: query without `year`, then read the year from the returned results." +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "query" +]
- Changed
parliament_find_member3 fields changed- added
Input schema / properties / nameAdded value: +{ + "description": "Name or partial name, e.g. 'Starmer', 'Baroness Hale'", + "maxLength": 200, + "minLength": 2, + "type": "string" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "FindMemberInput with the name (full or partial).", - "properties": { - "name": { - "description": "Name or partial name, e.g. 'Starmer', 'Baroness Hale'", - "maxLength": 200, - "minLength": 2, - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" -} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "name" +]
- Changed
parliament_get_debate_contributions4 fields changed- added
Input schema / properties / debate_ext_idAdded value: +{ + "description": "Debate GUID (DebateSectionExtId). Chain from parliament_search_hansard top_debates[].debate_ext_id, parliament_lookup_by_column matches[].debate_ext_id, or any tool that surfaces a debate identifier.", + "minLength": 8, + "type": "string" +} - added
Input schema / properties / member_idAdded value: +{ + "anyOf": [ + { + "minimum": 1, + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Optional integer Members API ID. When given, only that member's contributions in this debate are returned — regardless of which words they used. Resolves via parliament_find_member. When omitted, every contribution in the debate is returned (typical debate: 100-200 items)." +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "GetDebateContributionsInput with debate_ext_id (required) and\noptional member_id filter.", - "properties": { - "debate_ext_id": { - "description": "Debate GUID (DebateSectionExtId). Chain from parliament_search_hansard top_debates[].debate_ext_id, parliament_lookup_by_column matches[].debate_ext_id, or any tool that surfaces a debate identifier.", - "minLength": 8, - "type": "string" - }, - "member_id": { - "anyOf": [ - { - "minimum": 1, - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Optional integer Members API ID. When given, only that member's contributions in this debate are returned — regardless of which words they used. Resolves via parliament_find_member. When omitted, every contribution in the debate is returned (typical debate: 100-200 items)." - } - }, - "required": [ - "debate_ext_id" - ], - "type": "object" -} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "debate_ext_id" +]
- Changed
parliament_get_debate_divisions3 fields changed- added
Input schema / properties / debate_ext_idAdded value: +{ + "description": "Debate GUID (DebateSectionExtId). Chain from parliament_search_hansard contribution.debate_ext_id, top_debates[].debate_ext_id, or parliament_policy_position_summary top_debates[].debate_ext_id.", + "minLength": 8, + "type": "string" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "GetDebateDivisionsInput with the debate_ext_id GUID\n(chain from parliament_search_hansard contribution.debate_ext_id\nor top_debates[].debate_ext_id).", - "properties": { - "debate_ext_id": { - "description": "Debate GUID (DebateSectionExtId). Chain from parliament_search_hansard contribution.debate_ext_id, top_debates[].debate_ext_id, or parliament_policy_position_summary top_debates[].debate_ext_id.", - "minLength": 8, - "type": "string" - } - }, - "required": [ - "debate_ext_id" - ], - "type": "object" -} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "debate_ext_id" +]
- Changed
parliament_lookup_by_column5 fields changed- added
Input schema / properties / column_numberAdded value: +{ + "description": "Hansard column number from an OSCOLA footnote, e.g. '200' for 'HL Deb 14 Oct 2025, vol 849, col 200'. String (not integer) to accommodate column suffixes like '1162W' for written answers.", + "maxLength": 20, + "minLength": 1, + "type": "string" +} - added
Input schema / properties / houseAdded value: +{ + "default": "both", + "description": "Restrict to one House. Default 'both' searches across both Houses.", + "enum": [ + "Commons", + "Lords", + "both" + ], + "type": "string" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "LookupByColumnInput with column_number, volume_number, house.", - "properties": { - "column_number": { - "description": "Hansard column number from an OSCOLA footnote, e.g. '200' for 'HL Deb 14 Oct 2025, vol 849, col 200'. String (not integer) to accommodate column suffixes like '1162W' for written answers.", - "maxLength": 20, - "minLength": 1, - "type": "string" - }, - "house": { - "default": "both", - "description": "Restrict to one House. Default 'both' searches across both Houses.", - "enum": [ - "Commons", - "Lords", - "both" - ], - "type": "string" - }, - "volume_number": { - "description": "Hansard volume number (the 'vol 849' part of an OSCOLA citation). Required — the endpoint only resolves citations when given the volume; sitting date is NOT a substitute (verified live 2026-05-29).", - "exclusiveMinimum": 0, - "type": "integer" - } - }, - "required": [ - "column_number", - "volume_number" - ], - "type": "object" -} - added
Input schema / properties / volume_numberAdded value: +{ + "description": "Hansard volume number (the 'vol 849' part of an OSCOLA citation). Required — the endpoint only resolves citations when given the volume; sitting date is NOT a substitute (verified live 2026-05-29).", + "exclusiveMinimum": 0, + "type": "integer" +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "column_number", + "volume_number" +]
- Changed
parliament_member_debates6 fields changed- added
Input schema / properties / limitAdded value: +{ + "default": 20, + "description": "Maximum contributions to return. Default 20.", + "maximum": 100, + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / member_idAdded value: +{ + "description": "Parliament Members API integer ID. Obtain from parliament_find_member.", + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / offsetAdded value: +{ + "default": 0, + "description": "Number of contributions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.", + "maximum": 2000, + "minimum": 0, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "MemberDebatesInput with member_id and optional topic filter.", - "properties": { - "limit": { - "default": 20, - "description": "Maximum contributions to return. Default 20.", - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - "member_id": { - "description": "Parliament Members API integer ID. Obtain from parliament_find_member.", - "minimum": 1, - "type": "integer" - }, - "offset": { - "default": 0, - "description": "Number of contributions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.", - "maximum": 2000, - "minimum": 0, - "type": "integer" - }, - "topic": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Optional phrase to find in THIS member's contribution text bodies. Hansard searches the words the member actually said, NOT the topic or title of the debate. Pass tokens this member would have spoken — distinctive arguments ('disproportionate sanction'), statutory references ('section 21'), or motion numbers ('Motion C1') — not the bill's name (members rarely say e.g. 'Renters' Rights Bill' verbatim in their speeches). If you want 'every contribution this member made in a specific debate' regardless of words used, find the debate_ext_id then use parliament_get_debate_contributions(debate_ext_id, member_id=...)." - } - }, - "required": [ - "member_id" - ], - "type": "object" -} - added
Input schema / properties / topicAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Optional phrase to find in THIS member's contribution text bodies. Hansard searches the words the member actually said, NOT the topic or title of the debate. Pass tokens this member would have spoken — distinctive arguments ('disproportionate sanction'), statutory references ('section 21'), or motion numbers ('Motion C1') — not the bill's name (members rarely say e.g. 'Renters\\' Rights Bill' verbatim in their speeches). If you want 'every contribution this member made in a specific debate' regardless of words used, find the debate_ext_id then use parliament_get_debate_contributions(debate_ext_id, member_id=...)." +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "member_id" +]
- Changed
parliament_member_interests7 fields changed- added
Input schema / properties / categoryAdded value: +{ + "anyOf": [ + { + "enum": [ + "employment", + "employment_adhoc", + "employment_ongoing", + "donations", + "gifts_uk", + "overseas_visits", + "gifts_overseas", + "land", + "shareholdings", + "miscellaneous", + "family_employed", + "family_lobbying" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by interest category. Common categories: 'donations' (donations and support), 'gifts_uk' (gifts/hospitality from UK), 'employment' (employment and earnings), 'land' (land and property), 'shareholdings', 'overseas_visits'. Omit for all categories." +} - added
Input schema / properties / limitAdded value: +{ + "default": 20, + "description": "Max interests per call. Hard-capped at 20 by the upstream interests-api.parliament.uk (verified live 2026-05-29: Take=100 still returns 20). For prolific members, paginate via offset; total size is in totalResults on the response.", + "maximum": 20, + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / max_description_charsAdded value: +{ + "default": 500, + "description": "Per-entry cap on the free-text description field. Default 500 prevents context blow-up on members with lengthy donation or directorship narratives. Raise to 2000+ only for forensic provenance work.", + "maximum": 5000, + "minimum": 50, + "type": "integer" +} - added
Input schema / properties / member_idAdded value: +{ + "description": "Parliament Members API integer ID. Get from parliament_find_member.", + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / offsetAdded value: +{ + "default": 0, + "description": "Number of interests to skip before this page. Default 0 for the first page. To paginate prolific members (100+ interests), re-call with offset=offset+returned while the previous response had has_more=true.", + "maximum": 500, + "minimum": 0, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "member_id, optional category filter, pagination (offset/limit),\nand max_description_chars content cap.", - "properties": { - "category": { - "anyOf": [ - { - "enum": [ - "employment", - "employment_adhoc", - "employment_ongoing", - "donations", - "gifts_uk", - "overseas_visits", - "gifts_overseas", - "land", - "shareholdings", - "miscellaneous", - "family_employed", - "family_lobbying" - ], - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter by interest category. Common categories: 'donations' (donations and support), 'gifts_uk' (gifts/hospitality from UK), 'employment' (employment and earnings), 'land' (land and property), 'shareholdings', 'overseas_visits'. Omit for all categories." - }, - "limit": { - "default": 20, - "description": "Max interests per call. Hard-capped at 20 by the upstream interests-api.parliament.uk (verified live 2026-05-29: Take=100 still returns 20). For prolific members, paginate via offset; total size is in totalResults on the response.", - "maximum": 20, - "minimum": 1, - "type": "integer" - }, - "max_description_chars": { - "default": 500, - "description": "Per-entry cap on the free-text description field. Default 500 prevents context blow-up on members with lengthy donation or directorship narratives. Raise to 2000+ only for forensic provenance work.", - "maximum": 5000, - "minimum": 50, - "type": "integer" - }, - "member_id": { - "description": "Parliament Members API integer ID. Get from parliament_find_member.", - "minimum": 1, - "type": "integer" - }, - "offset": { - "default": 0, - "description": "Number of interests to skip before this page. Default 0 for the first page. To paginate prolific members (100+ interests), re-call with offset=offset+returned while the previous response had has_more=true.", - "maximum": 500, - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "member_id" - ], - "type": "object" -} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "member_id" +]
- Changed
parliament_policy_position_summary7 fields changed- added
Input schema / properties / from_dateAdded value: +{ + "anyOf": [ + { + "format": "date", + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Start date (YYYY-MM-DD)" +} - added
Input schema / properties / houseAdded value: +{ + "default": "both", + "description": "Restrict to one House. Default 'both'.", + "enum": [ + "Commons", + "Lords", + "both" + ], + "type": "string" +} - added
Input schema / properties / max_debates_scannedAdded value: +{ + "default": 200, + "description": "Hard cap on debates sampled from /search/Debates.json to compute facets. Default 200 issues ≤4 upstream calls (take=50 each). Raise to 2000 (≤40 calls) for an exhaustive sweep on a heavily-debated topic. Hansard rate limit: 1000 req/5min.", + "maximum": 2000, + "minimum": 50, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "PolicyPositionSummaryInput with topic, optional date range, house, max_debates_scanned.", - "properties": { - "from_date": { - "anyOf": [ - { - "format": "date", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Start date (YYYY-MM-DD)" - }, - "house": { - "default": "both", - "description": "Restrict to one House. Default 'both'.", - "enum": [ - "Commons", - "Lords", - "both" - ], - "type": "string" - }, - "max_debates_scanned": { - "default": 200, - "description": "Hard cap on debates sampled from /search/Debates.json to compute facets. Default 200 issues ≤4 upstream calls (take=50 each). Raise to 2000 (≤40 calls) for an exhaustive sweep on a heavily-debated topic. Hansard rate limit: 1000 req/5min.", - "maximum": 2000, - "minimum": 50, - "type": "integer" - }, - "to_date": { - "anyOf": [ - { - "format": "date", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "End date (YYYY-MM-DD)" - }, - "topic": { - "description": "Phrase to find in Hansard contribution text bodies for the facet aggregation. Same semantics as parliament_search_hansard.query: tokens that appear in members' actual speeches, not bill titles or topic metadata. The aggregator sweeps top_debates[] returned by /search/Debates.json — those debates are matched on the phrase appearing in titles or contribution text, so passing a Bill title (e.g. 'Renters' Rights Bill') usually works for THIS tool even though it wouldn't for member-level text search, because debate-level matching uses metadata in addition to body text.", - "maxLength": 200, - "minLength": 2, - "type": "string" - } - }, - "required": [ - "topic" - ], - "type": "object" -} - added
Input schema / properties / to_dateAdded value: +{ + "anyOf": [ + { + "format": "date", + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "End date (YYYY-MM-DD)" +} - added
Input schema / properties / topicAdded value: +{ + "description": "Phrase to find in Hansard contribution text bodies for the facet aggregation. Same semantics as parliament_search_hansard.query: tokens that appear in members' actual speeches, not bill titles or topic metadata. The aggregator sweeps top_debates[] returned by /search/Debates.json — those debates are matched on the phrase appearing in titles or contribution text, so passing a Bill title (e.g. 'Renters\\' Rights Bill') usually works for THIS tool even though it wouldn't for member-level text search, because debate-level matching uses metadata in addition to body text.", + "maxLength": 200, + "minLength": 2, + "type": "string" +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "topic" +]
- Changed
parliament_search_hansard11 fields changed- added
Input schema / properties / contribution_typeAdded value: +{ + "default": "Spoken", + "description": "Which Hansard section to paginate. 'Spoken' = chamber + Westminster Hall debates (the default; what a lawyer usually means). 'Written' = written answers and statements. 'Corrections' = published corrections to the record. The corpus envelope (total_debates, total_divisions, etc.) is independent of this and always populated.", + "enum": [ + "Spoken", + "Written", + "Corrections" + ], + "type": "string" +} - added
Input schema / properties / from_dateAdded value: +{ + "anyOf": [ + { + "format": "date", + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Start date (YYYY-MM-DD)" +} - added
Input schema / properties / houseAdded value: +{ + "default": "both", + "description": "Restrict to one House. Default 'both' returns Commons + Lords contributions.", + "enum": [ + "Commons", + "Lords", + "both" + ], + "type": "string" +} - added
Input schema / properties / limitAdded value: +{ + "default": 20, + "description": "Max contributions per call (1–100). Default 20. Paginate further with offset; total corpus size is in total_corpus on the response.", + "maximum": 100, + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / member_idAdded value: +{ + "anyOf": [ + { + "minimum": 1, + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter to contributions by a single member. Pass the integer Members API ID (resolve a name via parliament_find_member). The prior `member` field accepted a name string but Hansard's /search.json silently ignored it — the spec requires `memberId`." +} - added
Input schema / properties / offsetAdded value: +{ + "default": 0, + "description": "Skip this many contributions before the page. Default 0. Re-call with offset=offset+returned to paginate; has_more flags whether more remain.", + "maximum": 5000, + "minimum": 0, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "HansardSearchInput.", - "properties": { - "contribution_type": { - "default": "Spoken", - "description": "Which Hansard section to paginate. 'Spoken' = chamber + Westminster Hall debates (the default; what a lawyer usually means). 'Written' = written answers and statements. 'Corrections' = published corrections to the record. The corpus envelope (total_debates, total_divisions, etc.) is independent of this and always populated.", - "enum": [ - "Spoken", - "Written", - "Corrections" - ], - "type": "string" - }, - "from_date": { - "anyOf": [ - { - "format": "date", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Start date (YYYY-MM-DD)" - }, - "house": { - "default": "both", - "description": "Restrict to one House. Default 'both' returns Commons + Lords contributions.", - "enum": [ - "Commons", - "Lords", - "both" - ], - "type": "string" - }, - "limit": { - "default": 20, - "description": "Max contributions per call (1–100). Default 20. Paginate further with offset; total corpus size is in total_corpus on the response.", - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - "member_id": { - "anyOf": [ - { - "minimum": 1, - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter to contributions by a single member. Pass the integer Members API ID (resolve a name via parliament_find_member). The prior `member` field accepted a name string but Hansard's /search.json silently ignored it — the spec requires `memberId`." - }, - "offset": { - "default": 0, - "description": "Skip this many contributions before the page. Default 0. Re-call with offset=offset+returned to paginate; has_more flags whether more remain.", - "maximum": 5000, - "minimum": 0, - "type": "integer" - }, - "query": { - "description": "Phrase to find in Hansard contribution text bodies. Hansard searches the words members actually said in their speeches — NOT debate titles, topic metadata, or written headlines. Pass tokens that would appear in someone's speech: distinctive arguments ('disproportionate sanction'), statutory references ('section 21'), or specific phrases. Bill titles (e.g. 'Renters' Rights Bill') often DON'T match because members refer to 'the Bill' or 'this legislation' in their speeches. Tokenised matching: 'housing benefit fraud' will match contributions saying 'fraud in housing benefit claims'. For 'all contributions in a specific debate' regardless of words used, drill via top_debates[].debate_ext_id into parliament_get_debate_contributions.", - "maxLength": 500, - "minLength": 1, - "type": "string" - }, - "text_mode": { - "default": "preview", - "description": "'preview' returns the upstream ~250-char snippet (fast, low context cost). 'full' returns ContributionTextFull (still capped at 3000 chars). For full contribution text without the cap, read the resource hansard://debate/{debate_ext_id}/contribution/{contribution_ext_id}.", - "enum": [ - "preview", - "full" - ], - "type": "string" - }, - "to_date": { - "anyOf": [ - { - "format": "date", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "End date (YYYY-MM-DD)" - } - }, - "required": [ - "query" - ], - "type": "object" -} - added
Input schema / properties / queryAdded value: +{ + "description": "Phrase to find in Hansard contribution text bodies. Hansard searches the words members actually said in their speeches — NOT debate titles, topic metadata, or written headlines. Pass tokens that would appear in someone's speech: distinctive arguments ('disproportionate sanction'), statutory references ('section 21'), or specific phrases. Bill titles (e.g. 'Renters\\'s Rights Bill') often DON'T match because members refer to 'the Bill' or 'this legislation' in their speeches. Tokenised matching: 'housing benefit fraud' will match contributions saying 'fraud in housing benefit claims'. For 'all contributions in a specific debate' regardless of words used, drill via top_debates[].debate_ext_id into parliament_get_debate_contributions.", + "maxLength": 500, + "minLength": 1, + "type": "string" +} - added
Input schema / properties / text_modeAdded value: +{ + "default": "preview", + "description": "'preview' returns the upstream ~250-char snippet (fast, low context cost). 'full' returns ContributionTextFull (still capped at 3000 chars). For full contribution text without the cap, read the resource hansard://debate/{debate_ext_id}/contribution/{contribution_ext_id}.", + "enum": [ + "preview", + "full" + ], + "type": "string" +} - added
Input schema / properties / to_dateAdded value: +{ + "anyOf": [ + { + "format": "date", + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "End date (YYYY-MM-DD)" +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "query" +]
- Changed
parliament_search_petitions6 fields changed- added
Input schema / properties / limitAdded value: +{ + "default": 20, + "description": "Maximum petitions to return. Default 20.", + "maximum": 100, + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / offsetAdded value: +{ + "default": 0, + "description": "Number of petitions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.", + "maximum": 2000, + "minimum": 0, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "PetitionSearchInput with query and optional state filter.", - "properties": { - "limit": { - "default": 20, - "description": "Maximum petitions to return. Default 20.", - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - "offset": { - "default": 0, - "description": "Number of petitions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.", - "maximum": 2000, - "minimum": 0, - "type": "integer" - }, - "query": { - "description": "Search term for petition titles, e.g. 'ban trophy hunting' or 'NHS funding'.", - "maxLength": 300, - "minLength": 2, - "type": "string" - }, - "state": { - "default": "all", - "description": "Filter by petition state.", - "enum": [ - "open", - "closed", - "all" - ], - "type": "string" - } - }, - "required": [ - "query" - ], - "type": "object" -} - added
Input schema / properties / queryAdded value: +{ + "description": "Search term for petition titles, e.g. 'ban trophy hunting' or 'NHS funding'.", + "maxLength": 300, + "minLength": 2, + "type": "string" +} - added
Input schema / properties / stateAdded value: +{ + "default": "all", + "description": "Filter by petition state.", + "enum": [ + "open", + "closed", + "all" + ], + "type": "string" +} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "query" +]
- Changed
votes_get_division4 fields changed- added
Input schema / properties / division_idAdded value: +{ + "description": "Division ID from votes_search_divisions results.", + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / houseAdded value: +{ + "default": "Commons", + "description": "Which house this division belongs to.", + "enum": [ + "Commons", + "Lords" + ], + "type": "string" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "DivisionDetailInput.", - "properties": { - "division_id": { - "description": "Division ID from votes_search_divisions results.", - "minimum": 1, - "type": "integer" - }, - "house": { - "default": "Commons", - "description": "Which house this division belongs to.", - "enum": [ - "Commons", - "Lords" - ], - "type": "string" - } - }, - "required": [ - "division_id" - ], - "type": "object" -} - changed
Input schema / requiredPrevious value: -[ - "params" -]New value: +[ + "division_id" +]
- Changed
votes_search_divisions9 fields changed- added
Input schema / properties / from_dateAdded value: +{ + "anyOf": [ + { + "format": "date", + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Start date (YYYY-MM-DD)." +} - added
Input schema / properties / houseAdded value: +{ + "default": "Commons", + "description": "Which house to search.", + "enum": [ + "Commons", + "Lords" + ], + "type": "string" +} - added
Input schema / properties / limitAdded value: +{ + "default": 25, + "description": "Maximum divisions to return. Default 25 (Commons API max-per-page).", + "maximum": 100, + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / member_idAdded value: +{ + "anyOf": [ + { + "minimum": 1, + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter to divisions where this member voted. Get the member ID from parliament_find_member." +} - added
Input schema / properties / offsetAdded value: +{ + "default": 0, + "description": "Number of divisions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.", + "maximum": 2000, + "minimum": 0, + "type": "integer" +} - removed
Input schema / properties / paramsRemoved value: -{ - "additionalProperties": false, - "description": "DivisionSearchInput.", - "properties": { - "from_date": { - "anyOf": [ - { - "format": "date", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Start date (YYYY-MM-DD)." - }, - "house": { - "default": "Commons", - "description": "Which house to search.", - "enum": [ - "Commons", - "Lords" - ], - "type": "string" - }, - "limit": { - "default": 25, - "description": "Maximum divisions to return. Default 25 (Commons API max-per-page).", - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - "member_id": { - "anyOf": [ - { - "minimum": 1, - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter to divisions where this member voted. Get the member ID from parliament_find_member." - }, - "offset": { - "default": 0, - "description": "Number of divisions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.", - "maximum": 2000, - "minimum": 0, - "type": "integer" - }, - "query": { - "anyOf": [ - { - "maxLength": 500, - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Search term for division titles, e.g. 'Rwanda' or 'Online Safety Bill'. Omit to browse recent divisions." - }, - "to_date": { - "anyOf": [ - { - "format": "date", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "End date (YYYY-MM-DD)." - } - }, - "type": "object" -} - added
Input schema / properties / queryAdded value: +{ + "anyOf": [ + { + "maxLength": 500, + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Search term for division titles, e.g. 'Rwanda' or 'Online Safety Bill'. Omit to browse recent divisions." +} - added
Input schema / properties / to_dateAdded value: +{ + "anyOf": [ + { + "format": "date", + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "End date (YYYY-MM-DD)." +} - removed
Input schema / requiredRemoved value: -[ - "params" -]
27 tool updates
v0.5.1- Changed
bills_get_bill1 field changed- changed
Input schema / properties / params / descriptionPrevious value: -"BillDetailInput with bill_id and optional max_summary_chars."New value: +"BillDetailInput."
- Changed
bills_search_bills2 fields changed- changed
Input schema / properties / params / descriptionPrevious value: -"BillSearchInput with query, optional session/house/stage filters, pagination."New value: +"BillSearchInput." - changed
Input schema / properties / params / properties / session / descriptionPrevious value: -"Parliamentary session ID. Omit to search all sessions. Session numbers change each year (e.g. 40 = 2024-25, 39 = 2023-24)."New value: +"Numeric parliamentary session ID (e.g. 40 = 2024-25, 39 = 2023-24). NOT a year string like '2025'. If you only know the year, omit this and filter the results instead. Omit to search all sessions."
- Changed
case_law_grep_judgment2 fields changed- changed
Input schema / properties / params / descriptionPrevious value: -"Input schema for case_law_grep_judgment."New value: +"CaseLawGrepInput." - changed
Output schema / properties / hits / items / properties / eId / descriptionPrevious value: -"LegalDocML paragraph identifier, e.g. 'para_12'"New value: +"LegalDocML paragraph identifier, e.g. 'para_12'. Use as {eId} in judgment://{slug*}/para/{eId} to read the full paragraph (typically 400-1700 tokens) with its sub-paragraphs."
- Changed
case_law_search5 fields changed- changed
Input schema / properties / params / descriptionPrevious value: -"CaseLawSearchInput with query, optional filters (court, judge,\nparty, from_date, to_date), and page number."New value: +"CaseLawSearchInput." - changed
Input schema / properties / params / properties / from_date / descriptionPrevious value: -"Earliest judgment date (YYYY-MM-DD)"New value: +"Earliest judgment date (YYYY-MM-DD). NOTE: the TNA atom.xml endpoint currently appears to ignore this filter — the same results come back regardless. Do not rely on it to narrow output; sort+slice client-side or refine `query` instead." - changed
Input schema / properties / params / properties / judge / descriptionPrevious value: -"Filter by judge surname"New value: +"Filter by judge surname. Case-insensitive substring match against the indexed form. Use the surname alone ('Reed', 'Sumption') or with the bare title ('Lord Reed'). Honorific suffixes silently zero the result set — do not append 'JSC', 'of Allermuir', 'KC' etc. Speculating a fuller form than what TNA indexed will return 0 hits with no error." - changed
Input schema / properties / params / properties / to_date / descriptionPrevious value: -"Latest judgment date (YYYY-MM-DD)"New value: +"Latest judgment date (YYYY-MM-DD). Same caveat as `from_date` — currently silently ignored by upstream. Filtering happens client-side at best." - changed
Output schema / properties / results / items / properties / identifiers / items / properties / slug / descriptionPrevious value: -"URL slug form, e.g. 'uksc/2024/12'"New value: +"URL slug form, e.g. 'uksc/2024/12'. Use as {slug*} in judgment://{slug*}/header (metadata, ~1k tokens), judgment://{slug*}/index (paragraph list, ~4k tokens), judgment://{slug*}/para/{eId} (one paragraph), or as the `slug` input to case_law_grep_judgment for pattern search."
- Changed
citations_parse3 fields changed- changed
Input schema / properties / params / descriptionPrevious value: -"CitationsParseInput with text (max 50,000 chars) and disambiguate flag."New value: +"CitationsParseInput." - changed
Input schema / properties / params / properties / disambiguate / defaultPrevious value: -trueNew value: +false - changed
Input schema / properties / params / properties / disambiguate / descriptionPrevious value: -"If True, ambiguous citations (e.g. bare EWHC without division) are sent to the LLM for disambiguation via sampling."New value: +"Default False — pure-regex parsing, no model in the loop. If True, ambiguous citations (e.g. bare EWHC without a division) are sent to the connected client's own LLM, via MCP sampling, to resolve the division. Opt in only when you want best-effort division resolution and accept that a model shapes the result."
- Changed
citations_resolve1 field changed- changed
Input schema / properties / params / descriptionPrevious value: -"CitationsResolveInput with a single citation string."New value: +"CitationsResolveInput."
- Changed
committees_get_committee1 field changed- changed
Input schema / properties / params / descriptionPrevious value: -"CommitteeDetailInput with committee_id from committees_search_committees."New value: +"CommitteeDetailInput."
- Changed
committees_search_committees1 field changed- changed
Input schema / properties / params / descriptionPrevious value: -"CommitteeSearchInput with optional query, house, active_only, limit."New value: +"CommitteeSearchInput."
- Changed
committees_search_evidence1 field changed- changed
Input schema / properties / params / descriptionPrevious value: -"CommitteeEvidenceInput with committee_id, evidence_type,\noffset/limit pagination, and max_title_chars."New value: +"CommitteeEvidenceInput."
- Changed
hmrc_check_mtd_status1 field changed- changed
Input schema / properties / params / descriptionPrevious value: -"HMRCMTDStatusInput with the 9-digit VAT Registration Number."New value: +"HMRCMTDStatusInput."
- Changed
hmrc_get_vat_rate1 field changed- changed
Input schema / properties / params / descriptionPrevious value: -"HMRCVATRateInput with the commodity_code (description of goods or service)."New value: +"HMRCVATRateInput."
- Changed
hmrc_search_guidance1 field changed- changed
Input schema / properties / params / descriptionPrevious value: -"HMRCGuidanceSearchInput with query (topic to search)."New value: +"HMRCGuidanceSearchInput."
- Changed
legislation_get_section1 field changed- changed
Input schema / properties / params / descriptionPrevious value: -"type, year, number, section identifier, optional max_chars."New value: +"LegislationGetSectionInput."
- Changed
legislation_get_toc2 fields changed- changed
Input schema / properties / params / descriptionPrevious value: -"LegislationGetTocInput with type, year, number, offset, limit."New value: +"LegislationGetTocInput." - changed
Output schema / properties / total_items / descriptionPrevious value: -"Total number of structural items parsed from the XML, before offset/limit. Use this to know the full size of the TOC."New value: +"Total structural items parsed from the XML, before offset/limit. Compare to `returned` and `has_more` to decide whether to paginate."
- Changed
legislation_search6 fields changed- changed
Input schema / properties / params / descriptionPrevious value: -"LegislationSearchInput with query, optional type filter, optional year."New value: +"LegislationSearchInput." - changed
Input schema / properties / params / properties / type / descriptionPrevious value: -"Filter by type: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts)"New value: +"Filter by type: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts). Exact-match — omit if you don't already know whether you're looking for an Act vs an SI." - changed
Input schema / properties / params / properties / year / descriptionPrevious value: -"Filter by year of enactment"New value: +"Filter by year of enactment (exact-match — a single integer, not a range). Omit unless you already know the Act's year. Speculating a year (e.g. 'this is recent so it must be 2026') and getting it wrong will zero out the result set. Better workflow: query without `year`, then read the year from the returned results." - changed
Output schema / properties / results / items / properties / number / descriptionPrevious value: -"Chapter or SI number"New value: +"Chapter (for Acts) or SI number. Part of the {type}/{year}/{number} triple that identifies an Act or SI." - changed
Output schema / properties / results / items / properties / type / descriptionPrevious value: -"Legislation type code, e.g. 'ukpga', 'uksi'"New value: +"Legislation type code, e.g. 'ukpga' (UK Public General Act), 'uksi' (Statutory Instrument), 'asp' (Scottish Parliament Act). Use with `year` and `number` as the triple {type}/{year}/{number} in the legislation_get_toc / legislation_get_section tools, or in legislation://{type}/{year}/{number}/section/{section}{?date} resource URIs." - changed
Output schema / properties / results / items / properties / year / descriptionPrevious value: -"Year of enactment or making"New value: +"Year of enactment or making. Part of the {type}/{year}/{number} triple that identifies an Act or SI."
- Added
list_resources - Added
parliament_get_debate_contributions - Added
parliament_get_debate_divisions - Added
parliament_lookup_by_column - Changed
parliament_member_debates21 fields changed- changed
Input schema / properties / params / properties / topic / descriptionPrevious value: -"Optional phrase to filter this member's contributions by topic, e.g. 'housing benefit' or 'net zero'. Searched as an exact phrase."New value: +"Optional phrase to find in THIS member's contribution text bodies. Hansard searches the words the member actually said, NOT the topic or title of the debate. Pass tokens this member would have spoken — distinctive arguments ('disproportionate sanction'), statutory references ('section 21'), or motion numbers ('Motion C1') — not the bill's name (members rarely say e.g. 'Renters' Rights Bill' verbatim in their speeches). If you want 'every contribution this member made in a specific debate' regardless of words used, find the debate_ext_id then use parliament_get_debate_contributions(debate_ext_id, member_id=...)." - changed
Output schema / properties / contributions / items / descriptionPrevious value: -"A single Hansard debate contribution."New value: +"A single Hansard debate contribution with citation-grade metadata.\n\nField provenance maps to the upstream hansard-api.parliament.uk\n`Contributions[i]` payload, so callers can footnote a contribution\nwithout re-querying." - added
Output schema / properties / contributions / items / properties / attributed_toAdded value: +{ + "description": "Full citable attribution string, e.g. 'The Minister of State, DESNZ (Lord Whitehead) (Lab)'. Includes role-at-time of contribution for ministerial interventions.", + "type": "string" +} - added
Output schema / properties / contributions / items / properties / chamber_sectionAdded value: +{ + "description": "Hansard section bucket (Section): 'Commons Chamber', 'Lords Chamber', 'Westminster Hall', 'Written Answers', 'Written Statements'.", + "type": "string" +} - added
Output schema / properties / contributions / items / properties / column_endAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The last Hansard column number this contribution spans, e.g. when a long speech runs across columns 200–203. Equal to `column_start` for short contributions. Same population semantics as `column_start`." +} - added
Output schema / properties / contributions / items / properties / column_refAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Hansard internal page-marker code from HansardSection (e.g. 'BE-BG1', 'AA-AD'). NOT the citable column number that appears in an OSCOLA footnote — see `column_start` / `column_end` for those, which are only available when reading the contribution via hansard://debate/{debate_ext_id}/contribution/{contribution_ext_id}. From parliament_search_hansard, only this page-marker is exposed." +} - added
Output schema / properties / contributions / items / properties / column_startAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The citable Hansard column number where this contribution begins, e.g. 200, 1162. Extracted from `data-column-number` markers in the contribution HTML. Populated only when reading via the contribution resource — `parliament_search_hansard` returns this as None because Hansard's /search.json strips the column markers. To get the real column number for a search hit, read hansard://debate/{debate_ext_id}/contribution/{contribution_ext_id}." +} - added
Output schema / properties / contributions / items / properties / contribution_ext_idAdded value: +{ + "description": "ContributionExtId GUID — stable citation key. Use as {contribution_ext_id} in hansard://debate/{debate_ext_id}/contribution/{contribution_ext_id}.", + "type": "string" +} - changed
Output schema / properties / contributions / items / properties / date / descriptionPrevious value: -"Date the contribution was made"New value: +"Date the contribution was made (SittingDate)" - added
Output schema / properties / contributions / items / properties / debate_ext_idAdded value: +{ + "description": "DebateSectionExtId GUID. Use as {debate_ext_id} in hansard://debate/{debate_ext_id}/header.", + "type": "string" +} - added
Output schema / properties / contributions / items / properties / debate_idAdded value: +{ + "description": "Integer DebateSectionId — internal Hansard identifier", + "type": "integer" +} - changed
Output schema / properties / contributions / items / properties / debate_title / descriptionPrevious value: -"Title of the debate or question"New value: +"Title of the debate or question (DebateSection)" - added
Output schema / properties / contributions / items / properties / houseAdded value: +{ + "description": "House of Parliament (House)", + "enum": [ + "Commons", + "Lords" + ], + "type": "string" +} - added
Output schema / properties / contributions / items / properties / member_idAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Members API integer ID. Use as {member_id} in hansard://member/{member_id}/biography for the member's role history." +} - changed
Output schema / properties / contributions / items / properties / member_name / descriptionPrevious value: -"Name of the contributing member"New value: +"Name of the contributing member (MemberName)" - changed
Output schema / properties / contributions / items / properties / party / descriptionPrevious value: -"Political party affiliation"New value: +"Political party affiliation parsed from the trailing '(Party)' suffix in AttributedTo" - added
Output schema / properties / contributions / items / properties / rankAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Upstream relevance score (Rank). Higher = more relevant to the query." +} - removed
Output schema / properties / contributions / items / properties / sectionRemoved value: -{ - "description": "Hansard section (e.g. 'Commons Chamber', 'Written Answers')", - "type": "string" -} - changed
Output schema / properties / contributions / items / properties / text / descriptionPrevious value: -"Full text of the contribution (capped at 3000 characters)"New value: +"Contribution text (capped per max_text_chars on the input; default 3000). Source: ContributionTextFull when text_mode='full', ContributionText preview otherwise." - changed
Output schema / properties / contributions / items / properties / url / descriptionPrevious value: -"Direct Hansard URL to this contribution"New value: +"Public hansard.parliament.uk URL for this contribution (synthesised from House/Date/DebateSectionExtId/ContributionExtId)." - changed
Output schema / properties / contributions / items / requiredPrevious value: -[ - "member_name", - "date", - "debate_title", - "section", - "text", - "url" -]New value: +[ + "member_name", + "attributed_to", + "date", + "debate_title", + "debate_id", + "debate_ext_id", + "contribution_ext_id", + "chamber_section", + "house", + "text", + "url" +]
- Changed
parliament_member_interests2 fields changed- changed
Input schema / properties / params / properties / limit / descriptionPrevious value: -"Maximum interests to return in this call. Default 20 keeps responses focused; raise to 50 or 100 only when you need a bulk view and have context headroom to spend."New value: +"Max interests per call. Hard-capped at 20 by the upstream interests-api.parliament.uk (verified live 2026-05-29: Take=100 still returns 20). For prolific members, paginate via offset; total size is in totalResults on the response." - changed
Input schema / properties / params / properties / limit / maximumPrevious value: -100New value: +20
- Added
parliament_policy_position_summary - Changed
parliament_search_hansard50 fields changed- changed
Input schema / properties / params / descriptionPrevious value: -"HansardSearchInput with query, optional date range, optional member filter."New value: +"HansardSearchInput." - added
Input schema / properties / params / properties / contribution_typeAdded value: +{ + "default": "Spoken", + "description": "Which Hansard section to paginate. 'Spoken' = chamber + Westminster Hall debates (the default; what a lawyer usually means). 'Written' = written answers and statements. 'Corrections' = published corrections to the record. The corpus envelope (total_debates, total_divisions, etc.) is independent of this and always populated.", + "enum": [ + "Spoken", + "Written", + "Corrections" + ], + "type": "string" +} - added
Input schema / properties / params / properties / houseAdded value: +{ + "default": "both", + "description": "Restrict to one House. Default 'both' returns Commons + Lords contributions.", + "enum": [ + "Commons", + "Lords", + "both" + ], + "type": "string" +} - changed
Input schema / properties / params / properties / limit / descriptionPrevious value: -"Maximum contributions to return in this call. Default 20 keeps responses focused; raise to 100 for a bulk sweep."New value: +"Max contributions per call (1–100). Default 20. Paginate further with offset; total corpus size is in total_corpus on the response." - removed
Input schema / properties / params / properties / memberRemoved value: -{ - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Filter by member name" -} - added
Input schema / properties / params / properties / member_idAdded value: +{ + "anyOf": [ + { + "minimum": 1, + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter to contributions by a single member. Pass the integer Members API ID (resolve a name via parliament_find_member). The prior `member` field accepted a name string but Hansard's /search.json silently ignored it — the spec requires `memberId`." +} - changed
Input schema / properties / params / properties / offset / descriptionPrevious value: -"Number of contributions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true to paginate."New value: +"Skip this many contributions before the page. Default 0. Re-call with offset=offset+returned to paginate; has_more flags whether more remain." - changed
Input schema / properties / params / properties / offset / maximumPrevious value: -2000New value: +5000 - changed
Input schema / properties / params / properties / query / descriptionPrevious value: -"Full phrase to search in Hansard debates. Pass the complete topic, e.g. 'short selling regulation' or 'artificial intelligence liability'. Searched as an exact phrase — do not truncate to a single keyword."New value: +"Phrase to find in Hansard contribution text bodies. Hansard searches the words members actually said in their speeches — NOT debate titles, topic metadata, or written headlines. Pass tokens that would appear in someone's speech: distinctive arguments ('disproportionate sanction'), statutory references ('section 21'), or specific phrases. Bill titles (e.g. 'Renters' Rights Bill') often DON'T match because members refer to 'the Bill' or 'this legislation' in their speeches. Tokenised matching: 'housing benefit fraud' will match contributions saying 'fraud in housing benefit claims'. For 'all contributions in a specific debate' regardless of words used, drill via top_debates[].debate_ext_id into parliament_get_debate_contributions." - added
Input schema / properties / params / properties / text_modeAdded value: +{ + "default": "preview", + "description": "'preview' returns the upstream ~250-char snippet (fast, low context cost). 'full' returns ContributionTextFull (still capped at 3000 chars). For full contribution text without the cap, read the resource hansard://debate/{debate_ext_id}/contribution/{contribution_ext_id}.", + "enum": [ + "preview", + "full" + ], + "type": "string" +} - changed
Output schema / descriptionPrevious value: -"Result of a Hansard debate search.\n\nWraps the list of matching contributions with the query and filters\nso the client sees a real nested object on the wire."New value: +"Result of a Hansard debate search.\n\nWraps the list of matching contributions with the query, filters,\nand corpus-level facet counts so the client sees a real nested object\non the wire." - changed
Output schema / properties / contributions / descriptionPrevious value: -"Matching Hansard contributions. Each `text` field is capped at 3000 characters."New value: +"Matching Hansard contributions with full citation metadata." - changed
Output schema / properties / contributions / items / descriptionPrevious value: -"A single Hansard debate contribution."New value: +"A single Hansard debate contribution with citation-grade metadata.\n\nField provenance maps to the upstream hansard-api.parliament.uk\n`Contributions[i]` payload, so callers can footnote a contribution\nwithout re-querying." - added
Output schema / properties / contributions / items / properties / attributed_toAdded value: +{ + "description": "Full citable attribution string, e.g. 'The Minister of State, DESNZ (Lord Whitehead) (Lab)'. Includes role-at-time of contribution for ministerial interventions.", + "type": "string" +} - added
Output schema / properties / contributions / items / properties / chamber_sectionAdded value: +{ + "description": "Hansard section bucket (Section): 'Commons Chamber', 'Lords Chamber', 'Westminster Hall', 'Written Answers', 'Written Statements'.", + "type": "string" +} - added
Output schema / properties / contributions / items / properties / column_endAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The last Hansard column number this contribution spans, e.g. when a long speech runs across columns 200–203. Equal to `column_start` for short contributions. Same population semantics as `column_start`." +} - added
Output schema / properties / contributions / items / properties / column_refAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Hansard internal page-marker code from HansardSection (e.g. 'BE-BG1', 'AA-AD'). NOT the citable column number that appears in an OSCOLA footnote — see `column_start` / `column_end` for those, which are only available when reading the contribution via hansard://debate/{debate_ext_id}/contribution/{contribution_ext_id}. From parliament_search_hansard, only this page-marker is exposed." +} - added
Output schema / properties / contributions / items / properties / column_startAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The citable Hansard column number where this contribution begins, e.g. 200, 1162. Extracted from `data-column-number` markers in the contribution HTML. Populated only when reading via the contribution resource — `parliament_search_hansard` returns this as None because Hansard's /search.json strips the column markers. To get the real column number for a search hit, read hansard://debate/{debate_ext_id}/contribution/{contribution_ext_id}." +} - added
Output schema / properties / contributions / items / properties / contribution_ext_idAdded value: +{ + "description": "ContributionExtId GUID — stable citation key. Use as {contribution_ext_id} in hansard://debate/{debate_ext_id}/contribution/{contribution_ext_id}.", + "type": "string" +} - changed
Output schema / properties / contributions / items / properties / date / descriptionPrevious value: -"Date the contribution was made"New value: +"Date the contribution was made (SittingDate)" - added
Output schema / properties / contributions / items / properties / debate_ext_idAdded value: +{ + "description": "DebateSectionExtId GUID. Use as {debate_ext_id} in hansard://debate/{debate_ext_id}/header.", + "type": "string" +} - added
Output schema / properties / contributions / items / properties / debate_idAdded value: +{ + "description": "Integer DebateSectionId — internal Hansard identifier", + "type": "integer" +} - changed
Output schema / properties / contributions / items / properties / debate_title / descriptionPrevious value: -"Title of the debate or question"New value: +"Title of the debate or question (DebateSection)" - added
Output schema / properties / contributions / items / properties / houseAdded value: +{ + "description": "House of Parliament (House)", + "enum": [ + "Commons", + "Lords" + ], + "type": "string" +} - added
Output schema / properties / contributions / items / properties / member_idAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Members API integer ID. Use as {member_id} in hansard://member/{member_id}/biography for the member's role history." +} - changed
Output schema / properties / contributions / items / properties / member_name / descriptionPrevious value: -"Name of the contributing member"New value: +"Name of the contributing member (MemberName)" - changed
Output schema / properties / contributions / items / properties / party / descriptionPrevious value: -"Political party affiliation"New value: +"Political party affiliation parsed from the trailing '(Party)' suffix in AttributedTo" - added
Output schema / properties / contributions / items / properties / rankAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Upstream relevance score (Rank). Higher = more relevant to the query." +} - removed
Output schema / properties / contributions / items / properties / sectionRemoved value: -{ - "description": "Hansard section (e.g. 'Commons Chamber', 'Written Answers')", - "type": "string" -} - changed
Output schema / properties / contributions / items / properties / text / descriptionPrevious value: -"Full text of the contribution (capped at 3000 characters)"New value: +"Contribution text (capped per max_text_chars on the input; default 3000). Source: ContributionTextFull when text_mode='full', ContributionText preview otherwise." - changed
Output schema / properties / contributions / items / properties / url / descriptionPrevious value: -"Direct Hansard URL to this contribution"New value: +"Public hansard.parliament.uk URL for this contribution (synthesised from House/Date/DebateSectionExtId/ContributionExtId)." - changed
Output schema / properties / contributions / items / requiredPrevious value: -[ - "member_name", - "date", - "debate_title", - "section", - "text", - "url" -]New value: +[ + "member_name", + "attributed_to", + "date", + "debate_title", + "debate_id", + "debate_ext_id", + "contribution_ext_id", + "chamber_section", + "house", + "text", + "url" +] - added
Output schema / properties / date_rangeAdded value: +{ + "anyOf": [ + { + "maxItems": 2, + "minItems": 2, + "prefixItems": [ + { + "format": "date", + "type": "string" + }, + { + "format": "date", + "type": "string" + } + ], + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "description": "(min, max) SittingDate of returned contributions, or None if empty" +} - added
Output schema / properties / houseAdded value: +{ + "default": "both", + "description": "House filter applied", + "enum": [ + "Commons", + "Lords", + "both" + ], + "type": "string" +} - added
Output schema / properties / house_breakdownAdded value: +{ + "additionalProperties": { + "type": "integer" + }, + "description": "Counts by house across the returned page", + "type": "object" +} - removed
Output schema / properties / memberRemoved value: -{ - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Member name filter applied, if any" -} - added
Output schema / properties / member_idAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Members API integer ID filter applied, if any (echoed from input)." +} - added
Output schema / properties / party_breakdownAdded value: +{ + "additionalProperties": { + "type": "integer" + }, + "description": "Counts by party across the returned page", + "type": "object" +} - added
Output schema / properties / text_modeAdded value: +{ + "default": "preview", + "description": "Whether contribution `text` carries the upstream preview or full body (still capped).", + "enum": [ + "preview", + "full" + ], + "type": "string" +} - added
Output schema / properties / top_debatesAdded value: +{ + "description": "Top-ranked debates touching this topic (from upstream Debates[] preview, capped at 4 by Hansard's /search.json). Each entry's `debate_ext_id` chains to hansard://debate/{debate_ext_id}/header.", + "items": { + "description": "A top debate section returned as a search/lookup preview or aggregate result.", + "properties": { + "contribution_count": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Number of contributions in this debate. Populated only when the emitting tool fetches the debate's full Items list (today: parliament_lookup_by_column). Null on preview arrays where the secondary fetch is too costly." + }, + "date": { + "description": "Sitting date of the debate", + "format": "date", + "type": "string" + }, + "debate_ext_id": { + "description": "Debate GUID. Use as {debate_ext_id} in hansard://debate/{debate_ext_id}/header.", + "type": "string" + }, + "debate_id": { + "description": "Internal Hansard debate ID (DebateSectionId)", + "type": "integer" + }, + "debate_title": { + "description": "Debate title", + "type": "string" + }, + "house": { + "description": "House", + "enum": [ + "Commons", + "Lords" + ], + "type": "string" + }, + "relevance_rank": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Upstream Hansard relevance score for this debate against the search query (0–100). Populated for relevance-scored searches (parliament_search_hansard, parliament_policy_position_summary). Null for column-lookup matches — the column-search endpoint does not rank." + }, + "source": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Human-readable Hansard publication state (Swagger Source enum name). Tells a lawyer the citation's finality — RollingHansard/DailyHansard are pre-consolidation, BoundVolume/Historic are final bound volumes. Does NOT indicate whether the citation resolves: column lookup resolves across all four states." + }, + "source_code": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Raw Hansard Overview.Source ordinal: 1=RollingHansard, 2=DailyHansard, 3=BoundVolume, 4=Historic. Populated only when the emitting tool fetches the debate payload (today: parliament_lookup_by_column); null otherwise." + } + }, + "required": [ + "debate_id", + "debate_ext_id", + "debate_title", + "date", + "house" + ], + "type": "object" + }, + "type": "array" +} - added
Output schema / properties / top_divisionsAdded value: +{ + "description": "Top-ranked divisions touching this topic (from upstream Divisions[] preview, capped at 4). Each entry's `id` chains to votes_get_division; `debate_section_ext_id` chains back to the parent debate.", + "items": { + "description": "A single division (formal parliamentary vote) — lightweight match shape.\n\nReturned as a preview slice on `parliament_search_hansard`'s `top_divisions`\nand as the full element of `parliament_get_debate_divisions`'s output.\n\nField provenance maps to the upstream `DivisionOverview` Swagger definition;\nthe live `/debates/divisions/{ext}` endpoint returns most integer/boolean\nvalues as strings, which the parser converts.", + "properties": { + "ayes_count": { + "description": "Number of Aye votes.", + "minimum": 0, + "type": "integer" + }, + "date": { + "description": "Sitting date of the division (Date).", + "format": "date", + "type": "string" + }, + "debate_section": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Parent debate title (DebateSection), e.g. 'Renters' Rights Bill'." + }, + "debate_section_ext_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Parent debate GUID (DebateSectionExtId). Use as {debate_ext_id} in hansard://debate/{debate_ext_id}/header to read the surrounding debate context." + }, + "external_id": { + "description": "Division GUID (ExternalId). Stable identifier for cross-reference.", + "type": "string" + }, + "house": { + "description": "House where the division was held.", + "enum": [ + "Commons", + "Lords" + ], + "type": "string" + }, + "id": { + "description": "Hansard-side division ID — distinct ID-space from the Lords/Commons Votes API. This value does NOT chain to votes_get_division (different API). For per-member voting, see `votes_id` below — populated when cross-resolution succeeded.", + "type": "integer" + }, + "motion_text": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The motion being voted on (TextBeforeVote), e.g. 'Division on Motion A1'. This is the citable description of what the division decided." + }, + "noes_count": { + "description": "Number of Noe votes.", + "minimum": 0, + "type": "integer" + }, + "number": { + "description": "Division number within the sitting (e.g. '1', '2').", + "type": "string" + }, + "result_text": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The result statement (TextAfterVote), e.g. 'Motion A1 disagreed.'" + }, + "time": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Time of the division as HH:MM:SS, or None when the upstream omits it." + }, + "votes_id": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Lords/Commons Votes API division ID, cross-resolved from the upstream by (date + house + number). Use as the `division_id` input to votes_get_division for the full member-by-member voting record. None when the cross-resolve found no match (e.g. some Daily Part divisions are recorded in Hansard before the Votes API publishes them)." + } + }, + "required": [ + "id", + "external_id", + "number", + "date", + "house", + "ayes_count", + "noes_count" + ], + "type": "object" + }, + "type": "array" +} - added
Output schema / properties / total_committeesAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "TotalCommittees." +} - added
Output schema / properties / total_corpusAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Total contributions in Hansard matching this query (TotalContributions). Use to decide whether to paginate further or escalate to parliament_policy_position_summary." +} - added
Output schema / properties / total_correctionsAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "TotalCorrections — published corrections to the Hansard record." +} - added
Output schema / properties / total_debatesAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "TotalDebates — distinct debates touching this topic." +} - added
Output schema / properties / total_divisionsAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "TotalDivisions. Non-zero → consider `top_divisions` previews below or chain to votes_search_divisions." +} - added
Output schema / properties / total_membersAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "TotalMembers — member-name matches in the corpus." +} - added
Output schema / properties / total_petitionsAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "TotalPetitions." +} - added
Output schema / properties / total_written_answersAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "TotalWrittenAnswers." +} - added
Output schema / properties / total_written_statementsAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "TotalWrittenStatements." +}
- Removed
parliament_vibe_check - Added
read_resource - Changed
votes_get_division3 fields changed- changed
Input schema / properties / params / descriptionPrevious value: -"DivisionDetailInput with division_id and house."New value: +"DivisionDetailInput." - changed
Output schema / properties / aye_voters / items / properties / member_id / descriptionPrevious value: -"Parliament Members API member ID"New value: +"Parliament Members API integer ID — same ID space as the parliament_* module. Use as `member_id` in parliament_member_debates / parliament_member_interests to see this voter's contributions and registered interests, or as {member_id} in hansard://member/{member_id}/biography for their role history." - changed
Output schema / properties / noe_voters / items / properties / member_id / descriptionPrevious value: -"Parliament Members API member ID"New value: +"Parliament Members API integer ID — same ID space as the parliament_* module. Use as `member_id` in parliament_member_debates / parliament_member_interests to see this voter's contributions and registered interests, or as {member_id} in hansard://member/{member_id}/biography for their role history."
- Changed
votes_search_divisions1 field changed- changed
Input schema / properties / params / descriptionPrevious value: -"DivisionSearchInput with optional query, house, date range, member filter."New value: +"DivisionSearchInput."
2 tool updates
v0.4.4- Changed
judgment_get_paragraph1 field changed- changed
Input schema / properties / eId / descriptionPrevious value: -"Paragraph eId from judgment_get_index, e.g. 'para_12'"New value: +"Paragraph eId from judgment_get_index, e.g. 'para_12'. Numeric strings like '12' are accepted and normalized to 'para_12'."
- Changed
legislation_get_section7 fields changed- changed
Output schema / properties / extent / descriptionPrevious value: -"Territorial extent: list of 'England', 'Wales', 'Scotland', 'Northern Ireland'"New value: +"Territorial extent: list of 'England', 'Wales', 'Scotland', 'Northern Ireland'. Empty list means unknown — do not assume full UK extent." - added
Output schema / properties / prospective / anyOfAdded value: +[ + { + "type": "boolean" + }, + { + "type": "null" + } +] - changed
Output schema / properties / prospective / defaultPrevious value: -falseNew value: +null - changed
Output schema / properties / prospective / descriptionPrevious value: -"True if this section has not yet come into force"New value: +"True if this section has not yet come into force; None if unknown" - removed
Output schema / properties / prospective / typeRemoved value: -"boolean" - added
Output schema / properties / source_formatAdded value: +{ + "default": "xml", + "description": "Source parsed for this response. html_fallback means CLML XML was unavailable and text was parsed from the public HTML page.", + "enum": [ + "xml", + "html_fallback" + ], + "type": "string" +} - added
Output schema / properties / warningsAdded value: +{ + "description": "Non-fatal retrieval or parsing warnings the caller should disclose where relevant.", + "items": { + "type": "string" + }, + "type": "array" +}
29 tool updates
- Added
bills_get_bill - Added
bills_search_bills - Added
case_law_grep_judgment - Added
case_law_search - Added
citations_network - Added
citations_parse - Added
citations_resolve - Added
committees_get_committee - Added
committees_search_committees - Added
committees_search_evidence - Added
get_prompt - Added
hmrc_check_mtd_status - Added
hmrc_get_vat_rate - Added
hmrc_search_guidance - Added
judgment_get_header - Added
judgment_get_index - Added
judgment_get_paragraph - Added
legislation_get_section - Added
legislation_get_toc - Added
legislation_search - Added
list_prompts - Added
parliament_find_member - Added
parliament_member_debates - Added
parliament_member_interests - Added
parliament_search_hansard - Added
parliament_search_petitions - Added
parliament_vibe_check - Added
votes_get_division - Added
votes_search_divisions
29 tool updates
v0.4.2- Removed
bills_get_bill - Removed
bills_search_bills - Removed
case_law_grep_judgment - Removed
case_law_search - Removed
citations_network - Removed
citations_parse - Removed
citations_resolve - Removed
committees_get_committee - Removed
committees_search_committees - Removed
committees_search_evidence - Removed
get_prompt - Removed
hmrc_check_mtd_status - Removed
hmrc_get_vat_rate - Removed
hmrc_search_guidance - Removed
judgment_get_header - Removed
judgment_get_index - Removed
judgment_get_paragraph - Removed
legislation_get_section - Removed
legislation_get_toc - Removed
legislation_search - Removed
list_prompts - Removed
parliament_find_member - Removed
parliament_member_debates - Removed
parliament_member_interests - Removed
parliament_search_hansard - Removed
parliament_search_petitions - Removed
parliament_vibe_check - Removed
votes_get_division - Removed
votes_search_divisions
7 tool updates
- Added
get_prompt - Added
judgment_get_header - Added
judgment_get_index - Added
judgment_get_paragraph - Added
list_prompts - Removed
list_resources - Removed
read_resource
26 tool updates
v0.4.0- First observed
bills_get_bill - First observed
bills_search_bills - First observed
case_law_grep_judgment - First observed
case_law_search - First observed
citations_network - First observed
citations_parse - First observed
citations_resolve - First observed
committees_get_committee - First observed
committees_search_committees - First observed
committees_search_evidence - First observed
hmrc_check_mtd_status - First observed
hmrc_get_vat_rate - First observed
hmrc_search_guidance - First observed
legislation_get_section - First observed
legislation_get_toc - First observed
legislation_search - First observed
list_resources - First observed
parliament_find_member - First observed
parliament_member_debates - First observed
parliament_member_interests - First observed
parliament_search_hansard - First observed
parliament_search_petitions - First observed
parliament_vibe_check - First observed
read_resource - First observed
votes_get_division - First observed
votes_search_divisions
TDQS
Scored across 35 tools
The tool set covers many overlapping domains (e.g., multiple Hansard search tools, multiple case-law retrieval tools), but each tool has a clearly distinct purpose with detailed descriptions that cross-reference others. The potential confusion between parliament_search_hansard and parliament_member_debates is mitigated by explicit guidance on when to use each.
All domain tools follow a consistent domain_verb_noun pattern (e.g., case_law_search, legislation_get_toc, parliament_find_member, votes_get_division, citations_resolve, hmrc_get_vat_rate). Generic MCP tools (list_prompts, get_prompt, list_resources, read_resource) follow standard MCP naming conventions. No mixed styles or vague verbs.
With 35 tools, the server is over-scoped for a single MCP endpoint. While each tool is narrowly defined, the sheer number makes it difficult for agents to efficiently select the correct one, and many tools could be split into separate servers by domain (parliament, case law, citations, HMRC).
The server provides comprehensive coverage of UK legal research workflows: case law search and retrieval, legislation navigation, parliamentary debates and members, bills, committees, votes, citation parsing/resolution/formatting, and HMRC guidance. No obvious gaps for research-oriented tasks are apparent; the resource templates further extend access to full documents.
Maintenance
Related MCP Connectors
Search UK Acts, Statutory Instruments, and legislation with full text retrieval
Resolve, search and verify legal citations against the official sources, with provenance.
Search U.S. case law, fetch opinions, and ask matter-aware legal questions over your documents.
Query UK Parliament, elections, crime stats, ONS census data, and national archives
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to search and analyze legal documents from multiple jurisdictions including US federal and state law, case law, EU regulations, UK legislation, Canadian law, Congress bills, SEC filings, and FDA data through free government APIs.6MIT
- FlicenseNot gradedqualityDmaintenanceEnables US case law search, citation parsing, practice management via Clio, and federal court filings through PACER.-
- FlicenseNot gradedqualityCmaintenanceEnables searching and retrieving UK case law from The National Archives, including full judgments with filtering by court, legal area, and date range.26-
- AlicenseNot gradedqualityBmaintenanceProvides programmatic access to UK legal documents with hybrid semantic search and Model Context Protocol integration for AI assistants.69MIT