Skip to main content
Glama

browser_press

Press a single key (e.g., Enter, Escape, Tab, ArrowDown) on a web page or app after optionally focusing an element.

Instructions

Press a single key (e.g. Enter, Escape, Tab, ArrowDown) on the page. For typing text use browser_type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesKey name to press, e.g. Enter, Escape, Tab, ArrowDown.
selectorNoOptional CSS selector to focus before pressing the key.
Behavior3/5

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

Annotations (openWorldHint: true, destructiveHint: false) already indicate side-effect potential and safety. Description does not add details beyond the basic action, such as focus requirements or possible side effects.

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 concise sentences, front-loaded with purpose and a clear alternative reference, no redundancy.

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?

Adequate for a simple action: mentions single key press, alternative for typing, and optional selector. Could mention if keys cause navigation or default actions, but overall sufficient.

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 covers both parameters with descriptions; description adds concrete examples for 'key' (e.g., Enter, Escape), enhancing clarity beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states it presses a single key on the page, with examples (Enter, Escape, Tab, ArrowDown), and explicitly distinguishes from browser_type for typing text.

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?

Provides clear context for use (pressing single keys) and mentions browser_type as alternative for typing, but lacks explicit when-not-to-use or eligibility criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vincentvella/devloop'

If you have feedback or need assistance with the MCP directory API, please join our Discord server