Skip to main content
Glama

UK company & compliance data

UK Legislation: Amendments made to it

uk-legislation__changes
Read-onlyIdempotent

Most recent 50 changes (substitutions, repeals, insertions…) made by later legislation, with the amending provision, in-force dates and whether the change is reflected in the text yet. Free within the daily allowance, then $0.003 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
typeYesLegislation type code (ukpga, uksi, asp, ssi, wsi, nisr…; see types)
yearYesYear (or regnal year for pre-1963, e.g. Eliz2/10-11)
numberYesChapter or SI number

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive. The description adds genuinely new behavioral context beyond those: a hard cap of the most recent 50 changes, the fields returned (amending provision, in-force dates, whether the change is reflected in the text), and the payment model (free within daily allowance, then $0.003 USDC per call via x402). That pricing/limit disclosure is valuable and not derivable from 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.

Conciseness4/5

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

Two sentences, front-loaded with the resource and its contents before the ancillary payment note. Nearly every clause earns its place; the x402 pricing sentence is relevant for invocation planning even if slightly appended.

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?

An output schema exists, so return-value structure needn't be restated, and the description still summarizes what the response contains. Parameters are covered by the schema and the payment model is disclosed. The only gap is the absence of routing guidance relative to sibling tools.

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 all three parameters (type, year, number) are already documented in the schema, including the regnal-year edge case. The description adds no parameter-level meaning beyond identifying the target legislation, so the baseline 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 states a specific verb and resource: retrieve the most recent 50 changes (substitutions, repeals, insertions) made by later legislation to a given Act/SI, with amending provision, in-force dates, and reflected-in-text status. This is clear and concrete. It does not, however, explicitly distinguish itself from siblings like uk-legislation__provision or uk-legislation__item, so an agent must infer the boundary.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no named alternatives among the uk-legislation siblings (item, latest, provision, search, types). The implicit context — you supply type/year/number to identify a specific piece of legislation — is present but never spelled out as routing guidance.

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.

Resources