Skip to main content
Glama

Type Into Element

browser_type
Destructive

Enters text into a specified input field using a CSS selector, capturing DOM and network data for debugging Playwright automations.

Instructions

Use when text must be entered into a known input during a reproduction. Preconditions: an active page and precise selector are required; use only data intended for the authorized target. Next: continue with the next action or observe the resulting request and DOM changes. Sensitivity: typed values may be captured in DOM, console, network, screenshots, or trace artifacts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
delayMsNo
selectorYes
timeoutMsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo
resultNo
Behavior4/5

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

Annotations indicate destructive and non-read-only behavior. The description adds value by noting that typed values may be captured in DOM, console, network, screenshots, or trace artifacts, which is beyond what annotations provide. It does not contradict annotations.

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?

The description is three sentences with good front-loading of purpose. It is concise but could be slightly tighter, e.g., combining the sensitivity note with behavioral transparency. Overall, no unnecessary words.

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 0% schema coverage and moderate complexity, the description provides preconditions, next steps, and side effects. However, it omits details like whether the input is cleared before typing or parameter constraints (e.g., delayMs range is useful but not explained). Output schema exists but is not referenced.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It mentions the requirement for a 'precise selector' and using 'data intended for the authorized target,' but does not explain delayMs or timeoutMs. The meaning of parameters is mostly inferred from names, with little added value.

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 clearly states the tool types text into an input element during a reproduction. It includes preconditions like 'active page and precise selector' which help clarify the resource. However, it does not explicitly distinguish from siblings like browser_press or browser_fill_form, which might also involve text input.

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?

The description indicates when to use the tool ('when text must be entered... during a reproduction') and mentions preconditions. However, it lacks explicit guidance on when not to use it or alternatives, such as using browser_press for keystrokes or browser_fill_form for form filling.

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/ss26367098/rawtrace-mcp'

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