Skip to main content
Glama

auto_fill_form

Detect form fields, infer each type, fill with realistic test data, and optionally submit. Returns filled fields and values, with support for value overrides.

Instructions

Detect a form's fields, infer each type (email/phone/name/address/date…), fill realistic test data, and optionally submit — one call replacing 5-10. Returns which fields were filled and with what. Use overrides={selector: value} for specific values and submit=true to submit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
submitNoSubmit the form after filling (default: false)
overridesNoOverride auto-detected values: {selector: value} (e.g. {"#email": "custom@test.com"})
session_idYesSession ID
form_selectorNoCSS selector for the form (default: first form on page)
Behavior3/5

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

No annotations are provided, so the description carries the burden. It mentions return behavior ('Returns which fields were filled and with what') but does not disclose potential side effects like actual form submission after filling, or limitations (e.g., dynamic forms).

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?

The description is concise at three sentences, front-loaded with core purpose and benefit, followed by return value and usage hints. 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?

Given no output schema and no annotations, the description covers purpose, parameters with examples, and return value. It lacks details on error handling, prerequisites (session context), or limitations, but is adequate for typical use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by providing usage examples for overrides and submit, clarifying their purpose beyond schema descriptions. However, no extra info for session_id or form_selector.

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 description clearly identifies the tool as auto-detecting form fields, inferring types, filling test data, and optionally submitting. It distinguishes from sibling tools by emphasizing automation and efficiency ('one call replacing 5-10').

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?

The description provides explicit usage guidance for overrides and submit parameters. It implies the tool is for form testing but does not explicitly state when not to use or mention alternatives among siblings like 'fill_form'.

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/segentic-lab/periscope-mcp'

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