Skip to main content
Glama
verisoft-ai

windows2-mcp

by verisoft-ai

select_from_combobox

Selects an item by its exact text from a dropdown or list, opening it and closing it automatically. Avoids manual expansion and clicking when you know the entry's name.

Instructions

Select an entry by its text from a combo box / dropdown (or any list box or tree) in one call (windows: selectFromCombobox). Opens the container if needed, finds the entry whose Name is exactly value (including entries of virtualized lists that are not yet in the tree), selects it, and closes the popup again. Prefer this over expand_element + find_element + select_item/click_element whenever you know the text of the entry to pick. Pass the combo box itself, not an item inside it. Matching is exact and case-sensitive; if no entry matches, the popup is closed and the tool fails with "no such element" — then call expand_element and get_page_source to read the available entry names. Not suitable when the dropdown opens as a separate top-level window, or for editable combo boxes where you want to type free text (use set_element_value).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesExact text (UIA Name, case-sensitive) of the entry to select
elementIdYesElement ID of the combo box (or list box / tree container) returned by find_element

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A4.8/5.0
Behavior5/5

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

No annotations exist, so the description carries the full load — and it does: it discloses that the container is opened and the popup closed again, that virtualized entries not yet in the tree are still matched, that matching is exact/case-sensitive, and the precise failure mode ('no such element', with a recommended recovery via expand_element + get_page_source). That is far more than 'select' implies.

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?

Four front-loaded sentences with no filler; the recommendation and the target-element clarification appear before the failure/recovery detail. It is dense, but every sentence carries actionable information rather than restating the name.

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

Completeness5/5

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

With no annotations and no output schema, the description covers everything an agent needs: the target element, the matching rule, the side effects on the popup, the failure signature, and the recovery path. Nothing material is left to inference.

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 baseline is 3, but the description adds real meaning beyond the schema: 'Pass the combo box itself, not an item inside it' disambiguates the elementId target, and the exact/case-sensitive matching semantics for `value` are reinforced in prose.

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+resource+scope ('select an entry by its text from a combo box / dropdown (or any list box or tree) in one call'), with a concrete one-call contrast to the multi-step alternative. An agent can distinguish it from select_item/expand_element without opening any 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?

Explicitly says 'Prefer this over expand_element + find_element + select_item/click_element whenever you know the text', and names two exclusion cases (dropdown as separate top-level window, editable combo boxes for free text -> use set_element_value). When/when-not/alternatives are all present.

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