Skip to main content
Glama

fill_and_submit

Fill a web form with valid test data and submit it through the real button, handling wizards and consent modals while capturing validation errors and results.

Instructions

Fill a form with valid test data (generated from its schema if data is omitted) and submit it via the real submit button (not form.submit()), handling multi-step wizards and consent modals along the way. Reports final URL, HTTP status, redirect chain, a success/failure guess, every visible validation error mapped to its field, console errors, failed network requests, and a full-page screenshot path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
dataNoField values by name; missing fields are generated
seedNoSeed for any auto-generated field values
dryRunNoFill and screenshot but do not click submit
headedNoShow the browser window (default: visible, unless formpilot.config.json sets "headless": true)
formSelectorNo
loginProfileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses real-button submission, multi-step wizard and consent-modal handling, and enumerates what is returned (final URL, status, redirects, success guess, mapped validation errors, console errors, failed requests, screenshot). It does not mention permission/login requirements beyond the loginProfile param name or any side effects of submitting real data.

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?

One long but well-structured sentence: the core action is front-loaded, and the output enumeration follows. No filler, though the dense output list makes it heavier than needed.

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?

No output schema exists, so the description correctly enumerates return values, and it covers wizard/modal edge cases and the dryRun escape hatch. The main gaps are the undocumented parameters and lack of auth/side-effect guidance for a tool that submits real data.

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 57%. The description adds meaning for `data` (generated from the form's schema when omitted), reinforcing the schema note, but says nothing about seed, dryRun, headed, formSelector, or loginProfile. It partially compensates but leaves several parameters unexplained.

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 a form and submit it) plus the distinguishing mechanism — the real submit button rather than form.submit(). This clearly separates it from siblings generate_test_data (data only) and inspect_form (read-only inspection).

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

Usage Guidelines3/5

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

Usage is implied by the description (fill a live form and submit), and it notes data is auto-generated when omitted, but it never says when to prefer inspect_form or generate_test_data, nor when not to submit on a live endpoint. No explicit alternatives or exclusions are given.

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

Deploy Server

Other Tools