Skip to main content
Glama

ui_fill

Set a text field, textarea, or contenteditable to a value in one step, triggering input and change events for applications. Use for fast form fills when fields don't react to each keystroke.

Instructions

Set the value of a text field, textarea or contenteditable in one step, and fire the input and change events the application listens for. Fast, because it does not type character by character — use ui_type instead when the field reacts to each keystroke, such as a typeahead or an autocomplete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nthNoWhich match to use when several qualify, 0-based.
roleNoNarrow the matches to this ARIA role.
textNoVisible text on the control. Matches the innermost element that carries it, and follows a <label> to its input.
exactNoRequire the whole text to match rather than a substring.
frameNo'main' (default) or a substring of a frame's origin/name. Single-page apps often render the screen you want in a child frame.main
valueYesThe text to put in the field. Pass an empty string to clear it.
submitNoPress Enter afterwards.
testidNoValue of a test attribute (data-testid and friends — see the testAttributes setting).
selectorNoCSS selector. Descends into open shadow roots.
timeout_msNoHow long to wait for the element to become actionable before giving up.
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It does this well by stating that the tool fires the 'input' and 'change' events the application listens for, and that it is fast because it bypasses per-keystroke typing. It does not mention return/error behavior or permission requirements, but the core hidden behavior is disclosed.

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 deliver the action, the side effect, the performance characteristic, and the alternative tool. There is no filler, and the most important behavioral facts are front-loaded.

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 tool with 10 parameters and no output schema, the description covers the primary behavior, event side effects, and sibling differentiation, while the schema covers parameter semantics. It leaves return-value and failure-mode behavior to inference, which is a minor gap given the otherwise rich schema and clear description.

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 100%, so the schema already explains every parameter. The description reinforces the meaning of 'value' by saying it sets the field's value and fires events, but it does not add material parameter-level detail beyond what the schema provides. The baseline of 3 is appropriate.

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 opens with a specific verb and resource: 'Set the value of a text field, textarea or contenteditable in one step'. It also explicitly contrasts with ui_type by noting this tool does not type character by character, so an agent can distinguish it from its closest sibling without opening schemas.

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

Usage Guidelines5/5

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

The description gives an explicit routing rule: use ui_type instead when a field reacts to each keystroke, such as a typeahead or autocomplete. This tells the agent both when to use this tool and when to prefer an alternative.

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

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/Dayananda-D/Devcdp'

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