Skip to main content
Glama

winrm_execute_many

Destructive

Run one command in parallel across multiple saved hosts selected by name or tag, returning separate results or errors per host so one unreachable host does not hide the others.

Instructions

Run one command on several saved hosts (listed by name and/or selected by tag) in parallel. Returns one result or error per host, so one unreachable host does not hide the others.

Input Schema

NameRequiredDescriptionDefault
tagNo
shellNopowershell
commandYes
timeoutNo
saved_hostsNo
max_parallelNo
output_limitNo
output_formatNotext
inventory_scopeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the agent knows this is an unsafe, non-repeatable write-class operation. The description adds genuinely useful behavioral context about error isolation ("one unreachable host does not hide the others"), but says nothing about what makes it destructive, whether auth/credentials are needed, or that all hosts are hit concurrently with real side effects.

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?

Two tight sentences with the scope and selection mechanism front-loaded and the error-isolation guarantee second. Nothing is redundant or padded.

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?

An output schema exists, so return values need not be described, and the per-host result/error statement is a useful supplement. However, for a 9-parameter destructive open-world execution tool with zero schema description coverage, the definition omits too much about tuning parameters and safety posture to be considered complete.

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 0% across 9 parameters, so the description must carry the burden and largely does not. It clarifies host selection (saved_hosts vs tag) and the single command, but leaves shell, timeout, max_parallel, output_limit, output_format and inventory_scope completely unexplained in both schema and prose.

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 and resource ("Run one command on several saved hosts") plus the parallelism model, which clearly separates it from the single-host siblings winrm_execute_powershell and winrm_execute_cmd. It stops short of naming those alternatives explicitly, so the differentiation is implied rather than stated.

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 explains how hosts are selected ("listed by name and/or selected by tag"), which implies when to reach for this tool over a single-host execute. There is no explicit when-not guidance, no mention of prerequisites (inventory init/validate, saved hosts existing), and no pointer to the single-host siblings.

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