Skip to main content
Glama
Arc DevTools MCP Server

Arc DevTools MCP Server

by fukayatti

press_key

Simulates a key press or key combination for keyboard shortcuts, navigation keys, and special combinations when standard text input methods cannot be used.

Instructions

Press a key or key combination. Use this when other input methods like fill() cannot be used (e.g., keyboard shortcuts, navigation keys, or special key combinations).

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": {
      "key": "<key>"
    },
    "name": "press_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesA key or a combination (e.g., "Enter", "Control+A", "Control++", "Control+Shift+R"). Modifiers: Control, Shift, Alt, Meta

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.8/5.0
Behavior3/5

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

The only annotation is readOnlyHint=false, which already signals this is an interactive/mutating action, and the description adds usage context rather than behavioral detail. It does not disclose that the target element must already have focus, that the key event fires no return value, or what happens if the key is unrecognized — gaps that matter for an interaction tool.

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?

Two short sentences with the core action first and the routing guidance second. Every clause carries information and nothing is padded.

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 one-parameter tool with no output schema and a simple annotation set, the description covers purpose and alternative routing adequately. The missing piece is the focus/precondition behavior, which is the most common failure mode for a key-press tool.

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 description coverage is 100% and the single parameter is fully documented in the schema, including modifier names and escaping examples like "Control++". The description's phrase "key or key combination" merely restates the schema, so the baseline of 3 applies.

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 description opens with a concrete verb+resource ("Press a key or key combination") and explicitly contrasts itself with fill(), which is the main ambiguity among input siblings. It stops short of a full 5 because things like click/hover, which also drive keyboard-adjacent interaction, are not distinguished.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Use this when other input methods like fill() cannot be used" gives a clear selection rule plus concrete example categories (keyboard shortcuts, navigation keys, special combinations). There is no explicit "do not use when" clause and the criterion "cannot be used" is left slightly open to interpretation, so it falls just short of a 5.

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