Skip to main content
Glama

Verify Citation

verify_citation

Validates Czech legal citations against official registries, checking format and live existence to prevent AI-hallucinated references.

Instructions

No-Hallucination Citation Verifier for Czechia (CZ). Validates format and live existence of legal citations (e.g., 'ECLI:CZ:NS:2024:21.CDO.123.2023.1 or 89/2012 Sb.') against official Czechia 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:CZ:NS:2024:21.CDO.123.2023.1 or 89/2012 Sb.').

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description must carry the behavioral burden, and it does disclose the two non-obvious traits: it checks both format and live existence, and it queries official Czechia and ECLI/ELI registries (i.e., a network-backed lookup, not a static validation). It stops short of stating behavior for unresolvable citations, registry outages, or latency/auth requirements.

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 dense sentence that front-loads the verifier role and then the mechanics; nothing is padding. It opens with a label-like phrase ('No-Hallucination Citation Verifier') that slightly duplicates the title, and the example citation string is repeated verbatim from the schema.

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 verification tool with an output schema (so return values need no explanation) and full schema coverage, the description supplies the essential context: jurisdiction, input formats, and the registries checked. Missing only failure-mode and authority/coverage-scope 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?

One required parameter with 100% schema description coverage, so the schema already establishes the input. The description's example citation adds a little concreteness but largely restates what the schema's own example provides, so the baseline of 3 applies.

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?

States a specific verb pair (validates format and live existence) against a specific resource (legal citations) in a named jurisdiction (Czechia), with two concrete example formats. It is clearly distinguishable from the sibling search_* tools, which retrieve documents rather than verify a given citation.

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 motivation ('to prevent AI-hallucinated citations') implies the use case: check a citation before relying on it. However, it never says when not to use it, what to do when verification fails, or how it relates to search_case_law / search_legislation for finding the underlying document.

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