Skip to main content
Glama
d3v1an
by d3v1an

ssh_shell_send

Send input to an active SSH shell session with dangerous command detection and optional raw mode. Supports timeout and sensitive input redaction for secure remote administration.

Instructions

Envía input a una sesión de shell activa. Si raw es false (default), aplica detección de comandos peligrosos. Retorna el output generado tras enviar el input

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesID de la sesión de shell
inputYesTexto a enviar a la shell (se agrega \n automáticamente si raw es false)
rawNoSi es true, envía el input tal cual sin agregar \n ni aplicar detección de comandos peligrosos (default: false)
timeoutNoTiempo en ms para esperar output después de enviar (default: 2000)
confirmNoConfirmar ejecución de comandos peligrosos. Solo aplica cuando raw es false
sensitiveNoSi es true, el input se registra como [REDACTED] en el audit log. Usar cuando se envíen contraseñas u otros secretos
Behavior3/5

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

The description discloses key behaviors: raw mode, dangerous command detection, and auto-adding newline. However, it omits details on what happens when dangerous commands are detected (e.g., blocked or requires confirmation), and there are no annotations to supplement. The tool could be destructive, but the description does not fully convey the safety profile.

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?

The description is two sentences, front-loaded with the core action, and every sentence provides necessary information. No redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of output schema, the description adequately states that the tool returns output. It covers the essential behavior for a send-input tool with 6 parameters, though error handling and edge cases (e.g., session timeout) are not addressed.

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 the schema already describes all parameters. The description adds minimal new meaning, primarily stating the default raw=false and that dangerous detection applies. This aligns with the baseline of 3 for high coverage.

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 clearly states the tool sends input to an active shell session, specifying the raw mode and dangerous command detection. However, it does not explicitly differentiate from sibling tools like ssh_exec or ssh_exec_interactive, which could lead to confusion.

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 description implies usage when an active shell session exists, but it provides no explicit guidance on when to use this tool versus alternatives (e.g., ssh_exec for single commands) or when not to use it. No exclusions or prerequisites are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/d3v1an/ssh-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server