Skip to main content
Glama
Browser Controller

Browser Controller

by compnew2006

browser_fill

Fills text, date, select, toggle, and file fields in a browser tab using targets and values; never submits the form.

Instructions

Fill up to 50 fields: text/date/time/color/range, select, toggle or file. Select uses value/label; toggles use booleans. File paths must be absolute. Never submits.

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>",
      "fields": "<fields>"
    },
    "name": "browser_fill"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdYes
expectNo
fieldsYes
observeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden; it does disclose the mutation scope (up to 50 fields), that no submission occurs, and the absolute-path requirement for files, which are meaningful traits. It is silent on failure behavior, whether it waits for elements, whether it overwrites existing values, and what the 'expect'/'observe' options do.

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?

Four short, front-loaded sentences with no filler; the type enumeration leads and the critical 'never submits' constraint closes. The telegraphic, comma-spliced style is dense but each sentence carries distinct information.

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?

No output schema and no annotations, so the description needs to explain behavior; it covers the main risks (no submit, file paths, value typing, 50-field limit). Gaps remain around the two auxiliary parameters (expect, observe) and error/return behavior, which an agent would need before relying on it.

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 coverage is 0% and there are four parameters including a nested target object, so the description must compensate. It does add real semantics for the polymorphic 'value' (select takes value/label, toggles take booleans, files take absolute paths), but tabId, expect (urlIncludes/textIncludes), observe ('diff') and the role/name/nth target shape are left entirely 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 (fill) and resource (form fields), and enumerates the supported field kinds (text/date/time/color/range, select, toggle, file) plus the 50-field cap. It does not name or contrast with siblings such as browser_type, so an agent must infer the boundary between 'fill a form control' and 'type text'.

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 closing 'Never submits' implies the follow-up step (a separate click/submit is needed), which is useful usage context. However there is no explicit when-to-use vs. browser_type/browser_click guidance and no statement of preconditions such as the element already being present or the tab being navigated.

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