Skip to main content
Glama

Verify Citation

verify_citation

Validates Serbian legal citations against official registries to confirm correct format and live existence, preventing AI-hallucinated case and statute references.

Instructions

No-Hallucination Citation Verifier for Serbia (RS). Validates format and live existence of legal citations (e.g., 'Rev 1234/2023 or Službeni glasnik RS br. 12/2024') against official Serbia 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., 'Rev 1234/2023 or Službeni glasnik RS br. 12/2024').

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description still discloses the key behavior: checks are performed against external live registries (Serbia official plus ECLI/ELI), which signals network dependence and a two-part check (format then existence). It does not say what happens on a failed lookup, whether partial matches are reported, or anything about rate limits or authentication.

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?

Two compact sentences with the core action front-loaded, followed by the registries and the rationale. The 'No-Hallucination' label is mild marketing framing but does not obscure the meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Single-parameter tool with full schema coverage and an output schema, so return-value structure need not be described. Combined with the disclosed registry targets and validity scope, an agent has everything needed to decide and call correctly.

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?

There is only one parameter and the schema already documents it at 100% coverage, so the schema carries the load. The description reinforces the accepted input space (case citations, ECLI, statute references such as 'Rev 1234/2023' or 'Službeni glasnik RS br. 12/2024') but adds no syntax or format rules beyond the schema examples.

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?

States a specific verb (validate/verify) and resource (legal citation) with the exact scope: format plus live existence against official Serbian and ECLI/ELI registries. It implicitly separates itself from the search_* siblings by being a verifier rather than a retrieval tool, but it never names them, so sibling differentiation is left to inference.

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 phrase 'to prevent AI-hallucinated citations' implies the usage context (checking a citation before relying on it), but there is no explicit when-to-use rule, no when-not-to-use case, and no mention of the search_case_law / search_legislation alternatives when a citation turns out to be invalid.

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