Skip to main content
Glama

page_press

Presses a specified keyboard key, such as Enter, Tab, Escape, arrows, or PageUp/PageDown, to send input to a browser or Windows desktop. Use it to trigger navigation, form submission, or cursor movement.

Instructions

按一个键:Enter、Tab、Escape、Backspace、Delete、Home、End、ArrowUp、ArrowDown、ArrowLeft、ArrowRight、PageUp、PageDown。

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": "page_press"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only lists valid inputs. It says nothing about which element receives the key, whether the call blocks until the key event settles, whether any auth or browser session is required, or what the tool returns.

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?

One sentence, front-loaded with the action, then the closed value set. No filler and nothing an agent must scan past to reach the operative information.

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 single-parameter, no-output tool this covers valid inputs adequately but omits focus/target semantics and result behavior, which are the remaining unknowns for a keyboard-interaction tool. Annotations are absent, so those gaps are not covered elsewhere.

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 0% — the schema declares only a bare string — so the description's enumeration of the thirteen allowed key names is the sole definition of valid values and materially prevents bad calls. It stops short of specifying case sensitivity or whether chord/modifier syntax is accepted.

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 gives a specific verb ('press') and a concrete resource (a keyboard key), then enumerates exactly which keys are permitted. An agent can distinguish this from page_type (text entry) by the key vocabulary alone, though the description never explicitly states that contrast.

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

Usage Guidelines2/5

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

It does not say when to prefer this over page_type, page_click, or page_wait, nor any prerequisite such as whether the page must be focused or loaded first. The key list implies a narrow intended use but no selection guidance is given.

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