Skip to main content
Glama

page_fill

Clear and fill multiple form fields in one call using refs or CSS selectors, then report the network, console, and URL changes.

Instructions

Clear and fill multiple form fields (each by ref from page_snapshot, or CSS selector) in one call, and report the network/console/url delta it caused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsYes
waitMsNosettle time after filling before reporting the delta (default 700ms)
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4/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. It openly discloses that the tool clears fields, fills them, and reports the network/console/url delta it caused, making side effects predictable. It could add waiting/settle behavior or session requirements, but the core behavior is not hidden.

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?

One dense, front-loaded sentence with no filler. Every clause contributes an operational detail: clearing, filling, targeting, batching, and the resulting delta report.

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?

For a moderate-complexity tool with no output schema and no annotations, the description conveys the action, targeting mechanism, and what kind of result to expect (network/console/url delta). It could elaborate on session lifecycle and wait behavior, but the essential calling context is present.

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 only 33%, and the description adds useful meaning beyond the schema by explaining that ref values come from page_snapshot and selector values are CSS selectors. However, sessionId and the exact meaning of value are left mostly to inference, so the description only partially compensates for the coverage gap.

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: clear and fill multiple form fields in one call. It also identifies targeting modes (ref from page_snapshot or CSS selector) and the reported network/console/url delta, which distinguishes it from single-field siblings like page_type.

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?

The description implies usage for bulk form filling by saying 'multiple form fields ... in one call,' but it does not explicitly name alternatives, exclusions, or when to prefer page_fill over page_type/page_select. The usage context is clear but largely left to inference.

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