Skip to main content
Glama
camoufox-agent

camoufox-agent

by VolanDeVovan

file_upload

Uploads one or more files through a file input or file-chooser button, resolving relative paths under the session working directory; use absolute paths for files elsewhere.

Instructions

Upload files through a file input (or a button that opens a file chooser). Relative paths are taken under the session's working directory and may not leave it; a file anywhere else needs an absolute path. The reply echoes the resolved paths.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ref": "<ref>",
      "paths": "<paths>"
    },
    "name": "file_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesRef of the file input (read_page lists it with role "file") or of the element that opens the chooser.
pathsYesFiles to upload.
tabIdNoTab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/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 and does well: it discloses the working-directory sandbox that relative paths cannot escape, the requirement for absolute paths elsewhere, and that the reply echoes resolved paths. It omits error behavior for invalid refs or unsupported file types.

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?

Three tight sentences, front-loaded with the action and followed by the constraint that most affects success. The path-resolution rules could be condensed slightly but nothing is wasted.

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?

Adequate for a 3-parameter tool with no annotations and no output schema, and it covers the one behavior the schema cannot express (path resolution). It stops short on multi-file semantics, error modes, and whether existing files are overwritten.

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?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: ref may identify either a file input or an element that opens the chooser, and paths are resolved relative to the session working directory or must be absolute. Only tabId is left to the schema.

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?

States a specific verb and resource ("Upload files through a file input") and clarifies that the target may also be a button that opens a file chooser. An agent can tell it apart from the sibling form_input, though the description never explicitly names it as the alternative.

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?

Usage is implied by the trigger condition (there is a file input or a chooser-opening element), and the path rules describe a real precondition. There is no explicit when-not guidance or naming of alternatives such as form_input, so the agent must infer the boundary.

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