Skip to main content
Glama

Press Browser Key

press_key
Destructive

Press keyboard keys (Escape, Enter, Tab, arrows) to test web UI interactions like modals, forms, and menu navigation.

Instructions

Press a keyboard key — the web-mode equivalent testers reach for constantly.

key is a Playwright key name: "Escape" (dismiss a modal/overlay), "Enter" (submit a focused field), "Tab" / "Shift+Tab" (keyboard navigation / focus order), "ArrowDown"/"ArrowUp"/"ArrowLeft"/"ArrowRight" (menus, sliders, listboxes), "Backspace", "Delete", "PageDown", "Home", or a chord like "Control+a". Optionally pass description to focus that element first (e.g. press ArrowRight on "the volume slider"); omit it to press at the page level (e.g. Escape to close whatever modal is open).

Real users hit keys — a modal you can only close with Esc, a form that submits on Enter, arrow-key menu nav, focus-order bugs — none of which click/type can exercise. After it, observe() to see what changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
descriptionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate destructiveHint and openWorldHint. Description adds context about key effects and focusing elements, but does not fully expand on behaviors beyond the action. No contradiction.

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?

Well-structured and front-loaded with purpose. Somewhat lengthy but each sentence adds value. Minor redundancy but overall effective.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given two simple parameters and an output schema, the description is complete. Covers purpose, parameter details, use cases, and next steps (observe). No gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so description carries full burden. It lists valid Playwright key names and explains the description parameter for focusing elements. Adds significant meaning beyond the 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 keyboard key, lists examples like Escape, Enter, Arrow keys, and distinguishes from click/type. Specific verb+resource with sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly describes when to use (modal close, form submit, arrow navigation, focus-order bugs) and that click/type cannot exercise these. Recommends using observe after. No explicit exclusions but context is clear.

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/chriswu727/argus'

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