Skip to main content
Glama

fill_and_submit_form

Interact with web forms by filling text inputs, checkboxes, dropdowns, and file uploads. Optionally submit forms for search, login, or contact pages using browser automation methods like Selenium or Playwright.

Instructions

Fill and optionally submit a form on a webpage.

This tool can handle various form elements including:

  • Text inputs

  • Checkboxes and radio buttons

  • Dropdown selects

  • File uploads

  • Form submission

Useful for interacting with search forms, contact forms, login forms, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. While it mentions the tool can handle various form elements and optional submission, it lacks critical details such as required permissions, potential side effects (e.g., data submission consequences), error handling, or performance considerations like timeouts. This is inadequate for a tool that interacts with webpages and submits data.

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 appropriately sized and front-loaded, starting with the core purpose in the first sentence, followed by a bulleted list of capabilities and a concise usage note. Every sentence earns its place without redundancy, making it efficient and easy to scan.

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?

Given the tool's complexity (web form interaction with potential data submission), no annotations, and an output schema that likely handles return values, the description is incomplete. It covers purpose and basic usage but lacks behavioral transparency and detailed parameter guidance, which are critical for safe and effective use. The presence of an output schema mitigates some gaps, but overall completeness is moderate.

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%, but the description adds some value by listing form element types (text inputs, checkboxes, etc.) and use cases, which helps infer the purpose of 'form_data'. However, it does not explain other parameters like 'method', 'submit_button_selector', or 'wait_for_element', leaving significant gaps. With 1 parameter (a nested object with 6 sub-parameters), the description partially compensates but not fully.

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 states the tool's purpose with specific verbs ('fill and optionally submit a form on a webpage') and distinguishes it from siblings like 'scrape_webpage' or 'extract_links' by focusing on form interaction rather than data extraction or navigation. It explicitly mentions the resource (form) and scope (webpage).

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 clear context for when to use this tool ('useful for interacting with search forms, contact forms, login forms, etc.'), which helps differentiate it from general scraping tools. However, it does not explicitly state when not to use it or name specific alternatives among siblings, such as when to prefer 'scrape_webpage' for non-form interactions.

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

Related 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/ThreeFish-AI/scrapy-mcp'

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