Skip to main content
Glama

verify_reasoning

Verify a multi-step reasoning chain and return a certificate summary including verdict, confidence score, and pinpointed failures. Use to structurally check reasoning before finalizing an answer.

Instructions

Verify a multi-step reasoning chain and return a Prova certificate summary.

Use this on any draft chain-of-thought before producing a final answer. A VALID verdict means the argument is structurally sound (no circularity, no contradiction, no unsupported leap). An INVALID verdict tells you exactly which step is broken in the failure field — repair that step and re-verify.

Args: reasoning: The reasoning chain as plain text (numbered steps or prose). retain: If True, the original reasoning text is persisted on the certificate row. Default follows PROVA_DEFAULT_RETAIN env var (False if unset). source_url: Optional URL of a paper or document this reasoning came from — surfaced on the certificate page. domain: Optional hint: medical | legal | financial | code | general. Improves failure-classification accuracy. metadata: Optional caller-defined key/value pairs (<=20 keys, <=8 KB) attached to the certificate.

Returns: Compact certificate summary including verdict, confidence_score, certificate_id, certificate_url, and (if INVALID) a failure block pinpointing the broken step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasoningYes
retainNo
source_urlNo
domainNo
metadataNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the return value (verdict, confidence_score, certificate_id, etc.) and explains the meaning of VALID/INVALID verdicts. It does not mention any side effects or state changes, but the tool appears read-only.

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?

The description is well-structured: purpose sentence, usage context, parameter list, and return summary. It is concise yet comprehensive, with no extraneous 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?

Given the 5 parameters, 1 required, and no annotations, the description adequately covers the tool's behavior and return values. It could mention prerequisites or error handling, but the output schema exists to supplement this.

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 provides detailed explanations for each parameter: reasoning (plain text), retain (default from env var), source_url (optional), domain (hints for classification), and metadata (constraints on keys and size). This adds significant value 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?

The description clearly states the tool verifies a multi-step reasoning chain and returns a Prova certificate summary. It specifies the intended use case ('before producing a final answer') and the tool's distinct role compared to sibling tools that focus on formal proof verification.

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?

The description provides explicit guidance on when to use the tool ('on any draft chain-of-thought before producing a final answer') and what to do in case of an INVALID verdict (repair and re-verify). However, it does not explicitly mention alternatives or when not to use this tool.

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/insinuateai/prova-mcp'

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