Skip to main content
Glama

fill_form

Fill form fields in a session page using CSS selectors and optionally submit. Force mode bypasses overlays or dialogs that block inputs.

Instructions

Fill form fields in a session page and optionally submit. Use force=true to bypass actionability checks when overlays or dialogs block the inputs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoBypass actionability checks — fill even when overlays/dialogs block the inputs (default: false)
fieldsYesFields to fill: [{selector, value}]
session_idYesSession ID
submit_selectorNoCSS selector for submit button (optional)
Behavior3/5

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

Discloses the force parameter's effect (bypass actionability checks) but does not describe other behavioral traits like order of filling, effects of submit, or side effects. No annotations provided, so description carries full burden but falls short.

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?

Two sentences with front-loaded purpose and a concise explanation of the force parameter. No redundant information.

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?

For a tool with 4 parameters and nested fields, the description is brief and lacks details on return values, submission behavior, or error handling. Without annotations or output schema, it is minimally adequate but leaves gaps.

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 coverage is 100% with descriptions for all parameters. The description adds the optional submit and force explanation, which adds marginal value beyond the schema.

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?

Clearly states the action ('Fill form fields') and resource ('in a session page') with optional submission. Distinguishes from siblings like 'auto_fill_form' and 'click_element'.

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?

Provides guidance on when to use force=true ('when overlays or dialogs block the inputs'), though does not explicitly mention when not to use or alternative tools.

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