Skip to main content
Glama
jamesmurdza

Daytona Playwright MCP Server

by jamesmurdza

browser_click

Click web page elements using CSS selectors, XPath, or text patterns for browser automation in Daytona Playwright MCP Server.

Instructions

Click on an element on the page.

Supports CSS selectors, XPath, and text selectors. Examples:

  • CSS: "button.primary", "#submit-btn", "[data-testid='login']"

  • XPath: "//button[@type='submit']"

  • Text: "text=Sign In", "text=Submit"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYesCSS selector, XPath, or text to click (e.g., 'button.submit', '//button[@id="login"]', 'text=Sign In')
buttonNoMouse button to useleft
click_countNoNumber of clicks (1 for single, 2 for double)
timeoutNoTimeout in milliseconds

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions supported selector types but doesn't describe what happens on failure (e.g., if element not found), whether it waits for element visibility, or any side effects like page navigation. For a browser interaction tool with zero annotation coverage, this leaves significant behavioral gaps.

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 perfectly structured: a clear purpose statement followed by supporting information and concrete examples. Every sentence earns its place, with no redundant or unnecessary information. The examples are directly relevant and enhance understanding without verbosity.

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 complexity (browser interaction with 4 parameters), no annotations, but 100% schema coverage and an output schema exists, the description is adequate but incomplete. It covers the core action and selector examples but misses important behavioral context like error conditions, waiting behavior, or interaction consequences that would be valuable for an AI agent.

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 4 parameters thoroughly. The description adds examples for the 'selector' parameter (CSS, XPath, text formats) which provides helpful context beyond the schema's generic description, but doesn't add meaningful semantics for other parameters. Baseline 3 is appropriate when schema does the heavy lifting.

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 specific action ('Click on an element') and resource ('on the page'), distinguishing it from sibling tools like browser_hover, browser_press, or browser_type. The first sentence directly communicates the tool's function without ambiguity.

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 examples of selector types (CSS, XPath, text) but doesn't explicitly state when to use this tool versus alternatives like browser_press (for keyboard) or browser_hover. It provides some context but lacks explicit guidance on tool selection among siblings.

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