Skip to main content
Glama
Estonia Legal Research MCP Server

Estonia Legal Research MCP Server

by jurisatlas

Verify Citation

verify_citation

Validates Estonian legal citation formats and checks their live existence in official Riigi Teataja and ECLI/ELI registries to prevent AI-hallucinated references.

Instructions

No-Hallucination Citation Verifier for Estonia (EE). Validates format and live existence of legal citations (e.g., 'ECLI:EE:RK:2024:1.23.4567 or RT I, 01.01.2024, 1') against official Estonia 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:EE:RK:2024:1.23.4567 or RT I, 01.01.2024, 1').

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It usefully reveals that verification happens 'live' against official registries, so the agent knows this tool makes external calls rather than doing a static lookup. It says nothing about latency, rate limits, or how format-invalid versus non-existent citations are treated.

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?

It is two sentences and front-loaded with the purpose: validating against Estonia and ECLI/ELI registries. There is mild repetition, since 'No-Hallucination' and 'prevent AI-hallucinated citations' restate the same idea, and the EE scope appears twice.

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?

An output schema exists, so the return structure does not need explaining, and a single required parameter is fully documented. What remains missing is edge-case behavior, such as non-EE citations or unparsable input, which is minor for a verification tool of this simplicity.

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 tool has a single parameter with 100% schema coverage, and the schema already lists the accepted formats and examples. The description repeats the same examples without adding syntax or normalization rules, so the schema does the heavy lifting.

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: it validates the format and live existence of legal citations, and scopes this to Estonia (EE) with concrete ECLI and RT examples. This clearly separates it from sibling search/list tools, although it never names a sibling explicitly.

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 stated aim of preventing hallucinated citations implies that you call it before relying on or citing a legal reference. There is no explicit when-to-use or when-not-to-use guidance, no mention of what to do if the citation is non-Estonian, and no named alternative tool.

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