Skip to main content
Glama

job

Destructive

Inspect durable process receipts, read spooled output, cancel owned work, or send gated stdin to an interactive process; reuse original IDs after unknown results.

Instructions

Inspect a durable job receipt, read immutable spooled output, cancel owned work, or send gated stdin input to an interactive process. Status/read are observational; cancel can terminate an owned process tree, and input can trigger arbitrary actions in that program. Canceling a watch only ends observation. Use the original job_id or operation_id after an unknown result.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that cancel can terminate an owned process tree, input can trigger arbitrary actions in that program, and canceling a watch only ends observation. These details substantially clarify the destructive and open-world risks signaled by the annotations.

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 four tight sentences that front-load the four core actions and then add the most important behavioral distinctions. Every sentence contributes useful information without repetition or 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?

For a complex multi-action tool with no output schema, the description covers the key action semantics, risks, and recovery guidance well. It does not explain what status or read actually return, and it gives limited operational detail for parameters like wait_ms or cursor, leaving a modest completeness gap.

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 the parameters are already well documented. The description adds some meaning for job_id and operation_id by explaining their recovery use after an unknown result, but it leaves wait_ms, cursor, stream, context_id, process_generation, backend_instance, text, and close_stdin to the schema.

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 states specific verbs and resources for each action: inspect a durable job receipt, read spooled output, cancel owned work, and send gated stdin input. It clearly distinguishes status/read as observational and cancel/input as potentially destructive. It does not, however, differentiate this tool from sibling alternatives such as codex_* or antigravity_* tools.

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 useful context about when each action is observational or destructive, and it advises using the original job_id or operation_id after an unknown result. But it does not explicitly say when to use this tool versus sibling tools, nor does it give clear when-not-to-use guidance beyond the cancel/input warnings.

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