Skip to main content
Glama

browser_fill_form

Fill an entire form at once, including text inputs, checkboxes, and dropdowns, with an optional submit click. Replaces many per-field typing calls with a single action.

Instructions

一次性填完整个表单:混合支持文本、勾选/取消勾选、下拉选择,可指定提交按钮。比逐字段调用 browser_type 快数倍

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": {
      "fields": "<fields>"
    },
    "name": "browser_fill_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYes字段列表
submitRefNo填完后点击提交按钮的 ref
submitSelectorNo填完后点击提交按钮的选择器(与 submitRef 二选一)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose a meaningful side effect — an optional submit-button click after filling (submitRef/submitSelector) — but says nothing about failure semantics (partial fills, missing refs, validation errors) or whether it waits for navigation after submission.

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 tight sentences with the capability list front-loaded and the browser_type comparison last as supporting justification. The phrase '快数倍' is somewhat vague but still earns its place as the routing cue.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter tool with no output schema and no annotations, the description covers the core capabilities and the submit side effect adequately. It is slightly thin on what happens when individual fields fail, which matters for a batch mutation of page state.

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 ref/selector/value and the submitRef/submitSelector alternative. The description's mention of text vs. check/uncheck vs. dropdown maps to the same value semantics already stated in the schema, adding little new information beyond confirming them.

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?

States a specific verb and resource ('fill an entire form in one go') and enumerates the supported field kinds (text, check/uncheck, dropdown) plus the optional submit-button action, so the scope is concrete. It also distinguishes itself from browser_type by positioning itself as the batch, multi-field alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells the agent when to prefer this tool: instead of calling browser_type once per field, use this single call because it is several times faster. There is no explicit when-not guidance (e.g., single-field edits, fields needing custom event sequences), which keeps it just below a 5.

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