Skip to main content
Glama

browser_type

Destructive

Type text into editable web elements with control over typing speed to trigger key handlers and optional submission via Enter.

Instructions

Type text into editable element

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to type into the element
slowlyNoWhether to type one character at a time. Useful for triggering key handlers in the page. By default entire text is filled in at once.
submitNoWhether to submit entered text (press Enter after)
targetYesExact target element reference from the page snapshot, or a unique element selector
elementNoHuman-readable element description used to obtain permission to interact with the element
Behavior3/5

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

Annotations already provide destructiveHint=true (mutation) and openWorldHint=true (may affect page state). The description adds no behavioral details beyond 'Type text'. It doesn't disclose that it can press Enter after (via submit param), type slowly for key handlers (via slowly param), or that it requires element permission reference (element param). With annotations already covering mutability, description provides minimal extra value.

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?

The description is a single 5-word sentence 'Type text into editable element'. There is zero waste. Every word earns its place by clearly stating verb, object, and scope. Perfectly concise for such a simple tool.

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

Completeness3/5

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

Given the tool's simplicity, moderate parameter count (5), and rich sibling context, the description is minimally adequate. It lacks guidance on what happens when text contains special characters, how the element being targeted interacts with page snapshots, or what the return value indicates. However, the schema covers all parameters well, so the description doesn't need to be exhaustive.

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 baseline is 3. The description adds no parameter-specific context beyond what the schema already provides. It does not explain how target relates to the page snapshot or why element is needed for permissions anymore than the schema's brief descriptions already convey.

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?

The description 'Type text into editable element' has a clear verb ('Type') and resource ('editable element'), distinguishing this from siblings like browser_fill_form (which fills form fields) and browser_click (which clicks). It's specific enough for an agent to understand the basic action, though it could be more precise about targeting.

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?

No explicit when-to-use or when-not-to-use advice is given, which is a gap given many sibling tools for typing (browser_fill_form, browser_press_key). The description implies it's for basic text entry into any editable element, but doesn't contrast with alternatives like browser_fill_form for complex form filling or browser_press_key for individual key presses.

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/Pelag-Michael/Chrome-for-AI'

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