Skip to main content
Glama

Verify Citation

verify_citation

Validate Lithuanian legal citations (ECLI, TAR, case/statute references) against official LT and ECLI/ELI registries to confirm format and live existence, preventing AI-hallucinated references.

Instructions

No-Hallucination Citation Verifier for Lithuania (LT). Validates format and live existence of legal citations (e.g., 'ECLI:LT:LAT:2024:e3K300124 or TAR') against official Lithuania 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:LT:LAT:2024:e3K300124 or TAR').

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?

With no annotations, the description carries the full behavioral burden. It usefully discloses that two checks occur (format validation and live existence against registries), which implies network access and possible latency, but says nothing about read-only safety, error behavior when a citation is invalid or the registry is unreachable, or rate limits.

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?

One compact sentence that front-loads the resource and scope, with no filler. It is slightly dense and the example fragment ('...or TAR') duplicates the schema rather than earning extra space.

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, read-only verification tool with an output schema, the description covers what is checked and against which registries, which is what an agent needs to select it. It stops short of explaining outcomes when verification fails, but the output schema can reasonably carry return-value details.

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 single parameter has 100% schema description coverage, so the schema already explains the expected input and even supplies the same example. The description's mention of accepted citation types ('ECLI', 'TAR') merely repeats the schema rather than adding new meaning.

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 names a specific verb and resource ('Validates format and live existence of legal citations') and scopes it geographically and by target ('official Lithuania and ECLI/ELI registries'). It is clearly distinct from the sibling search/list tools, which retrieve documents rather than check a citation's validity.

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 goal ('prevent AI-hallucinated citations') implies the when-to-use case, but there is no explicit guidance on when to call this versus search_case_law or search_legislation, nor any exclusions or prerequisites. Usage must be inferred from the purpose statement alone.

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