Skip to main content
Glama
GT-dinuo

server-ops-mcp

by GT-dinuo

command_exec

Execute whitelisted safe commands on servers. Read-only commands run immediately; others require confirmation for safety.

Instructions

执行白名单内的安全命令(只读命令直接执行,非只读命令需确认)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNo执行目录(相对项目根目录)
commandYes要执行的命令
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions the two categories of commands (read-only vs. non-read-only) but fails to explain what happens if a command is not on the whitelist, how the confirmation process works (e.g., involving 'confirm_execute'), or any side effects. Key behavioral traits are omitted.

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?

A single sentence that conveys the core purpose and key behavioral distinction (direct vs. confirmed execution). No extraneous information, perfectly front-loaded and 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?

Given the complexity of a command execution tool and the lack of an output schema, the description is too brief. It does not explain return values, error handling, or how to interact with the sibling tool 'confirm_execute'. The description leaves critical gaps for an AI agent to use the tool correctly.

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 coverage is 100% with both 'cwd' and 'command' described. The description does not add any additional meaning or constraints beyond what the schema already provides, so it meets the baseline for parameter semantics.

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 it executes safe commands from a whitelist, distinguishing between read-only and non-read-only commands. This provides a specific verb and resource, but does not explicitly contrast with sibling tools like file_read or file_list.

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 that read-only commands can be executed directly and non-read-only commands require confirmation, which gives some usage context. However, it does not specify when to use this tool versus other specific file or system tools, nor does it mention alternatives or prerequisites such as the need for a whitelist to be defined.

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/GT-dinuo/server-ops-mcp'

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