Skip to main content
Glama

rehub_verify

Verify task results in three layers—execution success, fact support from evidence, and delivery completeness—to confirm conclusions are evidence-backed, not just executed. Accepts a task ID or inline claims.

Instructions

三层验证:execution(步骤是否成功且输出可解析)/ fact(结论是否有 observation 证据支持;supported/contradicted/insufficient/inferred/unknown)/ delivery(交付物是否满足 desiredOutput)。传 taskId 使用任务状态与已记录 claims;也可传 inline claims + evidenceRefs 做无状态校验。执行成功 ≠ 事实成立。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rehub_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
claimsNo无状态校验时直接给 claims
taskIdNo任务 id
persistNo是否把验证结果写回任务(默认 true)
evidenceRefsNo按 evidence id 限定证据集
desiredOutputNo交付物要求

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the fact-status taxonomy (supported/contradicted/insufficient/inferred/unknown) and that taskId mode reads existing task state, which is real behavioral context; however it never states whether results are written back to the task (that only appears in the schema's persist default), nor what the response shape is.

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?

Front-loaded with the three-layer breakdown, then the two invocation modes, then a one-line caveat — a logical order with no filler. The enumerated status list is dense but each term is load-bearing for interpreting results.

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?

For a five-parameter, zero-required validation tool with no annotations and no output schema, the description covers what is verified, the possible verdicts, and how to invoke it in both stateful and stateless forms. The only remaining gap — exact return structure — is partially inferable from the enumerated fact statuses.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the per-parameter descriptions do not: it explains that taskId and inline claims are mutually alternative modes rather than additive inputs, and that evidenceRefs scopes the evidence set in either mode. It stops short of clarifying how persist interacts with the stateless mode.

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 names a specific verb (verify) and decomposes it into three named layers — execution, fact, and delivery — each with its own criterion (parsability, evidence support, satisfaction of desiredOutput). The closing line '执行成功 ≠ 事实成立' explicitly separates this verification role from plain execution, which is what the sibling rehub_exec would cover.

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?

It gives an explicit routing rule between the two invocation modes: pass taskId to verify against task state and recorded claims, or pass inline claims + evidenceRefs for stateless verification. That is clear when-to-use guidance for the internal modes, but it says nothing about when to prefer this over adjacent tools such as rehub_evidence or rehub_classify.

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