Skip to main content
Glama

bf_fill

填充输入框的值(CSS 选择器或 XPath)。阶段 2:转发 BG 引擎(框架感知 smart fill,支持受控组件)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYes
xpathNo可选:XPath(与 selector 二选一)
selectorNoCSS 选择器(如 input[name=email])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

There are no annotations, so the description carries the behavioral burden. It adds useful traits—framework-aware smart fill and controlled-component support—but does not disclose side effects, event triggering, replacement behavior, or prerequisites like an active session or loaded page.

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?

The description is short and front-loaded with the primary function. The second sentence is jargon-heavy ('stage 2: forward BG engine') and somewhat cryptic, but the framework-aware/controlled-component detail does add capability context.

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 no-annotation mutation tool, it gives enough to make a plausible call, but it omits session/page prerequisites and outcome information. The 'BG engine' phase reference is unexplained, leaving a notable contextual gap.

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 coverage is 67%; the description clarifies that 'value' is the text to enter, and that selector/xpath identify the target. However, it does not add meaningful format constraints or further explain the optional parameters beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a concrete action—'fill the value of an input box'—with explicit targeting via CSS selector or XPath. This clearly separates it from sibling tools such as bf_click and bf_extract.

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?

The description provides no guidance on when to use bf_fill instead of alternatives, and no exclusions or preconditions. The tool's purpose is implied by its name, but the expected context (e.g., matching an editable field before clicking/submitting) is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources