Skip to main content
Glama
d3v1an
by d3v1an

ssh_exec_interactive

Execute remote commands interactively with automatic prompt responses, including sudo passwords and confirmations.

Instructions

Ejecuta un comando interactivo en el servidor remoto con PTY. Permite responder automáticamente a prompts (ej: sudo password, confirmaciones yes/no). Si el comando es destructivo requiere confirm: true

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesComando a ejecutar en el servidor remoto
responsesNoLista de respuestas automáticas a prompts. Cada entrada tiene un regex que detecta el prompt y la respuesta a enviar
timeoutNoTimeout global en milisegundos (default: 30000)
confirmNoConfirmar ejecución de comandos peligrosos. Requerido cuando el comando es detectado como destructivo
Behavior4/5

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

With no annotations provided, the description discloses key behaviors: PTY allocation, automatic response mechanism, and the need for confirmation on destructive commands. It does not cover connection prerequisites or error handling, but the core behavioral traits are sufficiently explained.

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-loading the main purpose and key features. Every sentence provides essential information without redundancy.

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?

The description is missing important context about output behavior (e.g., what is returned after execution), prerequisites (e.g., must be connected to a session), and possible side effects. Given the tool's complexity and lack of output schema or annotations, this is a significant gap.

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

Parameters4/5

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

Schema description coverage is 100%, so parameters are well-documented. The description adds value by explaining the automatic response functionality and the requirement for confirm on destructive commands, which goes beyond the schema's 'Confirmar ejecución de comandos peligrosos'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it executes interactive commands with PTY and supports automatic responses to prompts. This differentiates it from sibling tools like ssh_exec (likely non-interactive) and ssh_shell_* (shell sessions). The verb 'Ejecuta' and resource 'comando interactivo' are specific.

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?

The description provides guidance on when to use this tool (for interactive commands needing responses) and a critical constraint (destructive commands require confirm: true). It does not explicitly list alternatives or when to avoid, but the context implies usage for interactive scenarios.

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