Skip to main content
Glama
verisoft-ai

windows2-mcp

by verisoft-ai

execute_extension_command

Destructive

Runs a named driver or plugin extension command when no dedicated tool exists, including plugin-added commands. Call list_extension_commands first to get exact names and parameters.

Instructions

Run any extension command (execute method) of the driver or an active plugin by name, e.g. "windows: getWindows" or "pcomm: getScreenText". Call list_extension_commands first to get the exact name and parameters. Prefer a dedicated tool when one exists — use this for commands without one, including commands added by plugins. Pass element IDs (from find_element) as plain strings, usually under elementId. Element references in the result are returned as plain element ID strings. Some commands are destructive (closing apps, deleting files): confirm with the user before running those.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNoNamed parameters of the command, e.g. { "elementId": "…", "value": "Finance" }. Omit when it takes none.
commandYesExact command name as listed by list_extension_commands, e.g. "windows: getWindows"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only provide destructiveHint=true; the description goes further by naming which kinds of commands are destructive ('closing apps, deleting files') and instructing the agent to confirm with the user before running those, which is actionable context beyond the flag. It does not cover permissions, side effects on driver state, or timing, leaving a small gap.

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?

Every sentence carries load: purpose/examples, prerequisite, routing rule, arg convention, return convention, destructive warning. It is somewhat dense and reads as a wall of clauses, but nothing is redundant and the most important scoping rule ('prefer a dedicated tool') is stated early.

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

Completeness4/5

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

For a generic dispatch tool with a free-form nested `args` object and no output schema, the description covers the key unknowns: how to discover valid command names, how to supply IDs, and how elements are returned. Minor gaps remain around error behavior for unknown commands and arg type coercion.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real semantics: element IDs from find_element should be passed as plain strings, usually under `elementId`, and result element references come back as plain ID strings. That clarifies the nested `args` object's expected key conventions beyond the schema's generic 'Named parameters' note.

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?

States a specific verb ('Run') and resource ('any extension command ... by name') with two concrete examples of command naming ('windows: getWindows', 'pcomm: getScreenText'). It explicitly positions itself relative to siblings ('Prefer a dedicated tool when one exists'), so an agent can distinguish it from the dozens of dedicated element/window tools without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit prerequisite ('Call list_extension_commands first to get the exact name and parameters') and a clear when-to-use/when-not rule ('Prefer a dedicated tool when one exists — use this for commands without one, including commands added by plugins'). It also adds a confirmation policy for a subset of commands.

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

Deploy Server

Other Tools