Skip to main content
Glama

rehub_evidence

Log observations with SHA-256 hashes and separate claims by confidence (observed/inferred/unknown) with evidence links; list and generate Markdown reports mapping evidence and verification coverage.

Instructions

证据账本 + 结论(Claim)分离:append 记录观察(带 taskId/stepId/artifactRef,自动算 sha256);claim 记录结论(observed/inferred/unknown + evidenceRefs);list 查看;report 生成统一 Markdown(含 observed/inferred/unknown、证据映射、验证覆盖)。

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": "rehub_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
claimNoclaim 记录:text/kind/evidenceRefs/scope/limitation
limitNolist 条数
titleNoreport 标题
actionYes动作
recordNoappend 记录:taskId/stepId/sourceTool/sourceTarget/kind/observation/detail/artifactRef/artifactType/unknowns
stepIdNo步骤 id
targetNolist 过滤
taskIdNo任务 id(用于关联/过滤)
scenarioNolist/report 过滤
desiredOutputNoreport 交付物要求
includeClaimsNolist 时一并返回 claims

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.6/5.0
Behavior3/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 genuine behavior beyond the schema: append auto-computes sha256, claims carry a kind taxonomy (observed/inferred/unknown), and report aggregates evidence mapping and verification coverage. It does not say whether records persist across calls, whether appends are idempotent or deduplicated, or what happens on a claim referencing a missing evidenceRef.

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?

It is a single front-loaded sentence that opens with the core concept (evidence ledger versus claims) before enumerating the four actions. The semicolon-separated structure is dense but scannable, and the parenthetical report contents are the only slightly verbose part. No filler sentences.

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?

For an 11-parameter tool with nested objects and no output schema, the description covers all four actions, the evidence/claim separation, and even the report's contents, which substitutes for output documentation. Remaining gaps are statefulness and error behavior, which are secondary for an agent deciding how to invoke it.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all 11 parameters including the nested record and claim objects; the baseline is 3. The description adds marginal meaning by naming key record fields (taskId/stepId/artifactRef) and the claim kind values, but does not explain the semantics of fields like scope, limitation, scenario filtering, or desiredOutput beyond their schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (an evidence ledger with separate claims) and the four specific actions: append records observations, claim records conclusions, list views, report generates Markdown. It clearly distinguishes the observation ledger from claims, which is a meaningful conceptual split. It does not explicitly differentiate itself from siblings such as rehub_verify, but the verb and resource are both concrete.

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?

Each action is given a clear role — append for observations with taskId/stepId/artifactRef, claim for conclusions of kind observed/inferred/unknown with evidenceRefs, list for viewing, report for producing the unified Markdown. That mapping tells an agent which action to choose for which intent. It offers no explicit when-not guidance or prerequisites such as whether claim requires prior evidence.

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