Skip to main content
Glama

browser_type

Read-onlyIdempotent

Type text into an element with per-keystroke delay (organic). Each character dispatches keydown/keypress/keyup, unlike browser.fill which replaces .value instantly. Use when the page listens to keystroke events or for typing-speed fingerprint checks. ref is an aria-ref token from browser.snapshot ('e7') or a CSS selector. delay_ms defaults to 50.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYes
textYes
page_idYes
delay_msNo
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / in_workspace
      Added value: +{
      +  "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
      +  "type": "integer"
      +}
  2. Added
  3. Removed
  4. Added
  5. Removed
  6. Added
  7. Removed
  8. Added
  9. Removed
  10. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/destructive/idempotent, so the safety profile is covered; the description adds real behavioral detail beyond them (event-by-event dispatch, organic timing, delay default). It stops short of explaining error behavior (element/ref not found) or whether pre-existing element text is cleared first, so it is strong but not exhaustive.

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?

Four dense sentences, purpose front-loaded, then differentiator, then when-to-use, then parameter clarifications. Every sentence earns its place with no redundancy.

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 5-param tool with no output schema and low schema coverage, the description supplies purpose, mechanism, usage trigger and the key parameter semantics. The one material gap is whether typing appends to or replaces existing element content, which the browser.fill contrast hints at but never states.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 20% (just in_workspace), so the description carries the burden and does add meaning: `ref` is an aria-ref token from browser.snapshot or a CSS selector, and `delay_ms` defaults to 50. The obvious params (page_id, text) are left implicit, but the non-obvious ones are covered.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (type text into an element) plus the distinguishing mechanism (per-keystroke delay, keydown/keypress/keyup dispatch). It explicitly contrasts itself with the sibling browser.fill, so an agent can pick between them without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use rule ('page listens to keystroke events or typing-speed fingerprint checks') and names the alternative behavior (browser.fill replaces .value instantly), which implies the condition under which fill is preferred. Nothing is left to inference.

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.