Skip to main content
Glama

task_evidence

Record a check Istok cannot run itself (a CI pipeline, a manual test, a command that needs your own environment) as an attested validation of your run of the task: Istok stores your word for it.

Instructions

Record a check Istok cannot run itself (a CI pipeline, a manual test, a command that needs your own environment) as an attested validation of your run of the task: Istok stores your word for it. For a command Istok can run, use run_validate instead.

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": {
      "task_id": "<task_id>",
      "status": "<status>",
      "summary": "<summary>"
    },
    "name": "task_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYespassed or failed.
commandNoOptional command, pipeline or check name. Omit it for a manual check.
summaryYesWhat was checked and what it showed; must not be blank.
task_idYesCanonical UUIDv7 task identifier of a task you claimed.
exit_codeNoOptional exit code.
duration_msNoOptional duration in milliseconds.
output_tailNoOptional end of the output; the last 4 KiB are kept.

Output Schema

NameRequiredDescriptionDefault
errorNo
executionNo
validationNo
schema_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.0
    • addedOutput schema / properties / validation / properties / tree_commit
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / validation / properties / tree_digest
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / validation / properties / tree_state
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive write, so the bar is lower. The description adds non-obvious semantics beyond them: this is an unverified attestation ('Istok stores your word for it'), not an executed check. It does not clarify whether repeated calls create separate evidence records or what else the write touches, which matters given idempotentHint=false.

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?

Two sentences, no filler, with the qualifying criteria front-loaded and the sibling alternative placed last as a routing branch. The attestation clause is short but carries real meaning.

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 a write tool with an output schema and fully described parameters, the definition covers purpose, routing, and the trust model adequately. The remaining gap is repeat-call behavior and any side effects on task validation state, which the agent would otherwise have to discover.

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 coverage is 100%, so all seven parameters are already documented in the input schema. The description only hints at the optional `command` field by listing example check types; it adds no guidance on how status, exit_code, or summary relate to each other. Baseline 3 is appropriate when the schema carries the detail.

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 a specific verb+resource ('Record a check ... as an attested validation of your run of the task') with the concrete scope of what qualifies (CI pipeline, manual test, environment-specific command). It is immediately distinguishable from run_validate, which it names as executing commands itself.

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?

Gives explicit when-to-use criteria ('a check Istok cannot run itself') and a named alternative with the condition that selects it ('For a command Istok can run, use run_validate instead'). The agent needs no inference to route between the two.

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