Skip to main content
Glama
mario-andreschak

MCP Windows Desktop Automation

runAsWait

Destructive

Run a program as a specified Windows user and wait for it to finish, using credentials, domain, logon flag, and working directory. Requires a trusted owner and interactive Windows x64 desktop.

Instructions

Windows AutoIt runAsWait. Requires a trusted owner and an interactive Windows x64 desktop.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userYesUsername
domainYesDomain
programYesProgram path or command
passwordYesPassword
showFlagNoWindow show flag
logonFlagYesLogon flag
workingDirNoWorking directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare destructive=true, openWorld=true, readOnly=false, and idempotent=false. The description adds the platform and interactivity/owner prerequisites, which is context beyond annotations, but it does not clarify what gets destroyed, how credentials are used, or what waiting behavior to expect. With annotation coverage already carrying the safety profile, a 3 is appropriate.

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?

The description is two terse sentences with no filler and is front-loaded with the tool name. It is efficient, though it is under-specified rather than being a model of informative conciseness.

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?

This is a destructive, open-world credential-using tool with seven parameters, five required, and no output schema. The description covers only platform and environment prerequisites, omitting wait semantics, credential handling, and any indication of return behavior, which is insufficient for the tool's complexity.

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%, so all seven parameters (including user, domain, password, logonFlag, program, showFlag, workingDir) are already documented in the schema. The description adds no parameter-level syntax, format, or value guidance, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description restates the tool name and platform ("Windows AutoIt runAsWait") but does not state the actual operation, such as launching a program under alternate credentials and blocking until it exits. It leaves the agent to infer the verb from the name alone and does not differentiate from siblings run, runWait, or runAs.

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 explicit when-to-use guidance or named alternatives among run/runWait/runAs are given. The statement about a trusted owner and interactive desktop is a prerequisite/constraint, not routing guidance for choosing this tool over its siblings.

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