Skip to main content
Glama

Fill Form Fields

browser_fill

Fill browser form fields by selector without submitting, keeping sensitive values out of logs and responses for safe, controlled automation.

Instructions

Fill one or more form fields by selector without automatically submitting the form. Sensitive values are redacted from logs and responses.

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYesForm fields to fill without submitting
task_idNoOptional task ID for execution tracking and cancellation
timeoutMsNoBounded wait timeout in milliseconds (500-60000)
session_idNoOptional target browser session ID (defaults to active default session)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is partly covered. The description still adds genuinely new behavior: values are written but never auto-submitted, and sensitive values are redacted from logs and responses — context an agent could not derive from the annotations.

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

Conciseness5/5

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

Two sentences, zero waste, with the most decision-relevant fact (no auto-submit) front-loaded. Nothing is repeated from the schema or the title.

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 four-parameter tool with full schema coverage and no output schema, the description covers the two behaviors that matter: no submission and value redaction. It does not say what happens when a selector is not found or how filling interacts with the bounded timeout, which would have made it complete.

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 selector, value, timeoutMs, session_id and task_id are all documented in the schema itself. The description's phrase "one or more form fields" lightly corroborates the array shape but adds no syntax, batching or ordering semantics beyond what the schema provides.

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 gives a specific verb and resource ("Fill one or more form fields by selector") plus a defining scope constraint ("without automatically submitting the form"). It is clear what the tool does, but it does not name which sibling to use instead for keyboard-driven typing (e.g. browser_type), leaving that distinction to inference.

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 "without automatically submitting" clause implies the intended use case (stage values, then submit separately), which is real guidance. However, there is no explicit when-to-use vs. when-not, and no pointer to an alternative for cases needing keystroke-level interaction.

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