Skip to main content
Glama

Run Shell Command in Pane

pane_run

Runs a shell command in a specified terminal pane by submitting the command and pressing Enter, enabling automated command execution across local panes.

Instructions

Submit a shell command followed by Enter into an ordinary shell pane.

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>",
      "command": "<command>"
    },
    "name": "pane_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYesShell command line to run.
pane_idYesTarget shell pane ID (for example 'w1:p2').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, so the safety profile is covered. The description usefully adds that Enter is submitted (so the command actually executes rather than being typed), but it omits that the call is fire-and-forget and that output must be fetched via a sibling such as pane_read or pane_wait_output.

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 tight sentence with no filler, and the execution behavior (Enter) is placed where it matters. It is efficient, though so terse that there is no structure for anything beyond the core statement.

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?

No output schema exists, so the description should say what a caller gets back; it never states that nothing is returned and that the result must be read from the pane separately. For a two-parameter execution tool this is adequate but leaves a meaningful operational gap.

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 100%, with both pane_id and command documented including an example ID format, so the schema carries the parameter burden. The description adds no syntax, quoting, or multi-line guidance beyond what the schema already says.

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 ('Submit a shell command') plus the key mechanical detail that Enter is appended, which separates it from pane_send_text. 'Ordinary shell pane' signals it targets plain shell panes rather than agent panes, though the distinction from herdr_run_shell is not made explicit.

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 only implied: the phrase 'ordinary shell pane' and the appended Enter suggest 'use this to execute a command in a plain shell'. There is no explicit when-to-use, no mention of when to prefer pane_send_text/pane_send_keys, and no mention of herdr_run_shell as an alternative.

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