Skip to main content
Glama

Verify Citation

verify_citation

Validates the format and live existence of U.S. legal citations against official registries to prevent AI-hallucinated references.

Instructions

No-Hallucination Citation Verifier for United States (US). Validates format and live existence of legal citations (e.g., '42 U.S.C. § 1983, 17 U.S.C. § 107, 410 U.S. 113, or 21 C.F.R. § 314.50') against official United States 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., '42 U.S.C. § 1983, 17 U.S.C. § 107, 410 U.S. 113, or 21 C.F.R. § 314.50').

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 supplied, the description carries the full burden, and it does disclose meaningful behavior: a live lookup against external official registries (network-dependent, potentially slow or unavailable) rather than an offline format check. It does not state what happens on a failed lookup (error vs. negative result), whether results are cached, or any rate/availability limits. It also mentions ECLI/ELI registries despite declaring a United States-only scope, a mild internal inconsistency.

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 action and scope. The four example citations duplicate the input schema verbatim, which is wasted space, but the rest earns its place.

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 tool with an output schema, the description gives enough to call it correctly: what it checks, against what, and for which jurisdiction. The main remaining gap is failure semantics, which the description leaves unaddressed and which the output schema may or may not clarify.

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 a single required parameter with 100% schema description coverage, so the baseline is 3. The description repeats the schema's example citations verbatim and adds no new meaning about accepted formats or normalization (e.g., whether '§' is required, whether variations are tolerated).

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 and resource: it validates both the format and the live existence of legal citations against official registries. The purpose ('prevent AI-hallucinated citations') and scope ('United States (US)') are explicit, and it reads clearly as a verifier rather than a searcher like search_case_law. Sibling differentiation is implied by function, not stated by name.

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: an agent can infer it should call this to check a citation before trusting or emitting it. There is no explicit when-to-use/when-not guidance, no mention of prerequisites (e.g., citation must be well-formed first), and no routing advice relative to search_case_law or search_legislation. The stated US scope is the only real constraint.

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