Skip to main content
Glama

terminal_input

Destructive

Send shell input to a connected terminal only when a human grants AI control; shared screenshots are included automatically in the response.

Instructions

Send shell input only while the human has granted AI input control. Shared screenshots are included automatically in the response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and non-idempotence, and the description adds value beyond them: a human-consent gating requirement and the fact that screenshots are returned automatically. It still doesn't disclose failure behavior when input control is not granted, nor whether data is submitted raw or executed.

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?

Two short sentences, the gating precondition front-loaded, and the response behavior second. No filler; each sentence carries distinct information.

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?

For a destructive, non-idempotent tool with no output schema, it covers the consent prerequisite and the automatic screenshot return, which is genuinely useful. However, the undefined payload format and unstated behavior when consent is missing leave the agent guessing on the two things that most affect a correct call.

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 single 'data' parameter is undocumented in both schema and description. The agent cannot tell whether data is raw keystrokes, a full command line, or whether a trailing newline is needed to execute it — a meaningful gap for the only input this tool accepts.

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 ('Send shell input'), which cleanly distinguishes it from read-oriented siblings like terminal_events and terminal_connect. It doesn't name an alternative tool explicitly, but the write/input framing makes the role unambiguous.

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

Usage Guidelines4/5

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

Given a clear precondition: 'only while the human has granted AI input control,' which tells the agent when invocation is legitimate. It stops short of naming alternatives (e.g., terminal_events for reading output) or stating what happens if the grant is absent.

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