Skip to main content
Glama
InfraMCP

Win MCP Server

by InfraMCP

win_execute_powershell

Runs PowerShell commands on remote Windows hosts so AI agents can perform administrative tasks and retrieve system information.

Instructions

Execute PowerShell command on remote Windows host

Input Schema

NameRequiredDescriptionDefault
commandYes
hostnameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and discloses almost nothing: it does not say arbitrary code execution is possible, whether actions are reversible, that credentials must be established first, what timeout applies, or what the response contains. Only the word 'remote' hints at the execution model.

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?

A single front-loaded sentence with zero wasted words. However, the terseness reflects under-specification rather than discipline, so it does not reach a 5.

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?

For a high-risk remote code execution tool with no annotations, no output schema, and undocumented parameters, the description is far too thin. It should at minimum state credential prerequisites and the shape of returned output.

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

Parameters2/5

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

Both parameters have 0% schema description coverage, so the description must compensate and does not. It gives no hostname format (FQDN, IP, alias), no indication of whether command is a single statement, pipeline, or script block.

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?

States a specific verb (Execute) and resource (PowerShell command) against a named target (remote Windows host). Implicitly distinguishes itself from the read-only get_* siblings, but never names them explicitly.

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 versus the informational siblings, no prerequisites, and no exclusions. The presence of win_setup_credentials suggests a credential prerequisite the description never mentions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.