Skip to main content
Glama
DanEvenSegler

Extended Playwright MCP Server

browser_upload_file_direct

Destructive

Bypass the file-chooser modal by directly setting local file paths on a file input element for automated uploads.

Instructions

Directly sets input files on a file input element bypassing the file-chooser modal requirement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathsYesArray of local file paths to upload.
targetYesSelector or snapshot ID of the file input element.
Behavior3/5

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

Annotations already declare the tool as destructive and a write operation, and the description adds the specific behavioral detail of bypassing the modal. However, it does not disclose additional traits such as replacement of existing selections, error conditions, or side effects on the page.

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?

Single sentence, immediately front-loaded with the action, and every word contributes useful information. No redundancy or structure issues.

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

Completeness4/5

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

Despite the short length, the combination of the description and schema fully specifies how to invoke the tool: target identifies the file input element, paths provides local file paths, and the description clarifies the direct bypass mechanism. An output schema is absent, but for this simple mutation the description is sufficiently 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% with both parameters clearly described. The description adds no extra parameter-level meaning, so per rules the baseline score is 3.

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?

Description clearly states a specific action ('directly sets input files on a file input element') and includes a differentiator ('bypassing the file-chooser modal requirement'), which distinguishes it from standard upload tools. This gives the agent an accurate understanding of the tool's unique function.

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 a use case (when bypassing the file-chooser modal is desired) but does not explicitly state when to use this tool versus siblings like browser_file_upload or browser_drop, and lacks exclusions or prerequisites.

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/DanEvenSegler/extended-playwright-mcp'

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