Skip to main content
Glama

search_changes

Read-onlyIdempotent

Search the recorded changes by meaning and by words, over each change's heading, its stored sentences and the text it left; since keeps changes in force on or after a date. Each result carries disputed as stored. Each result is a coordinate, an excerpt of at most 300 characters, why it matched, the page that tells its history and the authority's text. An excerpt is not the provision's text: provision_text returns that, one provision per call, from the result's text_args. A similar match is a similarity match, related wording and not a statement that the provision is about the query. Page with cursor set to next_cursor; unavailable says why there is no answer. Every list is complete for the watch window the record covers, from the oldest version an act was watched from to its newest, and says nothing about anything outside it. disputed means one of three independent signals (the text comparison, the EU's own amendment metadata, the amending act's instructions) disagreed; dispute_reason says which and how, and a dispute is a reading of the sources, not a judgement about the law. applies_from: unknown means no application date could be read deterministically, never that no date applies. Units named by only one signal are listed by name on their event (metadata_only_units, instruction_only_units), never as changes. Not legal advice: this output is machine-computed from published texts, carries no lawyer's review, and is engineering assistance only.

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": {
      "query": "<query>"
    },
    "name": "search_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
actNoOne act's key; all when omitted.
limitNoResults per page, 1 to 25.
queryYesWords or a phrase.
sinceNoThe earliest in-force date, YYYY-MM-DD.
cursorNoThe `next_cursor` of the previous page.

Output Schema

NameRequiredDescriptionDefault
answerYesThe answer as served.
disclaimerNoNot legal advice.Not legal advice: this output is machine-computed from published texts, carries no lawyer's review, and is engineering assistance only.
unavailableYesWhy there is no answer, in words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Well beyond the readOnly/idempotent annotations: it explains `disputed` as one of three independent signals, what `dispute_reason` reports, that `applies_from: unknown` is a parse failure rather than an absence of date, that results are bounded by a watch window and say nothing outside it, and that `metadata_only_units`/`instruction_only_units` are never returned as changes. It also disclaims legal-review status.

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?

Core purpose and the excerpt caveat are front-loaded, and most sentences carry distinct information. Some phrasing is padded or circular, notably 'A `similar` match is a similarity match' and the trailing legal disclaimer, which could be tighter.

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?

For a search tool with a full output schema, the description supplies everything an agent needs: matching modes, result shape in prose, paging, the empty/`unavailable` case, completeness scope, and the disputed/applies_from semantics. No material gap remains for correct invocation.

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 baseline is 3, but the description adds real meaning: `since` keeps changes *in force on or after* a date (a semantic narrowing versus the schema's 'earliest in-force date'), `cursor` is explicitly the previous page's `next_cursor`, and excerpts/`text_args` link the result to `provision_text`. `act` and `limit` get no added meaning.

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 verb and resource — search recorded changes — and qualifies the search as both semantic and lexical over heading, stored sentences and text. It also disambiguates the `similar` match mode and routes to `provision_text` for full text. It does not name siblings like `changes_since` or `search_provisions`, so the boundary with those is left implicit.

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 operational context: `since` filters by in-force date, excerpts are not the provision text so use `provision_text` with the result's `text_args`, page with `next_cursor`, and `unavailable` explains a null answer. Missing an explicit statement of when to prefer this over `changes_since` or `find_substance`.

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