Skip to main content
Glama

eicv_verify_claim

Verify a claim against evidence using a local, LLM-free pipeline that outputs epistemic support density, hallucination score, and decision (supported/abstain/hallucinated).

Instructions

Verify a single claim against evidence using the EICV pipeline.

Returns a structured EICVCertificate with:

  • phi: epistemic support density [0=fully hallucinated, 1=fully grounded]

  • hallucination_score: 1 - phi

  • decision: "supported" | "abstain" | "hallucinated"

  • layer_scores: per-layer breakdown (T(G), NLI, RNR, gamma, H_sem)

  • n_claim_atoms / n_ev_atoms: structural decomposition counts

  • unsupported_fraction: fraction of claim atoms with no support

  • contradiction_fraction: fraction with active contradiction

  • elapsed_ms: per-call latency

Computed locally with no neural model and no LLM calls. Accuracy on public benchmarks (FEVER, SQuAD v2, HaluEval-QA) is documented in benchmarks/results/. False-positive and false-negative rates are non-zero — review those JSONs before relying on the output for compliance-sensitive decisions.

Args: evidence: The grounding context (retrieved passages, source material) claim: The single claim to verify against evidence profile: "rag" | "qa" | "summarization" | "dialogue" | "fact_check" | "default". Selects the abstain decision band.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
claimYes
profileNorag
evidenceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description fully discloses that the tool runs locally without neural models or LLM calls, and explicitly warns about non-zero false positive/negative rates, which is critical for trust.

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?

The description is well-structured, front-loading the purpose and output, then method and limitations, then args. It is slightly verbose but every sentence adds value.

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

Completeness5/5

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

Given an output schema exists, the description still lists output fields. It covers input, output, method, limitations, and usage contexts, making it complete for this tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, but the description's Args section provides clear meaning: evidence is grounding context, claim is the single claim, profile selects the abstain band. This compensates fully.

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?

The description clearly states it verifies a single claim against evidence using the EICV pipeline, and details the structured output. It distinguishes from siblings like verify_beliefs by specifying the pipeline and output format.

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 description implies usage for factual claim verification with evidence and lists profile options for different contexts. However, it does not explicitly state when to use this tool over alternatives or when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/juyterman1000/entroly'

If you have feedback or need assistance with the MCP directory API, please join our Discord server