Skip to main content
Glama
devinwang

cloak-browser-mcp

by devinwang

browser_file_upload

Upload files to the active file chooser in automated browser sessions. Paths are constrained to --upload-allow-dir if set.

Instructions

Upload files to the active file chooser. Paths must be inside --upload-allow-dir if set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathsYesAbsolute file paths. Constrained to --upload-allow-dir if set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose two useful behavioral facts not in annotations: the tool requires an active file chooser dialog, and paths are constrained by --upload-allow-dir. However, it says nothing about failure modes, whether prior selections are replaced, or how errors surface.

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 tight sentences with the core action front-loaded and the constraint as a follow-up. No filler; every clause earns its place.

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 single-parameter action tool with no output schema and no annotations, the description covers the essential precondition and the path constraint. It is nearly complete, with only error/replacement behavior left unspecified.

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 there is only one parameter, so the schema already documents 'paths' fully. The description's path-constraint sentence duplicates the schema rather than adding syntax or format detail. Baseline 3 is appropriate.

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?

States a specific verb (upload) and resource (files) with a clear target (the active file chooser), which distinguishes it from siblings like browser_drag and browser_drop. An agent can tell immediately what this tool does and where it acts.

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 phrase 'active file chooser' implies the precondition that a file chooser dialog must already be open, but the description gives no explicit when-to-use guidance or alternatives (e.g., browser_drop for drag-drop scenarios). Usage is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.