Skip to main content
Glama

verify_task

verify_task
Read-only

Run acceptance verification on a completed task or project without changing source code. Executes command checks and code analysis against a git baseline, with optional extra checks.

Instructions

对已完成任务或项目路径执行一次验收(不改源码):自动命令检查 + 代码分析(相对 git 基线)。可用 extraChecks 临时加验。需任务/项目二选一。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskIdNo
checksModeNo
baselineRefNo
extraChecksNo
projectPathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
modeNo
modelNo
roundNo
checksNo
resultNo
statusNo
taskIdNo
agentIdNo
logFileNo
messageNo
diffstatNo
errorTypeNo
finishedAtNo
abortSourceNo
projectPathNo
reportFilesNo
reportRoundNo
cancelReasonNo
changedFilesNo
keptInstanceNo
lastRunSignalNo
modelProviderNo
needsUserKindNo
agentEndReasonNo
permissionModeNo
zcodeSessionIdNo
pendingQuestionNo
progressSummaryNo
boundProjectPathNo
cancelRequestedAtNo
verificationSourceNo
latestVerificationVerdictNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "abortSource": {
      +      "type": "string"
      +    },
      +    "agentEndReason": {
      +      "type": "string"
      +    },
      +    "agentId": {
      +      "type": "string"
      +    },
      +    "boundProjectPath": {
      +      "type": "string"
      +    },
      +    "cancelReason": {
      +      "type": "string"
      +    },
      +    "cancelRequestedAt": {
      +      "type": "string"
      +    },
      +    "changedFiles": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "checks": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "durationMs": {
      +            "type": "number"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "passed": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "passed",
      +          "durationMs"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "diffstat": {
      +      "type": "string"
      +    },
      +    "errorType": {
      +      "type": "string"
      +    },
      +    "finishedAt": {
      +      "type": "string"
      +    },
      +    "keptInstance": {
      +      "type": "boolean"
      +    },
      +    "lastRunSignal": {
      +      "type": "string"
      +    },
      +    "latestVerificationVerdict": {
      +      "type": "string"
      +    },
      +    "logFile": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "mode": {
      +      "type": "string"
      +    },
      +    "model": {
      +      "type": "string"
      +    },
      +    "modelProvider": {
      +      "type": "string"
      +    },
      +    "needsUserKind": {
      +      "type": "string"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "pendingQuestion": {
      +      "type": "string"
      +    },
      +    "permissionMode": {
      +      "type": "string"
      +    },
      +    "progressSummary": {
      +      "type": "string"
      +    },
      +    "projectPath": {
      +      "type": "string"
      +    },
      +    "reportFiles": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "json": {
      +          "type": "string"
      +        },
      +        "md": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "reportRound": {
      +      "type": "number"
      +    },
      +    "result": {},
      +    "round": {
      +      "type": "number"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "taskId": {
      +      "type": "string"
      +    },
      +    "verificationSource": {
      +      "type": "string"
      +    },
      +    "zcodeSessionId": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observedv0.5.4

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds useful behavior beyond that: it explicitly says source code is not modified, checks are run against a git baseline, and extraChecks are temporary. No contradiction with annotations is present.

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 compact and front-loaded: purpose first, non-mutation note second, method and custom-check capability after. Every clause adds information, and there is no filler.

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?

Together with the output schema and readOnly/destructive annotations, the description is mostly sufficient for an agent to invoke the tool correctly: it knows the target, the non-mutating scope, the git-baseline context, and the task/project selection rule. The missing checksMode explanation and lack of explicit sibling routing keep it from being fully complete.

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 description coverage is 0%, so the description carries the burden. It usefully explains that taskId/projectPath are a one-of requirement, that extraChecks are temporary additions, and that analysis is relative to a git baseline. The main gap is checksMode, whose append/replace semantics are left unexplained.

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 states a specific action ('executes acceptance/verification'), a specific target ('completed task or project path'), and a concrete method ('automatic command checks + code analysis relative to git baseline'). This clearly distinguishes verify_task from siblings like run_task, continue_task, or query_task, even without naming them.

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 gives a clear use context: verify completed tasks or project paths, and requires exactly one of task/project. It does not explicitly name alternative tools or state when not to use it, but the '已完成' constraint and the verification framing are enough for an agent to select it appropriately.

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