Skip to main content
Glama
Real Browser MCP

Real Browser MCP

by qxZap

Fill Input

browser_fill

Clears and fills a specified input or textarea using a CSS selector, enabling automated form entry in a real browser.

Instructions

Clear and fill an input/textarea.

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

Input Schema

NameRequiredDescriptionDefault
textYesText to fill
selectorYesCSS selector

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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. It does disclose one meaningful trait — existing content is cleared first — but omits whether input/change events are dispatched (critical for framework-controlled inputs), whether it waits for the element, and how failures surface.

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 zero filler, and the destructive "clear" is stated before "fill". It is efficient but borders on under-specification for a tool with no annotations.

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 tool is simple with only two fully documented parameters, which lowers the bar, but with no annotations and no output schema the description is the only source for behavioral expectations and it supplies almost none. An agent cannot tell from this text how the tool behaves on failure or whether the value will register with a reactive UI.

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%, with both selector ("CSS selector") and text ("Text to fill") documented, so the baseline is 3. The description adds nothing beyond that, not even clarifying that text replaces rather than appends, though "clear" implies replacement.

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?

placeholder

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 guidance on when to prefer this over browser_type, no note that the element must already exist and be visible, and no mention of what happens if the selector matches nothing. The agent must infer the fill-vs-type distinction from the tool names alone.

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