Skip to main content
Glama

Legislation Amendments

legislation_amendments
Read-onlyIdempotent

What has amended this UK Act or instrument, and (in the other direction) what this legislation itself amends — "what has changed the Data Protection Act 2018", "has section 13A been amended", "what does the Victims and Prisoners Act 2024 amend". Each row names the amending/amended instrument, the affected and affecting provisions, the type of change (inserted/substituted/repealed/omitted/amended etc.), whether it has actually been APPLIED (some amendments are made but not yet in force), and the commencement date. PAGED AT 50 — the response states total_results and total_pages; 50 rows is a page, never the whole change history (some Acts have thousands of recorded effects), pass page for more. direction "affected" (default) = changes made TO this legislation by others; "affecting" = changes this legislation makes TO others. Source: legislation.gov.uk /changes/ Atom feed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoResults page (default 1). 50 rows per page — see total_pages in the response.
typeYesDocument type, e.g. "ukpga". One of: ukpga (UK Public General Acts), uksi (UK Statutory Instruments), asp (Scottish Parliament Acts), anaw/asc (Wales), nia (Northern Ireland), ukla (UK Local Acts).
yearYesYear, e.g. 2018.
numberYesItem number within that year/type, e.g. 12 for the Data Protection Act 2018.
directionNo"affected" (default) — changes made TO this legislation by other instruments. "affecting" — changes this legislation makes TO other instruments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, open-world, non-destructive behavior, but the description adds substantial behavioral context beyond them: pagination is hard-capped at 50 rows with total_results/total_pages in the response, 50 rows 'is a page, never the whole change history,' and rows disclose whether a change has actually been APPLIED vs. merely made. It also names the underlying source feed, which is valuable for trust calibration.

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?

It is dense and long, but front-loads the core purpose, example phrasings, and the critical pagination warning ahead of lower-priority source attribution. Almost every sentence carries information, though the length is close to the upper useful bound for a tool description.

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?

Though no output schema exists, the description describes the returned row structure in detail (amending/amended instrument, affected/affecting provisions, change type, applied status, commencement date), plus pagination fields and the direction switch. An agent has everything needed to call and interpret results correctly.

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 all five parameters including the 'direction' and 'page' semantics. The description largely restates the direction definition already present in the schema and adds no parameter syntax or format detail beyond it, so the baseline of 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+resource pair with bidirectional scope: 'what has amended this UK Act or instrument, and (in the other direction) what this legislation itself amends.' It also grounds it with concrete example phrasings ('what has changed the Data Protection Act 2018') that an agent can map to a request, and it is clearly distinct from siblings like get_legislation, get_legislation_section, and get_legislation_text.

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 context via example queries and explicitly distinguishes the two operating modes of the 'direction' parameter, telling the agent which mode suits which question. It does not name sibling tools or state when to prefer them over this one (e.g., text retrieval vs. amendment history), so it falls just 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.