Skip to main content
Glama

Ansvar: EU Compliance & Legal Intelligence

Diff

diff
Read-only

Compare two versions of a legal provision to see what changed. Use this when someone asks 'what changed in the latest DORA amendment', 'how did this article change between versions', or 'show me the differences in GDPR Article 17 after the update'. Returns a structured diff with added, removed, and modified text. The response ends with a 'Sources used' section — a markdown table carrying the audit receipt for each returned row, or a labelled zero-result note — and meta.render_contract carries the versioned evidence-curation contract for reproducing source attributions when the answer is rendered.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lawYesInstrument the provision belongs to, as a framework id ('GDPR', 'DORA') or the corpus's own law identifier.
articleYesArticle or section number within the instrument, such as '17' or '5(1)(a)'.
to_dateNoEnd of the comparison window as an ISO date. Empty means the version currently in force.
from_dateNoStart of the comparison window as an ISO date, e.g. '2024-01-01'. Empty means the corpus picks the earliest version it holds.
jurisdictionYesISO-2 code of the jurisdiction that owns the provision, such as EU or SE.

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the tool is known to be safe. The description adds significant behavioral context: it describes the structured diff (added, removed, modified text), the 'Sources used' audit table with zero-result note, and meta.render_contract for reproducing source attributions. This goes well beyond what annotations provide and gives the agent a clear picture of the output and its provenance.

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

Conciseness5/5

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

The description is three sentences, each earning its place: the first states the core function, the second provides usage triggers with examples, and the third details the output format including the audit table and meta contract. It is front-loaded with the primary purpose and contains no fluff or repetition of schema content.

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?

There is no output schema, so the description compensates by thoroughly explaining the return value: a structured diff with added/removed/modified text, a 'Sources used' section, and meta.render_contract. Combined with the exhaustive parameter schema and safety annotations, the agent has all necessary information to invoke the tool correctly and interpret results. The mention of zero-result note also handles an edge case.

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?

The input schema covers all 5 parameters with descriptions (100% coverage), so the baseline is 3. The tool description does not elaborate on parameter details further, but it implicitly reinforces semantics through example queries ('DORA amendment', 'GDPR Article 17'). Since the schema already explains parameters clearly and the description adds minimal extra meaning, a 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: 'Compare two versions of a legal provision to see what changed.' It distinguishes the tool from siblings like get_provision or search by focusing on the diffing use case, reinforced with concrete example queries ('what changed in the latest DORA amendment', 'differences in GDPR Article 17 after the update'). This fully clarifies the tool's purpose.

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?

The description explicitly states 'Use this when...' followed by three representative user requests, giving clear context for when the tool is appropriate. It does not name alternatives or provide when-not guidance, but the usage scenarios are specific enough to differentiate from sibling tools. A missing explicit exclusion keeps it from a 5.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but a few pairs overlap: get_current_step vs get_progress, search_cve vs search_by_product, and describe_capabilities vs get_my_capabilities. The descriptions provide enough detail to differentiate them, but agents could still occasionally misselect.

Naming Consistency4/5

Names overwhelmingly follow a verb_noun snake_case pattern (get_*, list_*, search_*, start_*, etc.). Minor deviations like 'diff' and 'search' (single-word) and 'batch_search' (compound modifier) are predictable and don't disrupt the overall consistency.

Tool Count3/5

With 30 tools, the server is on the heavier side. The broad scope (legal intelligence, CVE data, full workflow engine) justifies many tools, but some are internal or niche (probe_corpus, recommend_subagents) and could be hidden. It's borderline between well-scoped and excessive.

Completeness4/5

The legal and CVE domains are well-covered: search, provision lookup, validation, diff, coverage, and detailed CVE enrichment. Workflow management is end-to-end. However, get_regulatory_deadlines is referenced by get_regulatory_intelligence_status but not exposed in the toolset, leaving a notable gap.