Skip to main content
Glama

What changed in the law

get_changes
Read-onlyIdempotent

What changed in a law, or in the laws of a source or country: the articles whose wording changed, was inserted or repealed, newest first, with the day. A wording not yet in force is listed too. One law by its id gives all the changes held; a source or a jurisdiction goes five years back.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOne law: an id from a result, or an identifier or citation.
langNoTwo-letter language, for texts that exist in several.
limitNoLines to return, 1–500. Default 50.
sinceNoOnly changes from this day on, YYYY-MM-DD.
untilNoOnly changes up to this day, YYYY-MM-DD.
offsetNoLines to skip, for the next page.
sourceNoOr the laws of one source id from list_sources.
jurisdictionNoOr the laws of one jurisdiction ("ch").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Adds substantial behavior beyond the readOnly/idempotent annotations: newest-first ordering, inclusion of wording not yet in force, the five-year retention window, and that an id returns everything held. It stops short of saying what the entries look like or how pagination interacts with ordering.

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 return shape, no filler. The clause 'the articles whose wording changed, was inserted or repealed' is slightly ungrammatical but still parseable.

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

Completeness3/5

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

Return contents and the scope-dependent time window are covered, which matters since there is no output schema. However, all eight parameters are optional and the description never says what happens when no id, source, or jurisdiction is supplied, leaving a real invocation gap.

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 coverage is 100%, so all eight parameters are already documented. The description reinforces the mutually exclusive scoping choice (id vs source vs jurisdiction) and ties the five-year cap to the latter two, but adds little beyond what the schema states.

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?

States a specific resource and operation: a change history listing 'the articles whose wording changed, was inserted or repealed, newest first, with the day.' It is clearly a diff/changelog tool and is distinguishable from get_document and get_outline, though it never names a sibling to contrast with.

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 scope-dependent guidance: an id yields all changes held for that law, while a source or jurisdiction is capped at five years back. This is real when-to-use context, but there are no explicit exclusions or named alternatives for when another tool is preferable.

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