Skip to main content
Glama

Fill in a form

browser_fill

Fill multiple form fields in one call by element ID: text fields, dropdowns, checkboxes, radios, and switches. Each field reports its result; submit with browser_click afterward.

Instructions

Fill several fields of a form in one call (ids from browser_elements): text fields get the text, dropdowns (native, custom or searchable) pick the option by its text, checkboxes/radios/switches are set on (true) or off (false). Much faster than one call per field. Each field reports its result; submit with browser_click afterwards.

Input Schema

NameRequiredDescriptionDefault
fieldsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.1

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses per-field result reporting and the follow-up submit step, but says nothing about failure behavior (abort vs. continue), whether existing text is cleared, or whether it waits for elements to be ready.

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?

Front-loaded and dense, with each clause carrying information. The opening sentence is long and stacks several type-mapping clauses, but nothing is wasted.

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 batch mutation tool with no annotations and no output schema, the description covers value semantics, id sourcing, per-field reporting, and the next step. The main gaps are error/partial-fill behavior and pre-existing value handling, which an agent would reasonably want to know.

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 description coverage is effectively 0% for the value field and the array structure, so the description must compensate — and it does, explaining that text fields take the text string, dropdowns take the option text, and checkboxes/radios/switches take true/false. The target format is only loosely covered via 'ids from browser_elements'.

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 (fill) on a specific resource (several fields of a form) and defines behavior per field type, which distinguishes it from the single-field siblings browser_type and browser_select. The batch scope is front-loaded ('in one call').

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Points to browser_elements for the element ids and to browser_click for submitting afterwards, and implies the alternative of one-call-per-field. It never names browser_type/browser_select explicitly, so the routing is implied rather than spelled out.

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