Skip to main content
Glama
zcode-worker-mcp
by Hope-08

Inspect Live Progress of Any ZCode Task or Session

zcode_inspect_session
Read-only

Check live progress of a coding task or session by task_id or session_id: state, PID, todos, recent tool calls, messages, pending interactions, and final result.

Instructions

Get real-time progress by task_id or session_id: effective state, live PID check, todos, recent tool calls, assistant messages, pending interactions, and final result/report.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "zcode_inspect_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idNoManaged task_id (optional if session_id is provided).
session_idNoZCode session ID such as 'sess_...' (works for Desktop, CLI, and managed tasks).
tool_limitNoMax recent tool calls to include (1..50).
message_limitNoMax recent assistant messages to include (1..30).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds genuine value by disclosing the payload contents and that a live PID check is performed to determine effective state. Since no output schema exists, this enumeration of returned fields is the only signal of what the caller receives. The remaining gap is that it never says whether the call is a one-shot snapshot or blocks/streams, which matters for choosing it over a watch-style sibling.

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?

A single front-loaded sentence with the verb and lookup keys first, followed by the returned data, and no filler or repetition. The trailing enumeration is long but each item is substantive given the absence of an output schema; a bulleted or grouped form would scan marginally better but nothing is wasted.

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?

With four fully documented parameters, no output schema, and read-only annotations, the description covers nearly everything needed: input keys, returned artifacts, and a liveness check. The only substantive omission is the relationship to sibling inspection/watching tools and whether the call is non-blocking, which an agent would want before choosing 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 task_id, session_id, tool_limit, and message_limit are already documented with types, bounds, and defaults. The description restates the task_id/session_id alternative but adds nothing about how tool_limit or message_limit shape the response beyond their schema text. Baseline 3 is appropriate when the schema carries the parameter burden.

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 opens with a specific verb and resource ("Get real-time progress") and enumerates exactly what is retrieved: effective state, live PID check, todos, recent tool calls, assistant messages, pending interactions, and final result/report. It also states the two lookup keys (task_id or session_id), which separates it from a list-all tool. It stops short of naming zcode_watch_session, so the agent must infer the snapshot-vs-watch distinction.

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?

"by task_id or session_id" implies the two valid entry points and the schema notes each is optional if the other is given, so usage is reasonably implied. However, there is no explicit when-to-use guidance against siblings like zcode_watch_session (likely for waiting on progress) or zcode_list_sessions (for discovery), and no exclusions or prerequisites are stated.

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