Skip to main content
Glama

browser_type

Destructive

Types text into a field key by key at a human pace, replacing its current contents, and reports what the field kept, reformatted, cut, or rejected.

Instructions

Type into a field, replacing what it holds, key by key at a human pace.

The answer says what the field kept: all of it, a maxlength's cut, the page's reformatting, nothing (the page took it out), or one box of a code the page spreads over several. Nothing is retyped on its own. Text too long to finish within one answer goes on in the background; until it ends, actions on that browser are refused with its progress, and reads work. Inside an iframe, pass the snapshot's frame too.

Also answers data: typing {state, selector, done, total, kept}, the same as browser_status, in the answer and in that refusal.

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": {
      "selector": "<selector>",
      "text": "<text>"
    },
    "name": "browser_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
frameNo
browserNoDefaults to `main`; `support` is the helper beside it.
selectorYes

Output Schema

NameRequiredDescriptionDefault
typingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.74.0

TDQS

A3.9/5.0
Behavior5/5

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

Goes well past the annotations: it discloses that the page may truncate (maxlength), reformat, or discard the text entirely, that nothing is auto-retyped, and that long text continues in the background while other actions on that browser are refused but reads still work. That background-blocking behavior and the "the page may eat your input" caveat are exactly the kind of operational detail an agent cannot get from readOnlyHint/destructiveHint/openWorldHint alone, and the replacement semantics are consistent with destructiveHint=true.

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?

Purpose is front-loaded in the first sentence and each subsequent sentence carries behavioral information rather than filler. The enumerated "what the field kept" cases are a little verbose given an output schema already exists, but they are not wasted.

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?

For a mutating, open-world browser tool with an output schema and partial annotation coverage, the description covers the surprising behaviors (page-side transformation, async continuation, action blocking) that would otherwise trip an agent. What remains thin is selector sourcing/format and the guidance on choosing this tool over adjacent input tools.

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 only 25%, so the description must carry weight: it meaningfully explains the `frame` parameter (snapshot-derived frame for iframe typing) and the replacement semantics of `text`. It says nothing about `selector` format or the `browser` selector beyond what the schema already documents for `browser`, leaving real gaps.

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?

"Type into a field, replacing what it holds, key by key at a human pace" gives a precise verb, resource, and semantics (replacement, keystroke-level entry) that distinguish it in practice from browser_press_key or browser_click. It stops short of naming or explicitly ruling out any sibling, so differentiation has to be inferred.

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?

Usage context is implied by "into a field" and there is a concrete conditional instruction for iframe cases ("Inside an iframe, pass the snapshot's `frame` too"). However, there is no statement of when to prefer this over browser_press_key or browser_select_option, and no prerequisites or exclusions are given.

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