Skip to main content
Glama

Execute PowerShell

exec
Destructive

Execute arbitrary PowerShell commands on Windows to handle local development, package installation, system configuration, and tasks not covered by specific tools. Verify changes afterward.

Instructions

Run an arbitrary PowerShell command on this Windows PC. Use for local development, package installation, system configuration, services, processes, and tasks not covered by a more specific tool. Verify changes afterward.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory; defaults to the Windows user profile
commandYesPowerShell command to run
timeoutSecondsNo
Behavior3/5

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

Annotations already provide destructiveHint=true, openWorldHint=true, idempotentHint=false, and readOnlyHint=false. The description adds the behavioral note 'Verify changes afterward,' which hints at side effects. It does not elaborate on specific destructive actions, authorization needs, or output behavior. Given the comprehensive annotations, this is adequate but not exceptional.

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 three sentences long, each serving a distinct purpose: stating the action, listing use cases, and providing guidance. No redundant or extraneous content. It is front-loaded with the core verb-resource pair, making it efficient for an agent to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a shell execution tool with no output schema, the description covers purpose, guidelines, and a safety remark. However, it omits details about return values (e.g., command output, error handling) and timeout behavior. Given the tool's open world nature and destructive hint, these omissions create slight gaps in completeness.

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?

Schema description coverage is 67% (two of three parameters have descriptions). The description adds no parameter-specific information beyond what the schema already provides. For instance, it does not explain the cwd default behavior or the timeoutSeconds range. With moderate coverage, the description should compensate but fails to do so, limiting its added value.

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 starts with a specific verb+resource: 'Run an arbitrary PowerShell command on this Windows PC.' It clearly defines the tool's scope and distinguishes it from siblings by mentioning 'tasks not covered by a more specific tool.' The listed use cases (local development, package installation, etc.) reinforce the purpose without ambiguity.

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 explicitly states to use this tool for tasks 'not covered by a more specific tool,' which guides the agent to prefer dedicated tools from the sibling list. It also advises 'Verify changes afterward,' acting as a safety reminder. However, it does not name specific alternative tools or provide detailed when-not-to-use scenarios, which would elevate it to a 5.

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/yungsuk53-pixel/unlimited-agent'

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