Skip to main content
Glama
windows-computer-use-mcp

windows-computer-use-mcp

computer_press_key

Sends Windows SendKeys sequences like {ENTER}, ^s, or %{F4} to an allowed foreground app, enabling keyboard automation and shortcut execution.

Instructions

Send a Windows SendKeys sequence such as {ENTER}, ^s, or %{F4} to an allowed foreground app.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "keys": "<keys>"
    },
    "name": "computer_press_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description does disclose useful behavior: Windows SendKeys syntax, a foreground-app requirement, and an allow-list gate. It omits what happens on disallowed or unfocused targets, whether the call waits or confirms delivery, and any return value.

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?

One tight sentence with the key concept and examples up front and no filler. Slightly dense, but every clause (SendKeys, examples, foreground app) earns its place.

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

Completeness3/5

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

For a one-parameter tool with no output schema and no annotations, the description covers the essentials but leaves gaps: focus prerequisites, failure behavior, and the string-length bound are unstated.

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?

Schema coverage is 0% for the single keys parameter, so the description carries the burden. It partially compensates with concrete SendKeys examples, but never explains modifier meanings (^ for Ctrl, % for Alt) and doesn't mention the 100-character limit.

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 and resource: sends a Windows SendKeys sequence. The examples ({ENTER}, ^s, %{F4}) make the key-chord/keystroke nature explicit and implicitly separate it from a literal-text typing tool, though no sibling is named.

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 phrase 'to an allowed foreground app' conveys a real precondition (the target must already be focused and allow-listed), which implies using a focus tool first. It never explicitly contrasts with computer_type_text, so an agent must infer that literal text goes there and key sequences go here.

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