Skip to main content
Glama

browser_fill_form

Fill multiple form fields at once using snapshot refs to set textboxes, checkboxes, radios, comboboxes, and sliders in one action.

Instructions

Fill multiple form fields at once using their snapshot refs.

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

Input Schema

NameRequiredDescriptionDefault
fieldsYesForm fields to populate.
sessionIdNoOptional target browser session ID. If omitted, uses the currently active session (or auto-launches one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether the form is submitted, whether unfilled fields are preserved, what happens with an invalid/stale ref, or whether the fill is atomic. For a DOM-mutating tool this is a meaningful gap beyond the schema.

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?

A single tight sentence with the key mechanism (snapshot refs) and the batching distinction front-loaded; nothing is padded. It is efficient but borders on under-specified rather than optimally structured.

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?

Rich schema coverage compensates for the missing parameter detail, and no output schema is needed. Still, with zero annotations and no statement about submission side effects or ref validity, an agent lacks the behavioral context needed to invoke this confidently in edge cases.

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 each nested field (ref, name, type, value) is documented, so the baseline is 3. The description only echoes the ref requirement and the batching behavior, adding no semantics beyond 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?

The description states a specific verb and resource ('Fill ... form fields') and adds the scope differentiator 'multiple at once', which separates it from single-field siblings like browser_select_option or browser_click. It stops short of naming any sibling explicitly, so it lands at 4 rather than 5.

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?

'using their snapshot refs' implicitly tells the agent it must first call browser_snapshot to obtain refs, which is real usage context. However, it gives no explicit when-to-use vs. when-to-use-alternatives guidance and no exclusions (e.g., use this instead of repeated browser_select_option calls).

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