Skip to main content
Glama
guozhiwei01

ai-ssh-mcp

by guozhiwei01

exec_command

Execute shell commands on a remote server. User confirmation is required for write operations to prevent accidental changes.

Instructions

在指定服务器上执行任意 Shell 命令。

参数:
- server: 服务器中文名
- command: 要执行的 Shell 命令
- confirmed: 写操作时需用户确认后传 True,默认 False

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serverYes
commandYes
confirmedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so the description carries full burden. It discloses that write operations require user confirmation via the 'confirmed' parameter, adding safety context. However, it does not detail permissions, logging, or implications of arbitrary command execution.

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?

The description is concise with bulleted parameter list. It front-loads the main action. Could be slightly more structured but efficient.

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?

Despite having an output schema, the description lacks usage context, differentiation from sibling tools, and behavioral details. An agent would struggle to know when to choose this tool over alternatives.

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 0%. The description adds meaning to all three parameters: server (Chinese name), command (shell command), confirmed (confirmation for write ops, default false). This compensates for the schema's lack of descriptions.

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 executes arbitrary shell commands on a specified server. It distinguishes from siblings by its focus on single-server command execution, though not explicitly mentioned.

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?

No guidance on when to use this tool versus siblings like batch_exec or read_logs. The description lacks explicit when/when-not 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/guozhiwei01/ai-ssh-mcp'

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