Skip to main content
Glama

Verify Citation

verify_citation

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

Instructions

No-Hallucination Citation Verifier for Norway (NO). Validates format and live existence of legal citations (e.g., 'HR-2024-123-A or LOV-2005-06-17-62') against official Norway 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., 'HR-2024-123-A or LOV-2005-06-17-62').

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose meaningful behavior in that the check is a live lookup against external registries, implying network dependency and possible registry latency or downtime. It does not say how an invalid or unresolvable citation is surfaced (error versus a negative verdict), which is the key behavioral gap for a verifier.

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 tight, front-loaded sentence with zero filler and the Norway scope stated up front. The citation examples are duplicated from the schema, which is the only redundancy.

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 verification tool with an output schema covering the return structure, the definition gives enough to call it correctly: what is verified, against which registries, and for which jurisdiction. The only shortfall is the absence of guidance on how failures are reported and when to prefer the search siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and there is a single required parameter, so the schema already defines it fully. The description's citation examples ('HR-2024-123-A', 'LOV-2005-06-17-62') merely restate what the schema shows, adding no new meaning, so this sits at the baseline rather than above it.

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 pairs a specific verb ('validates format and live existence') with a specific resource (Norwegian legal citations) and names the registries checked (official Norway and ECLI/ELI). This clearly separates it from the sibling search_* tools, which retrieve rather than verify.

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?

Usage is only implied by the stated goal of preventing hallucinated citations, so an agent can infer it should be called before quoting a citation. There is no explicit when-to-use/when-not-to-use guidance and no mention of the sibling search tools as alternatives for lookup versus verification.

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