Skip to main content
Glama

browser_type_text

Enter text into web form fields using CSS selectors. This tool types content into input fields or textareas on web pages, focusing elements and triggering event listeners for form interactions.

Instructions

[Disabled] Type text into an input field or textarea matching the CSS selector. Focuses the element, optionally clears existing content, sets the value, and dispatches input and change events to trigger any attached event listeners.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdYesTab ID of the page to interact with
selectorYesCSS selector of the input or textarea
textYesText to enter into the element
clearNoClear existing value before typing — defaults to true
Behavior4/5

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

With no annotations provided, the description carries full burden and excels at disclosing behavioral mechanics: it focuses elements, optionally clears content, sets values, and specifically notes dispatching of 'input and change events' to trigger listeners. Missing error behavior (e.g., selector not found) or return value details prevents a 5.

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 efficiently structured with the critical '[Disabled]' status front-loaded. The single sentence that follows packs multiple behavioral clauses (focus, clear, set value, dispatch events) with zero redundancy. Every phrase earns its place.

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?

While the disabled status and input mechanics are well-documented, the description lacks information about return values, error handling (e.g., invalid selectors, closed tabs), or timeout behavior—gaps that are significant given this is a browser automation tool with no output schema provided.

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 100%, establishing a baseline of 3. The description adds value by contextualizing the selector parameter (must match input/textarea), explaining the clear parameter's effect ('optionally clears existing content'), and clarifying that text is 'entered into the element' (value setting vs key simulation).

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 explicitly states the tool types text into 'input field or textarea' (specific resource) using a CSS selector, and distinguishes itself from siblings like browser_press_key (key events) or browser_select_option (dropdowns) by emphasizing value-setting and event dispatching. The '[Disabled]' prefix immediately signals availability status.

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 '[Disabled]' prefix provides critical usage constraints (do not invoke). It implicitly guides usage by restricting to 'input field or textarea' element types. However, it does not explicitly name alternatives like browser_press_key for character-by-character input or clarify when to use clear=true vs false.

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/opentabs-dev/opentabs'

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