Skip to main content
Glama

veritas_evidence_gate

Compute evidence sufficiency for critical variables using independence, agreement, and quality scores. Verifies evidence meets K_min, A_min, Q_min thresholds and returns verdict with reason code.

Instructions

Gate 4/10: Evaluates evidence sufficiency for critical variables by computing independence (MIS_GREEDY), agreement, and quality scores. Use this to verify that evidence meets K_min, A_min, Q_min thresholds; use veritas_compute_quality or veritas_mis_greedy for individual calculations. Returns JSON with verdict (PASS | INCONCLUSIVE) and reason_code: EVIDENCE_OK, INSUFFICIENT_INDEPENDENCE, LOW_AGREEMENT, or LOW_QUALITY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
claimYesA VERITAS BuildClaim object for deterministic gate evaluation. All fields are optional for partial evaluation — only fields relevant to the invoked gate are required.
regimeNoThreshold strictness: 'dev' (K=2, A=0.80, Q=0.70), 'staging' (same as dev), 'production' (K=3, A=0.90, Q=0.80).dev
Behavior4/5

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

Describes computation of independence, agreement, quality scores, and output format (verdict, reason_code). No annotations provided, so description carries full burden; lacks detail on side effects or prerequisites but is sufficient for a stateless evaluation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with purpose, no wasted words.

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?

Covers purpose, usage, and output; with no output schema, it lists verdict and reason codes. Could mention the claim structure more but schema fills that gap.

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?

Adds context by explaining that the tool checks thresholds and provides output meanings; schema already has 100% coverage with detailed parameter descriptions, so the description complements rather than replaces.

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 specific verb ('evaluates evidence sufficiency'), resource ('critical variables'), and distinguishes from sibling tools by naming alternatives for individual calculations.

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?

Explicitly tells when to use this tool ('to verify thresholds') and when to use alternatives ('veritas_compute_quality or veritas_mis_greedy'), providing clear context.

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/VrtxOmega/omega-brain-mcp'

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