Press a key
browser_press_keySimulates pressing a keyboard key in the browser to trigger page interactions or shortcuts.
Instructions
Press a key on the keyboard
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| _meta | No |
browser_press_keySimulates pressing a keyboard key in the browser to trigger page interactions or shortcuts.
Press a key on the keyboard
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| _meta | No |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate destructiveHint=true and readOnlyHint=false, so the agent knows it is a mutating action. However, the description adds no extra behavioral context, such as whether keyboard shortcuts are supported, how it interacts with page focus, or that pressing certain keys (e.g., Alt+F4) could close the browser.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single short sentence with no wasted words, but it is under-specified. It does not add meaningful information beyond the title, making it more of a restatement than a useful elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity, this is a minimal description, but with many sibling tools and no output schema, the agent needs more context about when to press a key, what key formats are accepted, and potential side effects. The current description is insufficient for reliable selection and invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% and the description does not explain the 'key' parameter. There are no enums or format hints, so the agent has no guidance on what values to use (e.g., 'Enter', 'a', 'ArrowUp'). The description completely fails to compensate for the lack of schema documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Press a key on the keyboard' uses a specific verb and resource, clearly distinguishing it from sibling tools like browser_type (which types text) and browser_click (which uses the mouse). It is slightly terse but unambiguous about the core action.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. For instance, it does not clarify whether this should be used for individual key presses while browser_type is for text entry, nor does it mention any prerequisites like element focus.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chandu-cpz/camoufox-playwright-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server