Skip to main content
Glama

Joist by Cotlet

Fill in a form

cotlet_browser_fill_form
Destructive

Fills several fields in one step: text fields take text, drop-downs an option's label, checkboxes, radios and switches true or false. Stops at the first field that fails and names those filled. Does not send the form: click its button after. Answers the page after it: the elements and text in view, with the same numbers.

Input Schema

NameRequiredDescriptionDefault
dialogNoHow to answer a native dialog (confirm, prompt, 'leave this page?') this step opens: accept presses OK, dismiss presses Cancel. Default: OK for an alert, Cancel for every other dialog.
fieldsYesThe fields in the order a person fills them.
dialog_textNoText for a prompt dialog this step opens; implies accept.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare a destructive, non-idempotent, open-world write, and the description adds new behavior: it stops at the first failing field, names the fields already filled (partial-state semantics critical for a destructive tool), and never submits. It stops short of explaining why it is flagged destructive or what side effects a fill can trigger, such as conditional fields appearing.

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

Conciseness4/5

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

Four tight sentences, front-loaded with what the tool does before the failure and submission caveats. The closing line ('Answers the page after it: the elements and text in view, with the same numbers') is awkwardly worded but still conveys the return shape and element-number continuity.

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?

With no output schema, the description correctly explains the return value as a page read with contiguous element numbers and covers the critical submit/no-submit distinction. The gap is risk context: nothing tells the agent a fill can irreversibly alter page state or which forms are inappropriate to auto-fill.

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%, so the schema carries the parameter documentation and the baseline is 3. The description adds useful mapping semantics — text fields take text, drop-downs an option label, checkboxes/radios/switches true or false — slightly beyond the schema's terser 'Text, option, or true/false', but dialog and dialog_text are left entirely to the schema.

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

Purpose4/5

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

States a specific verb and resource ('Fills several fields in one step') and enumerates the widget types handled. It does not name the sibling tools it supersedes (cotlet_browser_type, cotlet_browser_select), so differentiation is inferred from 'several fields in one step' rather than stated.

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 tail gives real routing guidance: 'Does not send the form: click its button after', pointing the agent to cotlet_browser_click for submission. It implies batch filling replaces per-field typing but never states when a single-field sibling is preferable or what happens with a stale element number.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.