Skip to main content
Glama

verify_claim_grounding

Read-onlyIdempotent

Deterministic zero-LLM hallucination gate: verify every direct quote, numeric figure/percentage/currency, URL, and lexical overlap in an LLM candidate answer against authoritative source text.

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": {
      "sourceText": "<sourceText>",
      "candidateText": "<candidateText>"
    },
    "name": "verify_claim_grounding"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceTextYesAuthoritative source document or passage.
strictQuotesNoExact quote substring match (true) or punctuation-relaxed (false).
candidateTextYesCandidate LLM-generated answer to verify.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds meaningful context beyond that — 'deterministic zero-LLM' tells the agent results are reproducible and not model-judged — but it never says what the tool returns (pass/fail per claim, list of ungrounded spans), which matters because there is no output schema.

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 front-loaded sentence that leads with the key framing ('Deterministic zero-LLM hallucination gate') then lists the checked claim classes. Dense with no filler, though the long comma-list makes it slightly harder to scan than a short two-sentence split.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Inputs are fully specified and the checking scope is clear, but with no output schema the description should have sketched the result shape (verdict, per-claim findings, overlap scores). For a verification tool whose value is in its verdict, that omission leaves the definition partially complete.

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?

Schema description coverage is 100%, so sourceText, candidateText and strictQuotes are already documented, including the quote-matching semantics of strictQuotes. The description's enumeration of claim types adds a little framing but no parameter-level meaning beyond the schema.

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?

States a specific verb ('verify') and enumerates exactly what is checked: direct quotes, numeric figures/percentages/currency, URLs, and lexical overlap, plus the direction (candidate answer against source text). This is unambiguous and clearly distinct from the audit/search/diff siblings in the catalog.

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?

Calling it a 'hallucination gate' implies it is applied to an LLM candidate answer before that answer is trusted, which gives some usage context. But there is no explicit when-to-use/when-not-to-use statement and no named alternative or threshold guidance (e.g., how much overlap counts as grounded).

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.