Skip to main content
Glama

Type into a field

browser_type

Inserts text into input, textarea, or contenteditable fields, replacing existing values or simulating per-key typing for autocomplete. Optionally presses Enter to submit.

Instructions

Enter text into an input, textarea or contenteditable. Replaces the existing value by default. Set pressEnter to submit, or mode: 'press' to send real per-key events when a page listens for keydown (autocompletes and search-as-you-type usually do).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo`fill` sets the value in one shot; `press` types key by key.fill
clearNoClear the field first. Only applies to `press`.
delayNoPer-key delay for `press`.
valueYesText to enter.
targetYesHow to find the element. Give exactly one primary strategy (plus `name` with `role`).
timeoutNo
tabIndexNoAct on this tab just for this call, without changing which tab is active. Defaults to the active tab. To switch tabs for good, use browser_tabs with action 'select'.
profileIdYesBrowser profile id, as passed to start_profile.
pressEnterNoPress Enter afterwards.
Behavior5/5

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

It discloses that the tool replaces the existing value by default, supports pressEnter, and explains the difference between fill and press modes (one-shot vs real per-key events). This adds behavioral depth beyond the annotations, which only indicate read/write/destructive hints. No contradiction with annotations.

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, front-loaded with the core action, and every phrase adds value (behavior, mode selection, specific use cases). No fluff or redundant repetition of schema details.

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?

Despite having 9 parameters and nested objects, the schema covers most details, and the description addresses the key behavioral variations. No output schema exists, but the description doesn't need to explain return values for an action like typing. Slightly missing explicit guidance on target selection, but the schema compensates.

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

Parameters4/5

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

Schema coverage is high (89%), so the description doesn't need to explain every parameter. It adds valuable context for `mode` (when to use 'press') and `pressEnter`, augmenting the schema's definition. This justifies a score above the baseline.

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 clearly states the action (enter text) and the resources (input, textarea, contenteditable), distinguishing it from sibling tools like browser_click or browser_press_key. It also mentions key behaviors like replacing existing value and optional submission via pressEnter.

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 description provides context on when to use press mode (pages that listen for keydown, autocompletes, search-as-you-type) and mentions pressEnter for submission. It does not explicitly name alternative tools or exclusion criteria, but the context is clear enough for an agent to decide.

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/someorgyouwontcareabout/DolphinMCP'

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