Skip to main content
Glama

Verdika — decision verification

verify_decision

Verify a critical action BEFORE executing it. Returns a deterministic verdict (approve / review / block), the confidence with its evidence-based cap, the margin over the best alternative, key risks and an auditable record id. Call it before irreversible or high-impact actions (pricing, layoffs, spend, contracts).

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": {
      "action": "<action>"
    },
    "name": "verify_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNo
filesNoCSV/XLSX/JSON files to turn into evidence.
actionYesThe action the agent intends to execute.
policyNo
contextNo
evidenceNo
languageNo
alternativesNoOther options considered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations present, the description carries the burden and does well: it discloses determinism, the three verdict values, that confidence is capped by evidence, the margin concept, key risks, and that an auditable record id is produced (implying persisted state). It omits cost/latency, auth or data-handling expectations, and what happens on insufficient evidence.

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 the obligation to verify before acting, then the return contract, then the triggering scenarios. No filler or repetition.

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?

Return values are described well enough that a missing output schema is not fatal, but 8 parameters with nested objects and 38% coverage leave the agent guessing how to construct evidence and policy inputs. For a tool whose correctness depends on input quality, this is a meaningful gap.

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

Parameters2/5

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

Schema coverage is only 38% across 8 parameters, so the description is expected to compensate, and it largely does not. It never explains 'evidence', 'alternatives', 'context', 'agent', 'language', or the policy thresholds (min_margin, min_confidence, min_evidence_quality, max_evidence_age_hours), leaving most of the input contract undocumented.

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?

Specific verb (verify) plus resource (a critical action) and a concrete enumeration of what the verdict contains. An agent can immediately distinguish this pre-execution gate from get_audit_record or record_resolution, which are post-hoc/reporting siblings.

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

Usage Guidelines4/5

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

Gives an explicit trigger condition ('Call it before irreversible or high-impact actions') reinforced with example domains: pricing, layoffs, spend, contracts. It lacks an explicit negative case (when verification is unnecessary or which sibling to use for post-hoc inspection), so it stops short of a 5.

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.

Resources