Skip to main content
Glama

Send Process Input

send_process_input
Destructive

Write text to a running process's stdin to answer prompts or interact with REPLs, with optional newline append.

Instructions

Type into a running process's stdin (answer prompts, REPLs).

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": {
      "process_id": "<process_id>",
      "text": "<text>"
    },
    "name": "send_process_input"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to send to stdin.
newlineNoAppend a newline (press Enter).
process_idYesId returned by start_process.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, and idempotentHint=false, so the danger profile is structured data the agent can read directly. The description adds that input goes to a live stdin, which explains why the call is neither idempotent nor safe, but it says nothing about failure behavior when the process has exited, whether the call blocks, or that no output is returned.

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?

A single tight sentence with the core action front-loaded and the qualifying examples clearly bracketed. There is no filler, hedging, or restatement of the title.

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 need not be spelled out, and the annotations carry the safety profile. What remains missing is the pairing with process_output for reading results and any statement of what happens on a dead or non-interactive process, which matters for a destructive open-world tool.

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 100%, so process_id, text, and the newline default are fully documented in the input schema. The description contributes no additional meaning about parameter interaction, such as whether newline should be suppressed for raw keystroke input, so the baseline of 3 applies.

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?

The description names a specific action (typing into stdin) on a specific resource (a running process), and the parenthetical examples (answer prompts, REPLs) make the interactive use case unmistakable. It stops short of naming how this differs from siblings like run_command or process_output, so an agent must still infer the read/write boundary from the names alone.

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?

'Answer prompts, REPLs' implies the situation that selects this tool over launching a command fresh, but the guidance stays implicit. There is no statement of prerequisites (a live process started via start_process), no exclusion of alternatives, and no note that the caller should follow up with process_output rather than expecting results here.

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