Skip to main content
Glama

UK Data: UK Parliament bills and SIs

Server Details

Where a UK bill, treaty or statutory instrument is in Parliament: stages, sponsors, amendments

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

Score is being calculated.

Available Tools

9 tools
acts_recent_royal_assentA
Read-onlyIdempotent
Inspect

Lists bills that have received Royal Assent and become Acts of Parliament, most recent first, with the Royal Assent date and the Act's title. For compliance, HR and legal teams who need to hear about new Acts quickly. Source: UK Parliament Bills API. It covers UK Parliament Acts only, not commencement dates or statutory instruments, and does not show the Act text (see legislation.gov.uk). (cost: 1 credit)

NameRequiredDescriptionDefault
takeNointeger, optional, Acts to return 1-100, default 10

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful context beyond that: result ordering, the exact fields surfaced, the source (UK Parliament Bills API), explicit coverage limits, and a cost of 1 credit. It stops short of describing result volume or whether a total count is returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the action and ordering, followed by scope exclusions, source and cost. The audience clause is the weakest element but is short and immediately followed by the limits that matter for correct invocation.

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

Completeness4/5

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

For a single-parameter read tool with full schema coverage, full annotation coverage and no output schema, the description covers what is returned, ordering, source, scope limits and cost. The only gap is that it does not say whether results are effectively capped/paged or how fresh the underlying data is, which matters for a 'recent' monitoring tool.

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

Parameters3/5

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

Schema description coverage is 100% — the sole 'take' parameter already documents range 1-100 and default 10. The description adds only the ordering meaning ('most recent first') that makes 'take' interpretable as 'the N newest Acts', but never references the parameter or clarifies behaviour above 100 or absence of paging.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (lists bills receiving Royal Assent that became Acts of Parliament), plus ordering ('most recent first') and the fields returned (Royal Assent date and Act title). It also bounds the scope against adjacent data ('UK Parliament Acts only, not commencement dates or statutory instruments'), which separates it from sibling tools such as statutory_instrument_search and bill_search.

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

Usage Guidelines3/5

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

Usage is only implied through an audience statement ('compliance, HR and legal teams who need to hear about new Acts quickly') plus exclusions (no commencement dates, no Act text, see legislation.gov.uk). It never names a sibling alternative such as legislation_search, bill_status or bills_recently_updated, so the agent must infer routing itself.

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

bill_amendmentsA
Read-onlyIdempotent
Inspect

Lists the amendments tabled at one stage of a UK bill, with the clause or schedule targeted, the amendment wording, its sponsors and the decision recorded (agreed, negatived, withdrawn, not moved). For public affairs teams and campaigners tracking whether an amendment got through. Source: UK Parliament Bills API. Needs the bill ID and a stage_id from bill_stages_timeline; can filter by decision or a word in the amendment, and pages with skip. Decisions are null until Parliament records them. (cost: 1 credit)

NameRequiredDescriptionDefault
skipNointeger, optional, amendments to skip for paging, 0-100000, default 0
takeNointeger, optional, amendments to return 1-100, default 25
billIdNointeger, required, the Parliament bill ID, e.g. 4035
searchNostring, optional, word or phrase in the amendment text, e.g. ombudsman
decisionNostring, optional, only amendments with this recorded decision: agreed, agreed_on_division, withdrawn, withdrawn_before_debate, disagreed, negatived_on_division, not_moved, not_selected, not_called, no_decision, question_proposed, stood_part, not_stood_part, preempted; default all
billStageIdNointeger, required, the stage_id from bill_stages_timeline, e.g. 21180

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's job is to add operational context — and it does: data source, a 1-credit cost, and the important caveat that decisions are null until Parliament records them. It does not describe pagination limits or default page size, which the schema carries instead.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the resource and its return shape, then prerequisites, then filters, then caveats — a sensible order. The audience sentence ('For public affairs teams and campaigners…') is the one line that is more positioning than instruction, though it is short.

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

Completeness4/5

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

With six parameters and no output schema, the description compensates by summarizing what each amendment record contains and warning about null decisions. Only missing piece is pagination/response-shape detail, which is minor against an otherwise complete picture.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description exceeds it by adding provenance the schema lacks — that billStageId must come from bill_stages_timeline — and by framing skip as paging and decision/search as filters. It doesn't reconcile the mismatch between the schema's 'required' wording and the tool's reported 0 required parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — lists amendments tabled at one stage of a UK bill — and enumerates the returned content (clause/schedule targeted, wording, sponsors, recorded decision). That scope is clearly distinct from siblings like bill_stages_timeline and bill_documents, so the agent can pick it 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.

Usage Guidelines4/5

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

