Skip to main content
Glama

Verify Citation

verify_citation

Validates legal citations against official EU/ECHR and ECLI/ELI registries to confirm format and live existence, preventing AI-hallucinated references.

Instructions

No-Hallucination Citation Verifier for European Union & ECHR (EU). Validates format and live existence of legal citations (e.g., 'ECLI:EU:C:2023:123 or CELEX:32016R0679 (GDPR)') against official European Union & ECHR and ECLI/ELI registries to prevent AI-hallucinated citations.

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": {
      "citation": "<citation>"
    },
    "name": "verify_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
citationYesCase citation, ECLI, or statute reference to verify (e.g., 'ECLI:EU:C:2023:123 or CELEX:32016R0679 (GDPR)').

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses that both format validation and a live lookup against external registries occur, which tells the agent this is a network-dependent operation, but it says nothing about failure behavior (unreachable registry vs. genuinely invalid citation) or latency. It also does not state whether both checks always run or whether format failure short-circuits the lookup.

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?

A single front-loaded sentence that leads with the core purpose and follows with the mechanism and rationale; nothing is padding. Minor waste in the redundant 'European Union & ECHR (EU)' phrasing and the marketing-flavored 'No-Hallucination' prefix, which repeats information conveyed later.

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?

For a one-parameter tool with an output schema (so return values need not be described) and explicit jurisdiction boundaries, the description covers purpose, target registries, and intent adequately. What it omits — outcome semantics when format passes but the lookup fails, and whether results are cached — is a modest but real gap for a verifier whose value depends on interpreting a negative result.

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% with a single required string parameter, so the baseline is 3. The description adds only the same ECLI/CELEX examples already present in the schema, adding no new constraint such as accepted input forms or whether plain-language case names are tolerated.

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?

Names a specific action (validate format and live existence) on a specific resource (legal citations) within a stated jurisdiction scope (EU & ECHR, ECLI/ELI registries). It is clearly a verification tool, not a retrieval tool, which distinguishes it from siblings like search_case_law and search_legislation, and the concrete ECLI/CELEX examples make the target resource unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The motivation 'to prevent AI-hallucinated citations' implies the usage context (checking a citation you already have rather than searching for one), but no explicit when-to-use, when-not-to-use, or named alternative is given. The natural complementary action — using search_case_law when you do not yet have a citation — is left for the agent to infer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.