Skip to main content
Glama

compare

Read-onlyIdempotent

Word-level comparison of a provision between two dates, both sides with their dates, consolidations, official sources and check status; a side we hold no text for says so. The ops carry plain text; each change's from_marks / to_marks give the raised/lowered wording (superscript / subscript) of the two sides as code-point offsets into the concatenated eq+del (from) and eq+ins (to) text.

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": {
      "ref": "<ref>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesA date YYYY-MM-DD.
refYesA page address (https://www.headlesslaw.com/… or a path such as /mica/articles/75) or a citation ("Art 75(3) MiCA", "Article 75(3) of Regulation (EU) 2023/1114", "2025/298", a CELEX number).
fromYesA date YYYY-MM-DD.
releaseNoOptional release id (or its first 8+ hex characters) to pin a multi-call task to one release; releases stay available for 24 hours after they leave the live position. Outside that window the answer is release_unavailable (isError), naming the current release — never silently another release.

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 read-only, idempotent, non-destructive, closed-world behavior. The description adds meaningful context beyond that: it explains the missing-text edge case ('a side we hold no text for says so') and the output mechanics of ops, from_marks, to_marks, and code-point offsets.

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?

The description is two dense sentences with the purpose front-loaded, followed by output semantics. Every sentence carries useful information, though the second sentence is packed and could be easier to scan.

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?

There is no output schema, so the description must explain return semantics; it does so by covering both sides, dates, consolidations, official sources, check status, missing text, ops, and mark offsets. It remains somewhat incomplete on usage routing and does not describe every possible response field.

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. The description only echoes the date and provision concepts and adds no syntax, format, or release-window meaning beyond what the schema provides.

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: 'Word-level comparison of a provision between two dates.' The two-date scope helps distinguish it from retrieval siblings like get_provision, but it does not explicitly name or contrast alternatives such as list_versions.

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 purpose implies comparison, but an agent gets no routing help for choosing this over list_versions or get_provision.

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