Skip to main content
Glama

Verify Citation

verify_citation

Validates Polish legal citations against official Polish and ECLI/ELI registries to confirm their format and live existence, preventing AI-hallucinated case or statute references.

Instructions

No-Hallucination Citation Verifier for Poland (PL). Validates format and live existence of legal citations (e.g., 'I CSK 123/23 or Dz.U. 2024 poz. 100') against official Poland 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., 'I CSK 123/23 or Dz.U. 2024 poz. 100').

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?

No annotations are supplied, so the description must carry the full load. It does disclose the important behavioral fact that the check is against live registries and confirms both format and existence, which implies an external lookup that can fail. It does not state outcome semantics, failure modes, latency, or authentication requirements, although the output schema may cover the returned results.

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?

The definition is a single compact sentence: it front-loads the scope (Poland, PL) and then states the two validation axes. The leading label 'No-Hallucination Citation Verifier' is slightly redundant with the tool name, but no information is wasted.

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?

The tool is simple: one fully documented parameter and an output schema that carries return values. Because the description establishes the jurisdiction, the registries consulted, and the dual format-and-existence check, an agent has what it needs in order to call the tool 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?

The tool has one required parameter, and the schema documents that parameter fully at 100% coverage. The description repeats the same example citations that appear in the schema rather than adding new meaning, so the schema does the substantive work and the baseline score of 3 applies.

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 names a specific verb and resource: it validates both format and live existence of Polish legal citations against official Poland and ECLI/ELI registries. That makes its function clearly distinct from the search_* siblings. It stops short of explicitly naming those siblings as alternatives, so it does not reach the top of the scale.

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 description implies that the tool is used to prevent AI-hallucinated citations, which hints that it should be called after citations are produced or retrieved. However, it gives no explicit when-to-use or when-not-to-use rule and names no alternative tool for case-law or legislation lookup.

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