Skip to main content
Glama

Verify Citation

verify_citation

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

Instructions

No-Hallucination Citation Verifier for Bosnia and Herzegovina (BA). Validates format and live existence of legal citations (e.g., 'AP-123/23, 65 0 P 123456 23 Pž or Službeni glasnik BiH br. 10/24') against official Bosnia and Herzegovina 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., 'AP-123/23, 65 0 P 123456 23 Pž or Službeni glasnik BiH br. 10/24').

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 behavioral burden. It usefully discloses that verification is two-part (format validation plus live existence check against official BiH and ECLI/ELI registries), which tells the agent this is a networked, potentially slow or failure-prone call. It says nothing about error behavior, registry unavailability, or whether results are cached.

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 function and the jurisdiction. There is mild redundancy between 'No-Hallucination Citation Verifier' and the closing 'prevent AI-hallucinated citations' clause, but nothing is padded.

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 a fully described schema and an output schema, this covers what the tool does, the jurisdiction, and the data sources. The remaining gap is what the agent should expect on a negative or failed lookup, which the output schema may partly cover.

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 exists and the schema already documents it at 100% coverage with an example, so the schema baseline of 3 applies. The description's citation examples ('AP-123/23', 'Službeni glasnik BiH br. 10/24') largely restate the schema's own example and add no new constraint on accepted syntax or format strictness.

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?

Names a specific verb (validates) and resource (legal citations for Bosnia and Herzegovina) with concrete citation formats, and the 'no-hallucination verifier' framing implicitly separates it from the search_* siblings. It stops short of explicitly naming an alternative, but an agent can tell this is a verification tool rather than a retrieval tool.

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: the phrase 'to prevent AI-hallucinated citations' suggests calling it on citations produced by a model before relying on them. There is no explicit when-to-use/when-not statement, no mention of what to do if verification fails, and no named alternative among search_case_law or search_legislation.

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