Skip to main content
Glama

browser_fill

Destructive

Enter or replace text in a focused element, CSS selector, or x/y coordinates, with options to append, target hidden tabs, and verify the result.

Instructions

Focus @eN, CSS, or (x, y) and type text (replaces unless append=true). Pass front=true if hidden and fast=true for instant trusted insert.

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

Input Schema

NameRequiredDescriptionDefault
xNoX coordinate.
yNoY coordinate.
tabNoTab index string (e.g. '0'), targetId, or URL/title substring.
fastNoInstant trusted insert.
frameNoIframe #fN, id, URL substring, or 'any'.
frontNoRaise hidden tab first.
valueYesText to enter.
appendNoAppend instead of replace (with x+y).
verifyNoCSS selector to verify after fill.
selectorNoCSS selector or @eN ref.
syntheticNoUse DOM value setter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds meaningful context beyond that: the default overwrites existing text and append=true preserves it, plus front=true handles hidden tabs and fast=true changes the insertion mechanism. It does not address what happens when a selector matches multiple elements or what a failed fill looks like, so it stops short of full transparency.

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?

Two short sentences with the targeting modes front-loaded and the key modifiers in parentheses; there is no wasted prose. The telegraphic style is dense but still readable, with only minor loss of clarity from cramming three options into one clause.

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?

For an 11-parameter destructive tool with no output schema, the description covers the core targeting and replacement behavior but omits tab/frame targeting, the verify selector, and the synthetic fallback. Since the schema and annotations carry much of that burden, the gap is moderate rather than severe.

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 all eleven parameters are already documented in the schema. The description reinforces append, front, and fast but adds little meaning beyond what the schema states, and the remaining parameters (verify, synthetic, frame, tab) are untouched. A baseline 3 is appropriate.

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 names the action (type text) and the three targeting modes (@eN ref, CSS selector, or x/y coordinates), which is concrete enough to act on. It does not distinguish this from siblings like browser_press or browser_eval, so an agent gets no explicit contrast, keeping it below a 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?

Conditional guidance is given for three parameters (append=true to append, front=true for hidden tabs, fast=true for instant trusted insert), which implies when to use each option. However, there is no statement of when to choose browser_fill over sibling tools such as browser_press or browser_eval, so usage is only implied.

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