Skip to main content
Glama

Browser Type

browser_type
Destructive

Use this to enter user-provided text into a verified Chromium page field, optionally clearing existing text. Confirm the origin and field first; do not put sensitive data into an untrusted page.

Input Schema

NameRequiredDescriptionDefault
textYesFor action=type, Unicode text to insert. For non-type element actions without selector/browser_text, visible text may identify the target.
clearNoFor action=type, clear the current value before inserting text.
titleNoChoose a page whose title contains this text.
deviceYesReMCP device id returned by list_devices. Required for every device operation.
endpointNoLoopback Chrome DevTools endpoint. Defaults to REMCP_CDP_URL or http://127.0.0.1:9222.
selectorNoCSS selector for the target element; prefer the reusable selector returned by browser_find.
target_idNoPage target id returned by browser_tabs.
timeout_msNoTimeout in milliseconds.
browser_textNoVisible text used only to locate a DOM element; use this instead of overloading text for action=type.
url_containsNoChoose a page whose URL contains this text.

Output Schema

NameRequiredDescriptionDefault
dataNoBrowser element action structured result for browser_action. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload.
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds real context the annotations don't carry: text entry may overwrite existing content unless cleared is considered, and there is explicit guidance against entering sensitive data into an untrusted page. It does not explain focus/selector prerequisites or failure behavior, keeping it short of a 5.

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 short sentences, front-loaded with the action and followed by the safety caveat. No filler and nothing that repeats the schema.

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?

With an output schema, full parameter descriptions, and annotations covering safety, the description supplies the remaining human-level context: verified page, origin confirmation, sensitive-data avoidance. The one missing piece for a 10-parameter, heavily-siblinged tool is any signal about how it differs from browser_set_value or browser_fill_form.

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 every one of the 10 parameters is already documented at the property level. The description only echoes the 'clear existing text' concept and the idea of a target field; it adds no syntax or selection guidance beyond the schema, so the 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?

States a specific verb and resource: entering user-provided text into a verified Chromium page field, with optional clearing. Clear and actionable, but it never distinguishes itself from nearby siblings such as browser_set_value, browser_fill_form, type_text, or computer_type, so an agent can't tell from the description alone which typing tool to pick.

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?

Gives a use condition ('enter user-provided text into a verified Chromium page field') and a safety precondition ('Confirm the origin and field first'), but names no alternatives and no when-not-to-use case relative to the many sibling input tools. Usage is implied rather than routed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources