Skip to main content
Glama

pane_read

Read-onlyIdempotent

Read terminal output from a pane to capture logs or the visible viewport. Retrieve recent output with soft wraps joined, or read the rendered screen for current state.

Instructions

Read terminal output from a pane. recent-unwrapped joins soft wraps and suits logs; visible is the rendered viewport.

Input Schema

NameRequiredDescriptionDefault
ansiNo
linesNo
sourceNorecent-unwrapped
pane_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent and non-destructive behavior, so the description only needs to add context. It adds a useful nuance that recent-unwrapped joins soft wraps, but says nothing about the 'recent' and 'detection' sources, the ansi flag's effect, or errors on a dead pane.

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?

Two sentences, front-loaded with the core action, with no filler. The trailing clause is dense but each phrase contributes a distinct piece of information.

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?

An output schema exists so return values needn't be spelled out, and the read-only profile is covered by annotations. However, with 0% schema coverage, the missing explanation of ansi, lines, and two source modes leaves real gaps for correct invocation.

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 must carry parameter meaning, yet it explains only two of four enum values for the 'source' parameter and says nothing about 'ansi' or 'lines'. 'pane_id' and the remaining source values are left entirely 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?

States a specific verb and resource ('Read terminal output from a pane') that is clearly distinct from mutation siblings like pane_run or pane_close. It does not explicitly distinguish itself from pane_wait_output or agent_read, which read similar data, so it stops short of a 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?

Guidance is given at the parameter level ('recent-unwrapped ... suits logs; visible is the rendered viewport'), which implies when to pick a source. It does not say when to use this tool instead of pane_wait_output or agent_read, nor when not to use it.

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