Skip to main content
Glama
497187419

TraeBridge MCP Server

by 497187419

Fill

browser_fill

Fill input or textarea fields on an open browser page by CSS selector or @eN handle, replacing existing content with a specified value.

Instructions

Fill an input or textarea element (identified by CSS selector or @eN handle) with the given value, replacing any existing content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesThe value to fill into the input
selectorYesInput element selector: a CSS selector or an @eN handle obtained from browser_snapshot

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that existing content is replaced (idempotent set rather than append), which is real behavioral value. However, it omits whether input/change events fire, what happens if the selector matches nothing, or whether the element must be visible — significant gaps for an unannotated browser-automation tool.

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?

A single front-loaded sentence with zero filler; the core action, target, and replacement behavior all appear before any trailing detail.

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 a two-parameter, no-annotation, no-output-schema tool, the description covers the action and the key replacement semantic. It is adequate but not complete: nothing explains failure modes, event triggering, or what the tool returns, which an agent calling a DOM mutation would benefit from.

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 schema already documents both parameters, establishing a baseline of 3. The description repeats the selector-handle detail ('CSS selector or @eN handle') without adding syntax, format, or constraint information beyond the schema.

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 states a specific verb (Fill) and resource (input or textarea element), plus the value semantics. It is clear and unambiguous, but it never distinguishes itself from the close sibling browser_type, which an agent will reasonably confuse with it.

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 explicit when-to-use guidance and no named alternative. The phrase 'replacing any existing content' hints at how it differs from a character-by-character type operation, but the description never says 'use browser_type instead when...' or otherwise routes the agent, leaving the fill-vs-type decision to inference.

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