Skip to main content
Glama

read_process_output

Read-onlyIdempotent

Read an incremental page of terminal output; continue with next_offset_bytes.

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": {
      "device_id": "<device_id>",
      "session_id": "<session_id>"
    },
    "name": "read_process_output"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_idYes
max_bytesNo
session_idYes
offset_bytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so safety is covered. The description adds the incremental/cursor reading behavior, which is useful, but it cites 'next_offset_bytes' while the schema exposes 'offset_bytes' and there is no output schema, so where that value comes from is ambiguous.

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 compact sentence with no filler, and the continuation hint is placed where an agent will see it. It is efficient, though brevity comes at the cost of the missing parameter context noted above.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter tool with zero schema descriptions and no output schema, the definition is thin: it never explains the device/session identifiers or the byte limit. An agent can guess at a paging loop but cannot confirm what max_bytes bounds or how the first call should be made.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden of explaining four parameters. It only gestures at offset continuation and says nothing about device_id, session_id, max_bytes, or the units/semantics of offset_bytes, leaving most parameter meaning undocumented.

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 gives a specific verb and resource ('Read an incremental page of terminal output'), making it distinguishable from read_file and list_processes. It is clear about the paged-output nature, though it does not explicitly name which sibling to use for interactive terminal work.

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?

Pagination usage is implied by 'continue with next_offset_bytes,' which tells an agent to loop on the cursor. There is no explicit statement of when to prefer this over interact_with_process or how to obtain the initial session, leaving the choice partly to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources