Skip to main content
Glama

Send input to a command

interact_with_process
Destructive

Send text to stdin of an agent-owned interactive process.

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": {
      "pid": "<pid>",
      "input": "<input>"
    },
    "name": "interact_with_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidYes
inputYes
steerlatchDeviceNoOptional: name or deviceId of the computer that runs this action (from operatorlane_list_devices). Recommended when several computers are online or several conversations work at once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is largely covered. The description adds the useful fact that input goes to stdin and that only agent-owned processes are valid targets. It omits what an agent most needs to know about a destructive write: whether text is appended verbatim, whether a newline/EOF is implied, and what happens to an unknown or exited pid.

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 front-loaded sentence with no filler, which is efficient. It is arguably terse for a destructive tool with two undocumented required parameters, but nothing in the sentence is wasted.

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 two required, undocumented parameters, no output schema, and a destructive write, the definition leaves key questions open: how to obtain a pid, how input termination works, and whether any response is returned or an error surfaces when the process has exited. The annotations cover the safety profile but not the mechanics, so the description should do more.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%, and the two required parameters carry no schema descriptions. The description never explains where a valid 'pid' comes from (start_process / list_processes) or whether 'input' requires a trailing newline or is line-buffered — the exact ambiguity that causes misuse of stdin tools. Only steerlatchDevice is documented, and that documentation lives in the schema, not the description.

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+resource+destination: 'Send text to stdin of an agent-owned interactive process.' An agent can tell this writes input rather than reading it. It does not name or differentiate from the obvious sibling read_process_output, so it falls short of the 5 level.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no alternative is named. The only steer is the qualifier 'interactive' vs. the sibling read_process_output, which the agent must infer on its own.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources