Skip to main content
Glama

browser_type

Types text character-by-character using realistic hardware keystrokes into the active or specified page element, helping bypass bot detection and handle games or sensitive input fields.

Instructions

Type text character-by-character with realistic hardware keystrokes (Input.dispatchKeyEvent) into the active or specified element. Essential for anti-bot bypass, games, and sensitive inputs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "browser_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoElement snapshot reference (e.g. '@1', '@2') to focus before typing
textYesText to type character-by-character
delay_msNoInter-keystroke delay in milliseconds
selectorNoCSS selector of element to focus before typing
press_enterNoWhether to press Enter key after typing

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden, and it does disclose the underlying dispatch mechanism and realistic per-key timing. It omits material behavior: whether existing element content is replaced or appended to, what happens if ref/selector fails to resolve, and what the call returns.

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?

Two sentences, mechanism and purpose front-loaded, no filler or repetition. The 'Essential for...' clause is mildly promotional but still carries actionable guidance.

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?

With five fully documented parameters, no output schema, and no annotations, the definition covers invocation mechanics adequately. It is not complete enough on mutation semantics (does typing overwrite prior value?) and failure behavior, which an agent needs before using it inside a form flow.

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 all five parameters are already documented with defaults (delay_ms=25, press_enter=false). The description adds only the 'character-by-character' framing and the notion of focusing 'the active or specified element'; it does not clarify ref vs selector precedence or delay semantics beyond 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: typing text character-by-character via hardware keystrokes (Input.dispatchKeyEvent) into the active or specified element. That mechanism detail meaningfully distinguishes it from a plain fill operation, though it never names a sibling such as browser_fill.

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?

Gives concrete usage context — anti-bot bypass, games, sensitive inputs — which tells an agent when realistic keystrokes matter. It stops short of explicit exclusions or naming the lighter alternative (browser_fill) for cases where keystroke realism is unnecessary.

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

Deploy Server

Other Tools