Skip to main content
Glama

Process Output

process_output
Read-onlyIdempotent

Read incremental output from a running background process, using a byte offset to fetch only new data and an optional wait for pending output.

Instructions

Read output from a background process (incrementally with since).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "process_id": "<process_id>"
    },
    "name": "process_output"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoByte offset to read from: pass the previous next_offset to get only new output. 0 = everything kept.
wait_msNoIf there is no new output yet, wait up to this long (max 30000).
process_idYesId returned by start_process.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare this as a safe, idempotent, closed-world read (readOnlyHint=true, destructiveHint=false, idempotentHint=true), so the description does not need to re-establish that. It gives some useful behavioral detail by indicating incremental reads via `since`, but it does not explain output retention limits or what happens after the process exits. Against annotation-covered safety, that is a reasonable but not generous 3.

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 a single front-loaded sentence with no filler: 'Read output from a background process (incrementally with `since`).' Every clause carries information, and the incremental mode is stated inline rather than buried.

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?

The tool has simple, non-nested parameters, an output schema that covers return values, and annotations that cover its safety profile, so the description need not explain those. Its remaining gap is a lack of guidance on process completion and output retention, which the definition should arguably mention. For a tool this simple, it is otherwise adequate.

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 all three parameters (process_id, since, wait_ms) are already fully documented in the input schema. The description only echoes the `since` parameter's incremental semantics and says nothing about wait_ms or the default zero-offset behavior. This meets the baseline for a fully documented schema without adding much meaning beyond it.

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 names a specific verb and resource: reading output from a background process. That is clearly distinct from start_process, stop_process, and send_process_input, and the parenthetical flags the incremental-read mode. It stops short of naming alternatives by name, so it is clear but not fully differentiated.

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 phrase 'background process' implies the context in which this tool applies, and '(incrementally with `since`)' hints at polling workflows. However, it never states when not to use it (for example, versus list_processes) or what to do when the process has already finished; the guidance is inferred rather than stated.

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