Skip to main content
Glama

Verify Citation

verify_citation

Validates Croatian legal citations for correct format and live existence in official Croatia and ECLI/ELI registries, preventing AI-hallucinated case law and statute references.

Instructions

No-Hallucination Citation Verifier for Croatia (HR). Validates format and live existence of legal citations (e.g., 'ECLI:HR:VSRH:2024:100 or NN 35/05') against official Croatia 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:HR:VSRH:2024:100 or NN 35/05').

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the core behavior: format validation plus a live check against official Croatia and ECLI/ELI registries, which is useful. It does not say what gets returned (boolean, verified metadata, error reason) although an output schema exists, nor does it explain network dependency or how registry failures are surfaced; the output schema lowers the bar, but missing failure-mode behavior keeps this at 3.

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?

One compact sentence covers purpose, jurisdiction, inputs, target registries, and motivation (prevent hallucination). It is front-loaded with no padding.

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 single-parameter verification tool with an output schema and full parameter documentation, the description gives enough to act correctly. The main gap is the lack of guidance on failure or unverifiable cases, and no explicit relationship to sibling search tools.

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?

There is a single parameter with 100% schema description coverage, including examples, so the baseline is high. The description adds semantic context by naming the concrete input formats (ECLI or NN-style statute reference) the parameter accepts, though it does not add constraints or validation rules beyond the schema.

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 uses a specific verb ('Validates') and a specific resource (legal citations) with a named jurisdiction (Croatia, HR) and concrete examples ('ECLI:HR:VSRH:2024:100', 'NN 35/05'). This clearly separates it from retrieval siblings like search_case_law or search_legislation.

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?

Usage is implied by the purpose: verify a citation's format and live existence to prevent hallucination. But it never says when to prefer this over, or pair it with, siblings such as search_case_law or get_legal_document_markdown, nor does it state prerequisites (e.g., Croatian sources only) or behavior for unknown citations or invalid ECLI formats.

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