Skip to main content
Glama

Send text to a panel

cmux_send_panel

Sends text into a specified agent panel so agents can deliver input to terminal panes; use cmux_list_panels to find the panel ref and pass workspace/window for cross-workspace panels.

Instructions

Send text into an agent panel via send-panel. Use cmux_list_panels to find the panel ref. Pass workspace/window when the panel lives in another workspace.

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": {
      "panel": "<panel>",
      "text": "<text>"
    },
    "name": "cmux_send_panel"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
panelYesPanel ref like "surface:39".
windowNoWindow ref like "window:1". Defaults to the caller's window.
workspaceNoWorkspace ref like "workspace:26". Defaults to the caller's workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.13

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it does not say whether the text is merely typed or also submitted with a newline/Enter, whether it appends to existing input or replaces it, or what happens if the panel is not ready or the ref is stale. For an operation that injects input into a live agent panel, those omissions are material. It also says nothing about error behavior or return values.

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 action, with no filler. The phrase "via send-panel" largely restates the tool name and earns little, but the rest is efficient.

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?

With no annotations, no output schema, and four parameters (two required), the description should explain what a successful send does and what the agent should expect. It instead covers only ref discovery and cross-workspace targeting, leaving the core effect of the call and its failure modes unexplained.

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 75%, so the panel, window, and workspace refs are already documented in the schema, and the description adds genuine meaning only for the workspace/window pair by explaining the cross-workspace override condition. The most semantically loaded parameter, text, is undocumented in both schema and description, leaving its format and submission semantics unstated.

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?

"Send text into an agent panel" gives a specific verb plus a specific target resource, and the mention of send-panel anchors it to a concrete backend operation. It stops short of distinguishing itself from siblings like cmux_send or cmux_send_key, so the agent must infer that this variant is panel-scoped rather than session-scoped.

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?

It gives a real prerequisite workflow: "Use cmux_list_panels to find the panel ref," which tells the agent how to obtain a required argument. The cross-workspace conditional ("Pass workspace/window when the panel lives in another workspace") is useful context. However, there is no guidance on when to choose this over cmux_send or cmux_send_key, nor any stated precondition such as the panel being ready.

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