Skip to main content
Glama

browser_press_key

Press a keyboard key (Enter, Escape, Tab, Backspace, ArrowDown) in a specified browser tab to trigger navigation, form submission, or focus changes during automation.

Instructions

Press a keyboard key (e.g. Enter, Escape, Tab, Backspace, ArrowDown).

Input Schema

NameRequiredDescriptionDefault
keyYes
tab_indexNo

Output Schema

NameRequiredDescriptionDefault
resultYes

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, and it is silent on where the key is delivered (focused element vs. active tab), whether focus is required first, whether modifiers/shortcut combinations are supported, or whether the action can trigger page navigation. The key examples are the only real information offered.

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 tight sentence with no filler and the core action front-loaded. It is efficient, though arguably undersized given the complete absence of schema documentation.

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?

An output schema exists so return values need no explanation, but the tool has two undocumented parameters, no annotations, and no usage context. For an input tool with 0% schema coverage, the description does not provide enough for an agent to call it confidently.

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 0%, so the description must compensate for both parameters. The key-name examples ('Enter', 'Escape', 'ArrowDown') do clarify the expected key format, which is genuinely useful, but 'tab_index' is left entirely unexplained in both the schema and the description.

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 keyboard key') with concrete examples of valid key names. It is clear enough to distinguish from browser_type and browser_click, though it never explicitly contrasts itself with those siblings.

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?

The description gives no guidance on when to use this tool versus browser_type, browser_click, or browser_focus, and no prerequisites (e.g. an element must be focused first). Usage is only implied by the tool name.

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