Skip to main content
Glama

Verify Citation

verify_citation

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

Instructions

No-Hallucination Citation Verifier for Finland (FI). Validates format and live existence of legal citations (e.g., 'KKO:2024:15 or 731/1999') against official Finland 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., 'KKO:2024:15 or 731/1999').

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?

With no annotations, the description carries the full burden, and it does disclose two important behaviors: it checks both format and live existence against external registries, and it is limited to Finland. It does not say what happens on a failed or unverifiable citation, whether results are cached, or anything about rate limits or external-call cost.

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 front-loaded sentence that leads with the core verb and purpose, with no filler. It is slightly run-on, packing jurisdiction, mechanism, examples, and rationale into one breath, but nothing 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?

An output schema exists, so return values need not be explained, and the description covers scope, mechanism, and identification of the tool's purpose. The main residual gap is failure semantics — what an unverifiable or malformed citation produces — for a one-parameter validation tool.

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?

Only one parameter, and schema coverage is already 100%, so the schema baseline governs. The description adds partial meaning by naming the accepted identifier families (case citation, ECLI/ELI, statute number) and giving concrete examples, but the schema already states 'Case citation, ECLI, or statute reference'.

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?

Uses a specific verb-and-resource pair ('Validates format and live existence of legal citations') and scopes it to Finland and to official/ECLI/ELI registries. It is clearly distinguishable in kind from the sibling search tools, though it never names them as alternatives.

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 use case (checking a citation before relying on it), but there is no explicit when-to-use statement, no prerequisites, and no named alternative or exclusion.

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