Skip to main content
Glama

browser_file_inputs

Lists file input fields in the main document, including hidden ones, and returns selector, accept, multiple, and disabled attributes without reading files from disk.

Instructions

fast only. Lists file fields of the main document, including hidden ones, with selector, accept, multiple and disabled. Does not read files from disk.

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": {
      "tabId": "<tabId>"
    },
    "name": "browser_file_inputs"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.4

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does usefully disclose scope (main document only, hidden fields included) and an explicit negative capability ('Does not read files from disk'), which tells the agent it is a safe metadata-only read. It stops short of stating read-only-ness explicitly or describing how many/which fields come back when none exist.

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?

Two tight sentences with no filler, and the returned attributes are listed inline. The leading 'fast only' fragment is front-loaded but under-explained, slightly costing readability while saving space.

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?

There is no output schema, so the description must carry return semantics; it names the four field attributes but not the response shape or empty-result behavior. Combined with the undocumented tabId, the definition is adequate but leaves real gaps for an agent trying to call it correctly.

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?

The single parameter tabId has 0% schema description coverage and is never mentioned in the description; 'main document' only loosely implies the tab scope. Without the description clarifying that tabId selects which browser tab's document is inspected, the agent must infer it.

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: 'Lists file fields of the main document, including hidden ones.' It also enumerates the attributes returned, which separates it from the mutation-oriented sibling browser_upload. The opening 'fast only' is cryptic but the core purpose is unambiguous.

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?

'fast only' implies a mode precondition (presumably the fast mode in browser_mode), which is genuine usage context. However, it gives no explicit guidance on the discovery-then-upload workflow, e.g. that browser_upload or browser_upload_click should be used afterward to actually submit a file.

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