Skip to main content
Glama

browser_type

Types text into editable page elements using a snapshot reference, with options to type slowly or press Enter to submit.

Instructions

Type text into an editable element identified by its snapshot ref.

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

Input Schema

NameRequiredDescriptionDefault
refYesExact target element reference from the page snapshot (e.g. 'e3').
textYesText to type into the element.
slowlyNoWhether to type one character at a time instead of filling at once.
submitNoWhether to press Enter after typing.
elementNoHuman-readable description of the target element.
sessionIdNoOptional target browser session ID. If omitted, uses the currently active session (or auto-launches one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether existing text is replaced or appended, what happens if the ref is stale or the element is not editable, or whether the page must be snapshotted first. It mentions 'editable element' but not failure modes or side effects a mutation tool should expose.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single well-formed sentence with no filler, but for a six-parameter mutation tool with no annotations it is arguably under-specified rather than genuinely concise. It is front-loaded, which is a plus.

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

Completeness2/5

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

Given no annotations, no output schema, and six parameters, the definition omits key operational context: how to obtain the ref (presumably browser_snapshot), replace-vs-append semantics, and what a successful call returns. An agent would need to guess at important behavior.

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 ref, text, slowly, submit, element, and sessionId are all documented in the schema; the description only echoes the ref concept. Baseline 3 applies since the schema does the explanatory work.

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 ('Type text') and resource ('an editable element') plus the targeting mechanism ('identified by its snapshot ref'), which is enough to distinguish it from press-key or form-filling siblings. It stops short of naming any sibling explicitly.

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 is only implied: the agent must infer that this is for entering text into a single element and that a snapshot ref is a prerequisite. There is no guidance on when to prefer browser_fill_form, browser_press_key, or browser_select_option instead, and no stated preconditions.

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