Skip to main content
Glama
jamesmurdza

Daytona Playwright MCP Server

by jamesmurdza

browser_upload_file

Upload files to web forms by specifying a CSS selector and local file path for automated browser testing and interaction.

Instructions

Upload a file to a file input element.

Note: The file must exist on the machine running this MCP server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYesCSS selector for the file input element
file_pathYesPath to the file to upload (on your local machine)
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 but only mentions the local file requirement. It doesn't disclose critical behavioral traits like whether this triggers form submission, handles authentication needs, manages file size limits, or what happens on upload failure. The timeout parameter hints at asynchronous behavior but isn't explained.

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?

The description is efficiently structured with a clear purpose statement followed by a critical note. Both sentences earn their place, though it could be slightly more front-loaded by integrating the note into the main statement. No wasted words or redundancy.

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?

For a 3-parameter tool with 100% schema coverage and an output schema (which handles return values), the description is minimally adequate. However, as a mutation tool with no annotations, it should provide more behavioral context about side effects, error conditions, and integration with other browser tools to be truly complete.

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%, providing clear documentation for all parameters. The description adds minimal value beyond the schema by reinforcing the local file requirement for 'file_path', but doesn't explain parameter interactions or provide usage examples. Baseline 3 is appropriate given the comprehensive 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?

The description clearly states the specific action ('upload a file') and target resource ('to a file input element'), distinguishing it from sibling tools like browser_click or browser_type. It precisely identifies 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 for file uploads to web forms via file input elements, but provides no explicit guidance on when to use this tool versus alternatives like browser_type for text input or browser_click for button interactions. It mentions a prerequisite (file must exist locally) but lacks sibling differentiation.

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