Skip to main content
Glama

browser_press_key

Press keyboard keys like Enter, Tab, or Escape in the browser to automate interactions, submit forms, and navigate web pages during automation tasks.

Instructions

Press a keyboard key (Enter, Tab, Escape, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesKey name: 'Enter', 'Tab', 'Escape', 'Backspace', 'ArrowDown', etc.
Behavior2/5

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

No annotations are provided, so the description must carry the behavioral transparency burden. However, it adds nothing beyond the schema's parameter description, failing to disclose where the key press is sent, side effects, or expected response. This is minimal and lacks substantive context.

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?

The description is a single, well-structured sentence that front-loads the action and includes relevant examples. There is no redundant or unnecessary content.

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?

For a browser automation tool with no annotations or output schema, this description is too sparse. It omits crucial context such as where the key press occurs (active element, webpage), when to use it, and potential side effects, leaving the agent guessing about the tool's behavior.

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?

The input schema fully describes the 'key' parameter with examples (Enter, Tab, Escape, etc.), achieving 100% coverage. The description itself adds no additional meaning, so the baseline score of 3 applies.

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?

The description clearly states the action ('Press a keyboard key') and provides examples of valid keys, distinguishing it from sibling tools like browser_click and browser_type. It is specific and communicates the tool's primary purpose effectively.

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?

There is no guidance on when to use this tool versus alternatives such as browser_click or browser_type, nor any mention of prerequisites or contextual use cases. The description only states the action itself.

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/mazamakasa/octo-mcp'

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