Names the prerequisites precisely and routes the agent to the correct sibling for the stage_id (bill_stages_timeline), plus explains the two filtering modes and paging. It stops short of stating exclusions (e.g. cross-stage or all-amendments queries), so it is strong context rather than a full when/when-not pair.

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

bill_documentsA
Read-onlyIdempotent
Inspect

Lists the documents published for a UK bill, newest first: bill texts, explanatory notes, amendment papers, impact assessments, delegated powers memoranda and committee reports, with direct PDF and web links. For lawyers and policy staff after the latest bill text or notes. Source: UK Parliament Bills API. It returns links, not the document text; pair it with a URL or PDF reader to read one. (cost: 1 credit)

NameRequiredDescriptionDefault
limitNointeger, optional, documents to return 1-100, default 25
billIdNointeger, required, the Parliament bill ID (from bill_search), e.g. 3462

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely useful behaviour beyond that: results are ordered newest-first, the payload contains links rather than document text, and each call costs 1 credit. Pagination behaviour and what happens at the 100-document cap are not disclosed, which keeps it off a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the verb and scope, then document types, then audience, then the critical caveat that links are returned rather than text. Every sentence earns its place and the caveat is placed before an agent could mistake this for a full-text tool.

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

Completeness5/5

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

No output schema exists, and the description compensates fully by saying the response is a newest-first list of PDF/web links rather than document bodies. For a two-parameter read tool with rich annotations, nothing needed to invoke or interpret it correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents both limit and billId (including the bill_search provenance and an example ID). The description adds only the newest-first ordering, which is implicit sorting context rather than parameter meaning; a baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Lists the documents published for a UK bill") and then enumerates the exact document classes returned (bill texts, explanatory notes, amendment papers, impact assessments, delegated powers memoranda, committee reports). This enumeration separates it from neighbours like bill_amendments, bill_status and bill_stages_timeline without the agent needing to open a schema.

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

Usage Guidelines4/5

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

Gives clear situational context ("For lawyers and policy staff after the latest bill text or notes") and a follow-up routing hint ("pair it with a URL or PDF reader to read one"). It stops short of naming a specific alternative tool or stating when not to use it, so it is clear context rather than full 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.

bills_recently_updatedA
Read-onlyIdempotent
Inspect

Lists the UK Parliament bills whose records changed most recently, with current stage, house, upcoming or latest sitting dates and status. A quick "what is moving through Parliament" view for public affairs teams and journalists. Source: UK Parliament Bills API. Ordered by when Parliament last updated the bill record, which usually but not always reflects new parliamentary activity. (cost: 1 credit)

