Skip to main content
Glama

browser_file_upload

Destructive

Upload files to a webpage's file input by specifying absolute paths. Supports single or multiple files; omitting paths cancels the upload dialog.

Instructions

Upload one or multiple files

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathsNoThe absolute paths to the files to upload. Can be single file or multiple files. If omitted, file chooser is cancelled.
Behavior2/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false, so the mutation aspect is covered. The description adds no behavioral context beyond 'upload' — it does not disclose file-chooser interaction, side effects, or that omitting paths cancels the chooser. The cancellation detail is only in the schema, not the description.

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, containing no filler or redundant explanation. Six words convey the core action and cardinality.

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?

For a one-parameter tool with rich schema coverage and annotations covering the safety profile, the description is nearly sufficient. It lacks explicit context about uploading to the current page via a file chooser, but the schema partially compensates. No output schema exists, but the action is simple enough that a return-value explanation is not critical.

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% and the paths parameter is well described: absolute paths, multiple files, and cancellation behavior when omitted. The description itself adds no parameter meaning beyond what the schema already provides, so the baseline of 3 applies.

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 states a clear action ('Upload') and a resource ('files'), and notes single or multiple files. It is not a tautology, but it does not differentiate from sibling tools like browser_drop or explain the target of the upload, so it lacks full sibling distinction.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool instead of alternatives. There is no mention of file-chooser contexts, when browser_drop would be more appropriate, or any 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/1000carlospena-prog/playwright-mcp-render-mthnzbdq'

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