Skip to main content
Glama
xctmyy

win-cli-mcp-tmyy

by xctmyy

cmd_exec

Execute Windows CMD commands on any drive with optional environment variables and working directory. Supports all standard Windows commands.

Instructions

Execute a command using Windows CMD (Command Prompt). Supports all drives and Windows commands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNoOptional: Environment variables to set for the command (key-value pairs). Empty or null means no custom env vars. Example: {"NODE_ENV": "production", "MY_VAR": "value"}
commandYesThe CMD command to execute. Example: dir D:\ or ipconfig
working_dirNoOptional: Working directory for the command. Supports any drive (C:, D:, E:, etc.). Example: D:\Projects
Behavior2/5

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

With no annotations available, the description must convey behavioral traits. It discloses that CMD is used and that all drives are supported, but it does not warn about potential side effects of arbitrary command execution, privilege requirements, or what happens on errors. This is minimal for a shell execution tool.

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 a single, focused sentence. It front-loads the core action and adds one clause of scope without any filler or redundancy. Every word contributes to understanding the tool's purpose.

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 incomplete for a command execution tool. There is no output schema, yet the description does not mention return values (e.g., stdout, stderr, exit code). It also lacks behavioral caveats and does not contrast with sibling tools like powershell_exec. The schema covers parameters, but overall tool context is underspecified.

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%, with each parameter (command, env, working_dir) already described in the schema. The description adds no extra parameter-level detail beyond the schema, so the baseline of 3 is appropriate.

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 the tool's function: 'Execute a command using Windows CMD.' It names the specific resource (command) and the interface (Windows CMD), and the added detail 'Supports all drives and Windows commands' distinguishes it from sibling tools like powershell_exec.

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 is provided about when to use this tool versus alternatives. The description implies broad usability but does not state exclusions or mention the existence of powershell_exec or other command-execution options. There is no 'use this when...' or 'instead of...' framing.

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/xctmyy/win-cli-mcp-tmyy'

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