Skip to main content
Glama

get_task_report

get_task_report
Read-only

Retrieve the full acceptance report (report.md) for a given task, optionally specifying the round; defaults to the latest round.

Instructions

取某轮验收报告全文(report.md)。round 缺省取最新一轮。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roundNo
taskIdYes

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

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the read-only profile is covered by structured data. The description adds useful context beyond that: the report is fetched from report.md and round defaults to the latest. It does not describe pagination, error behavior, or report length, but for a simple read tool this is adequate.

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?

A single, dense sentence that front-loads the core action (fetch full report) and then the parameter default. Zero wasted words, and the most important behavioral nuance (round default) is placed second, right after the verb.

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 simple read-only tool with an output schema and readOnlyHint annotations, the description covers the essentials: what is fetched, which file, and the round default. No missing critical information prevents correct invocation; taskId's role is inferable from context.

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 0%, so the description must carry parameter meaning. It does clarify that round is optional and defaults to the latest round, and that the result is the full text of report.md. However, taskId's semantics are only implied by the tool name and are not explicitly described, so compensation is partial.

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?

Description states a specific verb (取/get), a specific resource (验收报告全文/report.md), and the round-scoping behavior. This clearly distinguishes it from sibling tools like query_task or list_tasks, which are about task state rather than report file content.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a clear usage rule: round defaults to the latest round when omitted. However, it does not explicitly state when to use this tool instead of siblings such as query_task or verify_task, nor does it mention any exclusion conditions.

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