Skip to main content
Glama

Type Into Input

browser_type

Types text into a targeted input or textarea without submitting, using selectors, labels, or ARIA attributes; sensitive fields are automatically redacted in logs and responses.

Instructions

Type text into a targeted input or textarea without submitting. Sensitive/password fields are automatically redacted in logs and responses.

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
nameNoAccessible name used together with `role`
roleNoARIA role for accessible targeting (e.g. "button", "link", "textbox")
textYesText to type into the target input or textarea
exactNoWhether text/name/label matching must be exact
labelNoForm label text associated with the element
delayMsNoOptional per-keystroke delay in milliseconds (0-500)
task_idNoOptional task ID for execution tracking and cancellation
selectorNoCSS or Playwright selector (e.g. "button.submit", "#search")
timeoutMsNoBounded wait timeout in milliseconds (500-60000)
clearFirstNoClear existing input value before typing (default: true)
session_idNoOptional target browser session ID (defaults to active default session)
placeholderNoInput placeholder text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the mutation profile is covered. The description adds genuinely new behavior: it does not trigger submission, and sensitive/password values are redacted from logs and responses — a meaningful operational detail an agent could not derive from annotations. It stops short of describing return values or what happens on a missing/ambiguous target.

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?

Two tight sentences, no filler, and the core action is front-loaded before the redaction caveat. Every clause carries information an agent needs.

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?

For a 12-parameter mutation tool with no output schema, the description covers the action and the safety-relevant side effects but omits the targeting precedence among selector, role+name, label, and placeholder, and does not indicate what is returned after typing. Adequate but with clear gaps for a tool this configurable.

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 description coverage is 100%, so all twelve parameters, including clearFirst's default and delayMs/timeoutMs bounds, are already documented. The description adds only the implicit constraint that the target must be an input or textarea, and says nothing about how selector versus role/name/label targeting is resolved. Baseline 3 applies.

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 gives a specific verb and resource — 'Type text into a targeted input or textarea' — and adds the scope qualifier 'without submitting,' which tells an agent this is text entry only. It does not distinguish itself from the sibling browser_fill, which appears to overlap, so an agent still has to guess between the two.

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?

'without submitting' implies when this is appropriate (entering data prior to a separate submit action), but there is no explicit when-to-use guidance and no named alternative for the overlapping browser_fill or browser_click tools. Usage is inferable rather than stated.

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