Skip to main content
Glama

Changes between

changes_between
Read-onlyIdempotent

Every provision whose text on date_b differs from its text on date_a, in every jurisdiction or one, with the laws that took effect after date_a, up to and including date_b.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date_a": "<date_a>",
      "date_b": "<date_b>"
    },
    "name": "changes_between"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNolaws (default; "law" is read the same): law only. judgments: court decisions (case law) only. all: both. A jurisdiction that names case law (a path ending in /caselaw) reads it too.
date_aYesAn in-force date, YYYY-MM-DD, or "today".
date_bYesAn in-force date, YYYY-MM-DD, or "today".
jurisdictionNoOptional jurisdiction: a country by its name in English or its own language ("germany", "Deutschland", "UK") or its ISO code ("de"), or a path prefix, for example "germany", "united-states/federal" or "united-kingdom/uk/legislation/uksi".

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / jurisdiction / description
      Previous value: -"Optional jurisdiction prefix, for example \"germany\", \"united-states/federal\" or \"united-kingdom/uk/legislation/uksi\"."New value: +"Optional jurisdiction: a country by its name in English or its own language (\"germany\", \"Deutschland\", \"UK\") or its ISO code (\"de\"), or a path prefix, for example \"germany\", \"united-states/federal\" or \"united-kingdom/uk/legislation/uksi\"."
  2. Changed4 schema fields changed
    • changedInput schema / properties / date_a / description
      Previous value: -"An in-force date, YYYY-MM-DD, or \"today\". Defaults to today."New value: +"An in-force date, YYYY-MM-DD, or \"today\"."
    • changedInput schema / properties / date_b / description
      Previous value: -"An in-force date, YYYY-MM-DD, or \"today\". Defaults to today."New value: +"An in-force date, YYYY-MM-DD, or \"today\"."
    • changedInput schema / properties / kind / description
      Previous value: -"law (default): bodies of law only. judgments: court decisions (case law) only. Case law is also read when the jurisdiction names it (a path ending in /caselaw)."New value: +"laws (default; \"law\" is read the same): law only. judgments: court decisions (case law) only. all: both. A jurisdiction that names case law (a path ending in /caselaw) reads it too."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "law",
      -  "judgments"
      -]New value: +[
      +  "laws",
      +  "judgments",
      +  "all",
      +  "law"
      +]
  3. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a genuine behavioral nuance beyond that: results include laws that took effect after date_a up to and including date_b, which clarifies the inclusion rule. It does not address result volume or ordering when scanning all jurisdictions.

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

Conciseness3/5

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

It is a single sentence with the core diff condition front-loaded, which is good. However, the trailing clause 'in every jurisdiction or one, with the laws that took effect after date_a, up to and including date_b' is grammatically tangled and takes effort to parse.

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?

An output schema exists, so return values need not be explained, and all parameters are schema-documented. What is missing is guidance on choosing this tool over its change-oriented siblings and any note on the cost or volume of querying all jurisdictions at once.

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 four parameters are already documented in the schema, including the kind enum and jurisdiction path-prefix syntax. The description only reinforces that jurisdiction is optional ('every jurisdiction or one') and that the dates are in-force dates; it adds no syntax or format detail beyond the schema, so 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 states a specific resource (provisions) and a specific condition (text on date_b differs from text on date_a), which is more precise than a generic 'get changes'. It does not name or contrast with siblings such as laws_between or search_changes, so an agent must infer the distinction.

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 alternative tool is named. The scope phrase 'in every jurisdiction or one' hints at the jurisdiction parameter's role but does not tell the agent when this tool is preferable to the other change-related siblings.

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.