Skip to main content
Glama
verisoft-ai

windows2-mcp

by verisoft-ai

toggle_element

Toggle a checkbox or toggle button to change its state. Verify the result using the element selection check.

Instructions

Toggle a checkbox or toggle button via the UIA Toggle pattern. To confirm the resulting state, call is_element_selected after this.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
elementIdYesElement ID returned by find_element
Behavior3/5

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

With no annotations, the description carries the burden. It discloses that the tool toggles elements and suggests a verification step, but fails to mention permissions, error cases (e.g., non-toggleable elements), side effects, or return value. Adequate but not thorough.

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 remarkably concise with exactly two sentences: the first defines purpose and the second offers a actionable recommendation. No extraneous content exists.

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 simple single-parameter tool with no output schema, the description is largely complete. It names the action, target elements, and a follow-up step. It implicitly assumes knowledge of the UIA Toggle pattern, but overall provides sufficient context for correct use.

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?

The description does not add any additional meaning beyond what is already in the input schema, which has 100% coverage with a clear parameter description. Baseline score of 3 is appropriate.

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 clearly states the verb 'Toggle' and specifies the resources 'checkbox or toggle button' along with the mechanism 'via the UIA Toggle pattern'. This distinguishes it from sibling tools like click_element or invoke_element, which have different actions.

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 provides a post-action guideline ('call is_element_selected after this') but does not explicitly state when to choose toggle_element over alternatives like click_element or expand_element. The usage context is implied but not fully articulated.

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/verisoft-ai/windows2-mcp'

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