Skip to main content
Glama

kvasir — Open Legal Grounding

verify_citations

Read-onlyIdempotent

Check up to 200 citation strings against the corpus in one call. Helps when the user wants a list of citations checked for existence, pinpoint and currency. Only the citation strings are sent, not the surrounding text.

quellen: optional jurisdiction filter (comma-separated: bund, by, nrw, sn,
      bb, hb, at, ch, eu). SET IT when the jurisdiction is known — "BV" is
      both the Swiss and the Bavarian constitution, "StGB" is German and
      Austrian. Without it the jurisdiction priority decides and the entry
      carries an `ambiguous` block instead of a choice.

Returns per citation: status (verified | unresolved | unparsed), canonical URI,
source and pinpoint unit, plus did-you-mean suggestions — and a summary with
verified/unverified counts. Treat anything not `verified` as unsafe to cite,
but report `unresolved` as "not verifiable against this corpus" (often a typo —
retry the suggestions — or a coverage gap such as AT/CH case law), never as
proof the citation is invented.

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": {
      "citations": "<citations>"
    },
    "name": "verify_citations"
  }
}

Input Schema

NameRequiredDescriptionDefault
quellenNo
citationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered; beyond that the description adds genuinely useful behavior: only citation strings leave the client (no surrounding text), a 200-item cap per call, and jurisdiction-fallback semantics that produce `ambiguous` blocks. It does not cover ordering of results relative to input, whether partial batches are charged against any limit, or what happens if more than 200 strings are supplied.

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?

It is front-loaded: the first sentence states purpose and scale, the second the triggering scenario, then the filter caveat, then interpretation rules. Every block earns its place, though the embedded jurisdiction list and the ragged line-wrapped indentation make it denser than it needs to be.

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?

With no output schema present, the description steps in and documents the per-citation return fields (status, canonical URI, source, pinpoint unit, suggestions) and the summary counts, plus how to phrase non-verified results to the user. The remaining deficiency is input-side: the citation string format is left unspecified, and `unparsed` is listed without explanation.

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 0%, so the description carries the load — and it does for `quellen`, spelling out that it is an optional comma-separated jurisdiction filter and enumerating the accepted codes (bund, by, nrw, sn, bb, hb, at, ch, eu) that the schema itself does not declare as an enum. For `citations` it conveys the count limit and that the strings are sent without surrounding text, but never specifies the expected citation syntax (e.g. "§ 823 BGB" vs. a URI), which is the one meaningful gap.

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?

"Check up to 200 citation strings against the corpus in one call" names a specific verb (check), resource (citations), and scale (bulk, 200), and "when the user wants a list of citations checked" implicitly separates it from the single-citation sibling resolve_citation. An agent can tell what it does and roughly how it differs from the other lookup tools without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit trigger (the user wants a list of citations checked for existence, pinpoint and currency) and then a strong conditional rule for the optional filter: SET the jurisdiction when known, because "BV" and "StGB" collide across jurisdictions, with the stated consequence of omitting it (priority resolution plus an `ambiguous` block). It also tells the agent how to report each status downstream, which is usage guidance, not just output trivia.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.