Skip to main content
Glama

Read ZCode task execution status

zcode_status

Read execution status for one delegated task to see if the Bridge/ZCode run and report finished. Completed means execution ended, not that the host accepted the work.

Instructions

Read the execution status record for one task. This is execution status only and never contains a PASS/FAIL code-review judgment. Results describe Bridge/ZCode execution only: status 'completed' means the invocation and report normalization finished, NOT that the calling host accepted the work. the calling host must independently review the workspace diff and checks before deciding PASS.

Input Schema

NameRequiredDescriptionDefault
task_idYes

Output Schema

NameRequiredDescriptionDefault
errorNo
statusYes
attemptYes
task_idYes
exit_codeYes
created_atYes
error_codeNo
started_atYes
updated_atYes
worker_pidYes
finished_atYes
zcode_session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it warns that 'completed' means invocation and report normalization finished, not host acceptance, and that the caller must independently review the diff and checks. It omits error/not-found behavior and whether status records expire or are overwritten, but the key interpretive trap is disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core warning is front-loaded, but the PASS/FAIL point is restated twice ('never contains a PASS/FAIL code-review judgment' and 'NOT that the calling host accepted the work'), and the sentence beginning 'the calling host must...' is lowercase and reads as a fragment. Some redundancy could be trimmed.

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?

An output schema exists, so return values need not be documented, and the description covers the one thing an agent could get wrong: misreading 'completed' as approval. The remaining gap is how to obtain a valid task_id and what happens on an unknown id.

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?

One parameter with 0% schema description coverage, so the description must compensate and does not — task_id's format, source, or lifetime are never mentioned. The name is fairly self-evident, which keeps this at a minimum-viable 3 rather than lower.

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?

States a specific verb and resource ('Read the execution status record for one task') and immediately scopes it away from a review verdict. It does not name which sibling to use instead (zcode_result, zcode_task), so the differentiation from the other zcode_* tools is left implicit.

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 establishes what the status does and does not mean, which implies the usage context (polling a task's execution state), but it never states when to call this versus zcode_result or zcode_task, nor any prerequisite such as having a task_id from a prior invocation.

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