Skip to main content
Glama

fill

Replaces the content of a web element matched by a CSS selector, enabling programmatic form completion and data entry.

Instructions

Quick filling (direct replacement)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
timeoutNo
selectorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.0

TDQS

D1.6/5.0
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. The phrase 'direct replacement' hints at a set-value mechanism rather than simulated typing, which is a small behavioral clue. However, it omits side effects, whether input/change events fire, permission or auth needs, timeout behavior, and reversibility.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely short and front-loaded, but its brevity comes from missing essential information rather than efficient expression. It is under-specified for a tool with required parameters and no annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and 0% parameter description coverage, the description needed to compensate by explaining behavior and parameters. It provides almost nothing, leaving the tool effectively undocumented.

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

Parameters1/5

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

The schema has three parameters (selector, text, timeout) with 0% description coverage. The description mentions none of them and adds no meaning beyond the bare schema, leaving all parameter semantics undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Quick filling (direct replacement)' largely restates the tool name 'fill' and does not specify what resource is being filled (e.g., an input field). It hints at a mechanism ('direct replacement') but does not clearly distinguish from sibling tools such as 'type' or 'fill_form'.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus alternatives like 'type' or 'fill_form'. No prerequisites, exclusions, or contextual routing are provided.

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