Skip to main content
Glama
jamesmurdza

Daytona Playwright MCP Server

by jamesmurdza

browser_press

Press keyboard keys like Enter, Tab, or shortcuts in a Chrome browser to interact with web pages and elements during automated testing.

Instructions

Press a keyboard key, optionally on a specific element.

Key examples: Enter, Tab, Escape, Backspace, Delete, ArrowUp, ArrowDown, Control+a, Control+c, Control+v, Shift+Tab, Alt+F4

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesKey to press (e.g., 'Enter', 'Tab', 'Escape', 'ArrowDown', 'Control+a')
selectorNoOptional selector to focus before pressing key
timeoutNoTimeout in milliseconds

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions pressing keys and optional element targeting but lacks critical behavioral details: whether this requires focus, what happens if the selector isn't found, if it waits for page changes, or any error conditions. The key examples are helpful but don't constitute full behavioral transparency.

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 extremely concise and front-loaded: the first sentence states the core purpose, and the second provides helpful examples without redundancy. Every sentence earns its place, and there's zero waste in the text.

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

Completeness3/5

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

Given the tool's moderate complexity (keyboard interaction in a browser), no annotations, and an output schema (which handles return values), the description is minimally adequate. It covers the basic action but lacks details on behavior, error handling, or integration with sibling tools, leaving gaps for an AI agent to infer correctly.

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 100%, so the schema already documents all parameters thoroughly. The description adds minimal value beyond the schema: it reiterates the optional element targeting and provides key examples, but these examples are already hinted in the schema's key description. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description clearly states the tool's purpose: 'Press a keyboard key, optionally on a specific element.' This is a specific verb+resource combination that distinguishes it from siblings like browser_type (typing text) or browser_click (mouse clicks). However, it doesn't explicitly differentiate from all keyboard-related operations that might exist in other contexts.

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

Usage Guidelines3/5

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

The description implies usage through the phrase 'optionally on a specific element,' suggesting this tool is for keyboard interactions in a browser context. However, it doesn't provide explicit guidance on when to use this vs. alternatives like browser_type (for text input) or browser_click (for mouse actions), nor does it mention prerequisites or exclusions.

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/jamesmurdza/playwright-daytona-mcp-server'

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