Skip to main content
Glama
playwright-mcp-router

playwright-mcp-router

by huangzt

browser_fill_form

Destructive

Fills multiple form fields at once to automate repetitive browser input, with support for textboxes, checkboxes, radio buttons, comboboxes, and sliders.

Instructions

Fill multiple form fields

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

Input Schema

NameRequiredDescriptionDefault
colorNoOptional Chrome tab group color override for a newly created session.
fieldsYesFields to fill in
accountNoChrome account profile to use (defaults to 'default'). Configured accounts: 'default' (Isolated Browser).default
sessionYesRequired isolated session name (also displayed as the Chrome tab group title), e.g. "T1867-api-debug" or "home-css". Use a unique, descriptive task name per conversation so concurrent agents never hijack each other's active tab.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, so the agent already knows this mutates page state; the description adds nothing to that — no mention of whether existing values are overwritten, whether a submit is triggered, or that a session must already be active. For a destructive tool, this is a substantive gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four words, front-loaded and free of waste — but the brevity is under-specification rather than disciplined concision for a tool with a nested required array and destructive semantics.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The schema carries the parameter detail, but nothing in the description explains the isolated-session model, the need for element references from a snapshot, or the consequences of a destructive fill. Given the openWorld and destructive annotations and no output schema, the definition is thinner than the tool's complexity warrants.

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%, so the session, fields, target and value semantics are fully documented in structured data. The description contributes no additional meaning about the nested field objects or how enum types map to values; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb (Fill) and a resource (multiple form fields); the word "multiple" hints at batching versus singular interaction tools like browser_click or browser_select_option, but no sibling is named and the scope (one page? one form? multiple forms?) is left unstated.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance. Nothing tells the agent to prefer this over repeated browser_click/browser_select_option calls, nor whether it requires a prior browser_snapshot to obtain target references.

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