Skip to main content
Glama

press

Send keyboard keys such as Enter, ArrowDown, Tab, or Escape to the current page to open and navigate menus or dropdowns controlled by the keyboard.

Instructions

Press a key such as Enter, ArrowDown, Tab or Escape on the current page, for menus and dropdowns that open from the keyboard.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
allow_writesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not disclose the presence or effect of the allow_writes gate, whether the press targets a focused element, or what happens on failure — all relevant for a keyboard-interaction tool that can trigger page mutations.

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?

A single well-formed sentence with the action front-loaded and the use case trailing it. No filler, though it is arguably too short given the undocumented allow_writes gate.

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?

With no annotations, no output schema, and 0% schema coverage, the description is the only source of behavioral information, and it omits the write-safety model implied by allow_writes=false. For a tool that interacts with live page state, this leaves meaningful gaps.

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% for two parameters. The key examples hint at the expected key-name format, but the allow_writes parameter — which defaults to false and clearly governs whether keyboard actions may trigger writes — is never explained anywhere in the definition.

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 specific verb and resource ('Press a key') on the current page, and the examples (Enter, ArrowDown, Tab, Escape) make the action unambiguous. It does not explicitly contrast with the sibling 'type' tool, which also sends keyboard input, so the boundary between pressing a named key and typing text is left implicit.

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 clause 'for menus and dropdowns that open from the keyboard' gives an implied usage context, which is better than nothing. However, there is no explicit when-to-use/when-not guidance and no mention of the alternative 'click' or 'type' tools, so the agent must infer the routing itself.

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