NameRequiredDescriptionDefault
takeNointeger, optional, bills to return 1-100, default 10

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description goes beyond that with substantive context: the ordering key (Parliament's last record update), an honest caveat that this "usually but not always reflects new parliamentary activity," the upstream source, and a 1-credit cost.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The returned fields and the recency framing are front-loaded, and the ordering caveat and cost are appended efficiently. The audience sentence ("for public affairs teams and journalists") is mild filler but also carries usage signal, so it mostly earns its place.

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

Completeness4/5

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

There is no output schema, and the description compensates by enumerating the fields returned (stage, house, dates, status). Combined with the ordering semantics, source attribution and credit cost, the agent has enough to call and interpret it; only the result count behavior is left entirely to the schema.

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

Parameters3/5

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

Schema description coverage is 100% and the single `take` parameter is fully documented in the schema (integer, 1-100, default 10). The description adds nothing about it — no mention of the default page size or the maximum — so with the schema doing all the work, the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Lists the UK Parliament bills whose records changed most recently") and enumerates the returned fields (stage, house, sitting dates, status). It clearly reads as a recency-ordered feed rather than a lookup, which separates it from bill_search or bill_status, but it never names those siblings to make the contrast explicit.

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

Usage Guidelines3/5

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

"A quick 'what is moving through Parliament' view for public affairs teams and journalists" establishes the intended use case and audience, which implies when to reach for it. However, there is no explicit when-not guidance and no pointer to alternatives such as bill_search (lookup by name) or bill_status (single bill detail), so the agent must infer routing from the sibling names alone.

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

bill_stages_timelineA
Read-onlyIdempotent
Inspect

Lists every stage a UK bill has been through or has scheduled, in order, with the house and each sitting date: first and second reading, committee, report, third reading, Lords stages, consideration of amendments, Royal Assent. Saves researchers and public affairs teams from piecing together a bill's passage by hand. Source: UK Parliament Bills API. It gives dates, not debate content or votes; each stage_id can be passed to bill_amendments. (cost: 1 credit)

NameRequiredDescriptionDefault
billIdNointeger, required, the Parliament bill ID (from bill_search), e.g. 4035

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description earns credit for additions: the upstream source (UK Parliament Bills API), a cost of 1 credit, and the non-obvious trait that it returns not only historical stages but also scheduled future ones. It does not detail ordering guarantees beyond 'in order' or how incomplete/withdrawn stages appear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core capability and the stage enumeration are front-loaded, and the follow-on tool, exclusion, source and cost notes are compact. The 'Saves researchers and public affairs teams...' sentence is mild marketing that consumes space without adding agent-relevant information.

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

Completeness4/5

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

There is no output schema, so the description must convey the return content, and it does reasonably well: ordered stages, house, sitting dates, and the stage_id hook. It does not describe the response envelope or how multi-house/committee stages are nested, a minor gap for a single-parameter read tool whose annotations already establish safety.

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

Parameters3/5

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

With a single parameter and 100% schema description coverage (billId is documented as the Parliament bill ID from bill_search with an example), the schema already carries the meaning. The description adds nothing about billId — the only ID it discusses, stage_id, is a return value — so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Lists every stage a UK bill has been through or has scheduled') and enumerates the stage types returned (first/second reading, committee, report, third reading, Lords stages, consideration of amendments, Royal Assent). It also names the sibling bill_amendments as the follow-on tool, so an agent can tell it apart from adjacent bill tools without opening a schema.

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

Usage Guidelines4/5

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

Provides clear context for use (tracing a bill's passage, saving manual assembly) plus an explicit exclusion — 'dates, not debate content or votes' — and a routing hint that stage_id feeds bill_amendments. It stops short of naming alternatives for the cases it excludes (e.g. bill_documents or bill_status for content/status), so it is short of full when/when-not coverage.

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

bill_statusA
Read-onlyIdempotent
Inspect

Shows where one UK bill is now: its current stage and house with sitting dates, whether it has become an Act, been withdrawn or defeated, its long title and its sponsoring members and departments. Answers "where is the X bill now", "has it passed" and "who introduced it". Source: UK Parliament Bills API. Needs the bill ID from bill_search; it does not predict when a bill will pass. (cost: 1 credit)

NameRequiredDescriptionDefault
billIdNointeger, required, the Parliament bill ID (from bill_search), e.g. 3462

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already cover the safety profile (read-only, idempotent, non-destructive, open-world), so additional disclosure is optional. The description still adds real context: the source is the UK Parliament Bills API, the call costs one credit, and the tool deliberately does not forecast outcomes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is long and front-loads the scope; the following sentences add only useful detail (example questions, source, prerequisite, exclusion, cost). Nothing is filler, though the opening sentence could be split for easier scanning.

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

Completeness4/5

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

There is no output schema, and the description compensates by enumerating the fields that come back. Combined with the annotations covering safety and a fully documented single parameter, it gives enough information to call the tool correctly without guessing; only the exact response shape remains unspecified.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already describes billId as the Parliament ID from bill_search with an example. The description's note that it needs the ID from bill_search largely restates the schema, adding little beyond the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and scope: the current state of a single UK bill, including stage, house, sitting dates, Act/withdrawn/defeated status, long title, and sponsors. It is clearly distinguishable from bill_search (which supplies the ID) and from timeline or amendment tools.

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

Usage Guidelines4/5

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

It states the questions it answers ("where is the X bill now", "has it passed", "who introduced it"), requires that the bill ID come from bill_search, and explicitly excludes prediction of passage dates. It does not, however, route to sibling tools such as bill_stages_timeline or bill_amendments when those are better fits.

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.

  1. 9 tool updates
    • First observedacts_recent_royal_assent
    • First observedbill_amendments
    • First observedbill_documents
    • First observedbill_search
    • First observedbill_stages_timeline
    • First observedbill_status
    • First observedbills_recently_updated
    • First observedstatutory_instrument_search
    • First observedtreaty_search

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables searching and reading UK legislation as it stands now, as enacted, or on any date, resolving citations to canonical items and provisions, listing amendments and effects, and tracking daily changes via the legislation.gov.uk publication log.
    691 npm
    2
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables searching and retrieving UK Parliament records — bills, members, Commons and Lords divisions, Hansard contributions, written questions, and committee business — from the official Parliament APIs. Runs over STDIO or Streamable HTTP with no API key, linking records across their distinct identifiers.
    139 npm
    1
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    Provides access to live UK Parliament data including bills, votes, MP profiles, and financial interests without requiring an API key. It enables users to track parliamentary rebellions, search petitions, and cross-reference voting records with declared financial interests.
    5
    3 npm
    9
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources