Skip to main content
Glama

Prompt a pane and read the reply

prompt_pane

Drive a TUI agent turn in one call: type and submit a message, wait for the reply to stabilize, and return the rendered screen transcript with input status.

Instructions

Drive one full turn of a TUI agent (e.g. a live claude) in a pane with ONE call: type text, submit it cleanly (a separate Enter), wait for the pane to go output-quiet, then return the RENDERED screen transcript and whether it is now awaiting input. The wait is turn-aware — it won't return on the pre-prompt screen, only once the reply has begun and settled. Composes send_input(submit) + read_pane(waitForIdle, mode:"screen"). Same triple gate as send_input (it IS input): app toggle + HYPERPANES_ALLOW_INPUT=1 + confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tailNoLimit the returned transcript to its last N lines.
textYesThe message to type. No trailing newline needed — it is submitted for you.
ownerNoLock owner, if the pane was locked via lock_pane.
paneIdYes
confirmNoMust be true — explicit per-call confirmation.
settleMsNoQuiet window that ends the wait (default 600ms; raise for slow models).
timeoutMsNoMax time to wait for the reply (default 30000ms).
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does so effectively by revealing the separate Enter submission, the turn-aware wait logic (won't return on pre-prompt screen), and the triple gate (app toggle, HYPERPANES_ALLOW_INPUT=1, confirm=true). While it omits edge-case behaviors like timeout handling, the core operational nuances are well covered.

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?

The description is a dense, three-sentence paragraph that front-loads the primary action, then explains wait behavior, then composition and requirements. Every sentence earns its place with no fluff, though a structured breakdown (e.g., bullets) could improve scannability. It's appropriately sized for the complexity.

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 composite tool with no output schema and no annotations, the description covers the essential aspects: purpose, relationship to sibling tools, wait semantics, and confirmation requirements. It lacks a detailed return format description, but that's not necessary given no output schema. The core functional contract is adequately conveyed.

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 coverage is high (86%), so the baseline is 3. The description adds semantic value for the `text` parameter (clean submission) and the `confirm` parameter (must be true as part of the triple gate), but it does not elaborate on parameters like `tail`, `owner`, `settleMs`, or `timeoutMs` beyond what the schema already specifies. It adds modest context without needing to fully compensate for schema gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific action: 'Drive one full turn of a TUI agent ... with ONE call' and enumerates the exact sequence (type, submit, wait, return transcript and awaiting state). It also distinguishes this tool from siblings by explicitly naming its composition of send_input(submit) + read_pane(waitForIdle, mode:'screen'), making its unique role clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides concrete usage context by explaining it composes send_input and read_pane, implying it should be used when a full send-and-read cycle is needed in one call. It gives an example use case (live `claude`) and notes the triple gate requirement, but it does not explicitly contrast with other sibling tools like send_message or provide when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Eyalm321/hyperpanes-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server