Skip to main content
Glama

browser_fill

Fill form fields, textareas, or contenteditable elements by CSS selector to automate data entry on browser pages controlled by Open Browser Agent.

Instructions

Fill an input, textarea or contenteditable element selected by CSS.

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

Input Schema

NameRequiredDescriptionDefault
valueYes
selectorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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 largely drops it. It does not say whether existing content is replaced or appended, whether input/change events are dispatched (critical for framework-controlled inputs), whether focus is set, or what happens when the selector matches nothing or a non-fillable element.

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 front-loaded sentence with no filler or redundant restatement of the name. It is efficient, but its brevity comes at the cost of the omissions noted elsewhere rather than being tightly scoped.

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?

This is a mutating browser action with no annotations, no output schema, and zero parameter coverage, so the description must do all the work and instead provides one sentence. Failure behavior, event dispatch semantics, and the value parameter's meaning are all absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the two required parameters rely entirely on the description. Only the selector is given meaning ('selected by CSS'); the value parameter, its 20000-character cap, and selector length limits are left completely undocumented.

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?

Names a specific verb (Fill) and the exact element classes it works on (input, textarea, contenteditable), plus how the target is located (CSS selector). That is enough to distinguish it from browser_click, though the description never explicitly contrasts the two.

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?

There is no statement of when to use this rather than browser_click or browser_run_steps, and no prerequisites such as the page needing to be open or the element needing to be visible. The element-type list implies text entry rather than button activation, which is the only implicit guidance present.

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