Skip to main content
Glama

read_pane

Read-onlyIdempotent

Read bounded, redacted text from a live terminal pane to inspect an agent’s current output safely, with errors returned explicitly instead of as successful text.

Instructions

Read bounded output from a live pane_id.

For visible / detection, --lines is omitted for Herdr version compatibility; output is still truncated client-side. For recent sources, a capped --lines is sent (default 80). Secrets in terminal text are redacted best-effort.

Validation, Herdr CLI, timeout, and transport failures return isError: true — never a successful result whose text merely describes the error.

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": {
      "pane_id": "<pane_id>"
    },
    "name": "read_pane"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesNo
sourceNovisible
pane_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, and the description adds context annotations cannot: client-side truncation, a default 80-line cap, best-effort secret redaction, and a clear contract that validation/CLI/timeout/transport failures surface as isError:true rather than a text-wrapped error. That error contract is the most valuable disclosure here.

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?

Three short sentences, front-loaded with the core purpose and followed by behavior and error semantics. Some phrasing (Herdr version compatibility, Herdr CLI) is implementation jargon that costs a little space but is not filler.

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

Completeness3/5

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

With no output schema, the description should say more about what is returned; it covers truncation, redaction, and error semantics, but not the shape of a successful result beyond 'bounded output'. For a three-parameter read tool that gap is noticeable though not severe.

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 0%, so the description must carry parameter meaning. It does add real semantics for `source` and `lines` (visible/detection omit --lines, recent sources send a capped --lines defaulting to 80), but pane_id is never explained and the interaction between source and lines is only partially spelled out.

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 bounded output from a live pane_id'), which is enough to distinguish it from siblings like list_agents or get_agent_status that operate on agents rather than pane output. It stops short of explicitly naming a sibling it is not, so it lands at 4 rather than 5.

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?

Usage is implied by the tool name and the mention of source modes, but there is no explicit when-to-use/when-not guidance and no named alternative for cases where another tool would be better. An agent can infer it is the pane-read path, but must reason about source selection itself.

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

Deploy Server

Other Tools