Skip to main content
Glama
netcoredbg-mcp

netcoredbg-mcp

by thebtf

ui_key_sequence

Send key sequences with modifier keys held, then report cleanup evidence for GUI automation in WPF, WinForms, and Avalonia apps.

Instructions

Send keys while holding modifiers and report cleanup evidence.

keys accepts NUMPAD0 through NUMPAD9, NUMPADADD, NUMPADSUBTRACT, NUMPADMULTIPLY, NUMPADDIVIDE, NUMPADDECIMAL, NUMPADENTER and NUMLOCK, optionally enclosed in braces. NUMLOCK presses/releases the key; it does not set a requested lock state. Physical delivery requires the FlaUI backend.

For WPF top-level MenuItem headers, scope the native ENTER key to the parent, then rediscover the popup child after expansion and invoke its exact child through a separate ui_invoke. Do not add a fixture-specific key handler. Invoking the parent menu alone does not ensure submenu peers materialize. Use pre/post UI oracles; a missing child after verified expansion is a harness observation, not automatically a product defect.

Input Schema

NameRequiredDescriptionDefault
keysYes
nameNo
xpathNo
root_idNo
modifiersYes
control_typeNo
automation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.17.2

TDQS

B3/5.0
Behavior3/5

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

Annotations carry almost nothing (only openWorldHint=false), so the description bears the burden and does disclose useful behavior: the accepted NUMPAD/NUMLOCK key vocabulary, that NUMLOCK toggles rather than sets a lock state, and that physical delivery needs the FlaUI backend. It is silent on the post-conditions that matter for a key-injection tool — whether modifiers stay held afterwards (cf. ui_release_modifiers/ui_get_held_modifiers), whether the target is focused first, and what "cleanup evidence" actually contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, which is good, but the second half sprawls into a long menu-specific anecdote about harness observations vs. product defects that crowds out more broadly useful information. The key vocabulary block is justified; the MENU guidance is over-weighted.

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?

For a 7-parameter input-injection tool with no output schema and near-zero schema documentation, the description leaves the caller unable to construct a valid target argument or predict the returned evidence. The FlaUI-backend note is the only hint that delivery can fail; failure modes and return shape go unexplained.

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 7 parameters, so the description must compensate — and it only covers `keys` (with a valuable enum-like key list). The five target-selection parameters (name, xpath, root_id, control_type, automation_id) and the required `modifiers` array are never explained, including whether they are mutually exclusive or how an element is resolved.

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 concrete verb+resource ("Send keys while holding modifiers") plus an unusual side effect ("report cleanup evidence"). The modifier-holding aspect implicitly separates it from ui_send_keys/ui_send_keys_focused, but those siblings are never named, so the agent must infer the boundary from the phrasing rather than being told.

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?

Gives real usage guidance, but only for one narrow scenario: the WPF MenuItem workflow (scope ENTER to the parent, rediscover the popup child, invoke via ui_invoke, don't add a fixture-specific handler, use pre/post oracles). Nothing says when to pick this over ui_send_keys, ui_send_keys_focused, ui_send_keys_batch, or ui_hold_modifiers, which is the more common selection problem.

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