Skip to main content
Glama
killaragorn

cdp-browser-mcp

by killaragorn

cdp_upload

Upload files to a file input element in a browser session controlled via CDP. Provide session ID, selector, and file paths from the server machine.

Instructions

Set files on an . Paths must exist on the machine running this MCP server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYes
selectorYes
session_idYesSession id returned by cdp_connect
Behavior3/5

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

With no annotations, the description must carry behavioral details. It discloses the target element type and the path existence requirement, but does not mention side effects, event triggering, or behavior on invalid selectors. This is minimal but not misleading.

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?

Two sentences, no fluff, front-loaded with the core action.

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 simple 3-parameter tool with no output schema, the description gives purpose and a key constraint, but lacks details about return values, failure modes, or whether the operation waits for upload. It's adequate but not comprehensive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only session_id is described in the schema (33% coverage); the description adds meaning by indicating 'files' are server-side paths and 'selector' targets a file input. This compensates for the low schema coverage.

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 tool's function: setting files on an `<input type=file>`. It uses a specific verb and resource, and its purpose is distinct from sibling navigation and interaction tools.

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 when a file input needs to be populated, and adds a critical prerequisite that paths must exist on the server machine. However, it does not explicitly state when to prefer this over other input tools like cdp_type, nor does it provide 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/killaragorn/cdp-browser-mcp'

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