Skip to main content
Glama

Fill Form

browser_fill_form
Destructive

Populate multiple form fields consistently using selectors, names, labels, or placeholders, then optionally submit to trigger validation and observe requests and state changes.

Instructions

Use when multiple form controls must be populated consistently and optionally submitted during a reproduction. Preconditions: an active page and unambiguous field selectors, names, labels, or placeholders are required; provide only intended test data. Next: observe validation, submission requests, redirects, and final state. Sensitivity: filled values may be captured in the DOM, requests, screenshots, traces, or remote application state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsYes
timeoutMsNo
submitSelectorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo
resultNo
Behavior5/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. Description adds 'Sensitivity: filled values may be captured in the DOM, requests, screenshots, traces, or remote application state,' warning about data persistence beyond annotations.

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?

Three sentences with clear flow: usage indication, preconditions, next steps, sensitivity. No unnecessary words.

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?

Covers purpose, preconditions, next steps, and sensitivity. Output schema exists, so return values are not needed. Could mention minItems constraint for fields array or default timeoutMs, but overall complete for a form-filling tool.

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 0%. Description mentions 'unambiguous field selectors, names, labels, or placeholders' which hints at fields array properties but does not detail timeoutMs or submitSelector. Without schema descriptions, more parameter guidance would be beneficial.

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?

Description clearly states 'Use when multiple form controls must be populated consistently and optionally submitted during a reproduction.' It specifies verb 'fill' and resource 'form', and distinguishes from sibling tools like browser_type (single field).

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?

Preconditions are explicit: 'active page and unambiguous field selectors, names, labels, or placeholders are required; provide only intended test data.' It advises next steps. However, it does not explicitly mention when not to use or name alternatives, though siblings imply differentiation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ss26367098/rawtrace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server