Skip to main content
Glama

interact_with_process

Destructive

Send input to a managed terminal process. Confirm consequential commands.

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

Input Schema

NameRequiredDescriptionDefault
inputYes
device_idYes
session_idYes
close_stdinNo
append_newlineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds a caution to confirm consequential commands, which is useful but vague — it doesn't say what gets destroyed, whether input is echoed, or what happens if the process has exited. This is modest added value over the annotations.

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?

Two short sentences with the core action front-loaded and no filler. The second sentence is somewhat ambiguous ('confirm' with what mechanism?), but the definition is efficiently sized.

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?

This is a destructive mutation tool with no output schema and five undocumented parameters. The description should cover how stdin is delivered (newline appending), how to close the stream, and how to retrieve the resulting output; none of that is present, leaving meaningful gaps for correct invocation.

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 description coverage is 0% across five parameters. The description only echoes the word 'input' and says nothing about device_id, session_id, close_stdin, or append_newline — notably it omits that a newline is appended by default and that close_stdin controls EOF, both of which materially change the interaction and are invisible in a title-only schema.

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 states a specific verb and resource: 'Send input to a managed terminal process.' An agent can tell this writes stdin to an existing session. It does not distinguish itself from siblings like run_command or read_process_output, so it stops short of a 5.

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?

'Confirm consequential commands' gestures at caution but gives no concrete when-to-use rule: no mention of needing a session from start_process, no pointer to read_process_output for results, and no note on when run_command would be preferable. The agent must infer the workflow entirely.

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