Skip to main content
Glama
guozhiwei01

ai-ssh-mcp

by guozhiwei01

batch_exec

Run a shell command on multiple servers simultaneously. Filter servers by tag or name to target specific groups.

Instructions

在多台服务器上同时执行同一命令。

参数:
- command: 要执行的 Shell 命令
- tag: 按标签筛选服务器,如"prod"、"api"
- servers: 指定服务器名列表,如["生产-API主服务器", "测试环境"]
- confirmed: 写操作时需确认后传 True
tag 和 servers 至少填一个。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNo
commandYes
serversNo
confirmedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the burden. It mentions multi-server execution and the confirmed flag for write operations, but lacks details on permissions, error handling, or limits. Some transparency but not comprehensive.

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 very concise with a clear main line followed by a bullet list for parameters and a constraint. No unnecessary words; every sentence adds value.

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 4 parameters (1 required) and an output schema existing, the description covers the essential usage and constraints. It could mention what the tool returns (though output schema may handle that), but it's adequate for invocation.

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

Parameters5/5

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

Schema coverage is 0%, so the description must add meaning. It fully explains each parameter: command is a Shell command, tag filters servers, servers is a list of server names, confirmed is for write confirmation. This goes beyond the schema's type-only definitions.

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 'execute the same command on multiple servers simultaneously', which is a specific verb+resource. It distinguishes from sibling tools like exec_command (likely single server) by emphasizing multi-server execution.

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 guidelines: parameters tag and servers must have at least one, and for write operations, confirmed must be True. It doesn't explicitly mention when to use alternatives like exec_command, but the constraint is helpful.

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