Skip to main content
Glama

run

Execute a command in an active subprocess or REPL session and read its output until the session pauses, simplifying interactive tool control.

Instructions

Convenience: send a command then read until output is idle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYes
idle_msNoStop after no new output for this long (default 200ms).
max_bytesNoMax bytes returned (default 1MB).
strip_nulNoStrip NUL bytes from returned output.
until_nulNoStop after reading a NUL byte (useful for r2/rizin -0 mode).
session_idYes
strip_ansiNo
timeout_msNoHard timeout (default 5000ms).
until_regexNoStop after regex matches output (regex is applied to raw bytes, utf-8 encoded).
append_newlineNoDefaults true.
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It mentions the idle condition but does not explain side effects, blocking behavior, error cases, or what happens with timeouts and byte limits. The description is too sparse for a tool with 10 parameters.

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 sentence that front-loads the 'Convenience' label and immediately states the core behavior. Every word adds value, and there is no redundant information. It is efficient and easy to parse.

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?

Given the tool has 10 parameters, no output schema, and no annotations, the description is severely under-specified. It does not explain what the function returns, how it handles session state, or the meaning of 'idle' beyond the parameter name. The convenience wrapper concept is clear, but the operational details are missing.

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 70%, which provides baseline semantics for most parameters. The description adds context for the overall workflow (send then read until idle) but does not clarify the remaining undocumented parameters like strip_ansi or append_newline. It neither over-compensates nor contradicts the schema.

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 states a clear verb and resource: 'send a command then read until output is idle.' This distinguishes it from sibling tools like send and read, as it combines both actions in a convenience wrapper. The resource (command) is explicit, and the behavior is specific.

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 description labels the tool as 'Convenience,' implying it is an alternative to manually calling send and read together. However, it does not explicitly state when to use it instead of those siblings, nor does it mention any exclusions or alternative use cases. This is implied rather than explicit.

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/SammySnake-d/proc-repl-mcp'

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