Skip to main content
Glama

process_write

Sends input to the standard input of a running process, allowing you to provide data or commands during execution.

Instructions

Write to stdin of a running process started by process_start.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYes
processIdYes
appendNewlineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not say what happens if the process is dead or stdin is closed, whether the write blocks, whether an error is returned, or whether the payload is raw text versus encoded — significant gaps for a mutation tool.

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 efficient sentence with the resource and its prerequisite front-loaded and no filler. Nothing in it 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 three undocumented parameters, no annotations, and no output schema, the definition should explain parameter meaning and core behavior, but it only says what the tool does. An agent cannot call it confidently regarding newline handling or failure modes.

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% and the description explains none of the three parameters. Critically, 'appendNewline' (default false) is never mentioned, and that default materially changes how interactive programs receive input, so the description fails to compensate for the schema gap.

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 ('write to stdin of a running process') and ties the target to its sibling process_start, so an agent can tell it apart from process_read/process_kill. It is clear but does not explicitly contrast itself against those siblings.

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?

The phrase 'started by process_start' implies the prerequisite (a live process created by that tool), but there is no explicit when-to-use guidance, no when-not, and no mention of alternatives such as process_read for output. Usage is only implied.

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