Skip to main content
Glama
thebtf

netcoredbg-mcp

by thebtf

ui_key_sequence

Send keyboard key sequences with modifiers to UI elements and report cleanup evidence, including correct expansion of WPF menu hierarchies.

Instructions

Send keys while holding modifiers and report cleanup evidence.

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

TableJSON Schema
NameRequiredDescriptionDefault
keysYes
nameNo
xpathNo
root_idNo
modifiersYes
control_typeNo
automation_idNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.17.2

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the minimal openWorldHint annotation, the description discloses that the tool reports cleanup evidence and explains nuanced behavioral traits around WPF submenu materialization. It also warns about the limitations of invoking parent menus. However, it does not clarify what the cleanup evidence is or how modifiers are released, leaving some behavioral aspects opaque.

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 front-loaded with a clear purpose statement, followed by a dense but relevant usage paragraph. Each sentence contributes value, though the second paragraph is lengthy and could be considered too specific, but it is structured logically.

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?

Given the tool's complexity (7 unannotated parameters, no output schema, minimal annotations), the description is incomplete. It covers the WPF menu scenario in depth but omits general use cases, parameter semantics, and the meaning of cleanup evidence. This leaves significant gaps for an agent trying to use the tool outside the described scenario.

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

Parameters1/5

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

The schema has 0% description coverage, so the description must compensate, but it does not explain any parameter meanings. It mentions 'keys' and 'modifiers' generically but provides no details about the array formats, locator parameters (name, xpath, root_id, automation_id), or control_type. The description is entirely focused on a special case and ignores parameter semantics.

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?

The first sentence clearly states the tool sends keys while holding modifiers and reports cleanup evidence. This distinguishes it from simple key senders like ui_send_keys by adding modifier holding and cleanup reporting, though it does not explicitly name sibling tools.

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?

The description provides explicit guidance for a specific scenario (WPF MenuItem headers), including scoping the ENTER key to the parent, rediscovering popup children, invoking through ui_invoke, and avoiding fixture-specific handlers. It also advises using pre/post UI oracles and clarifies that a missing child after expansion is a harness observation, not a product defect.

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/thebtf/netcoredbg-mcp'

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