Skip to main content
Glama

browser_type

Types text into an editable web element using a specified locator strategy and value, with an optional timeout to wait for the element before entering input.

Instructions

Type into an editable field

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

Input Schema

NameRequiredDescriptionDefault
byYesLocator strategy to find element
textYesText to enter into the element
valueYesValue for the locator strategy
timeoutNoMaximum time to wait for element in milliseconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changedv1.0.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observed

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire behavioral burden, and it discloses almost nothing: not whether existing text is cleared or appended, whether the element is focused/clicked first, whether keystroke events are dispatched, whether it waits for the element, or whether failures throw. Only the implicit fact that it mutates page state can be inferred from "type".

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?

It is a single front-loaded sentence with zero padding, which is structurally clean. However, at five words it is under-specified rather than genuinely concise for a tool with four parameters and no annotations.

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?

For a mutation-style browser interaction with no annotations and no output schema, the description should state at minimum how existing content is handled, whether the element is focused/waited for, and what happens on timeout or missing element. None of that is present, so an agent cannot reliably predict the tool's effect on page state.

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%, including an enum on the locator strategy and a documented timeout, so the schema already explains all four parameters. The description adds no meaning beyond that — nothing about how `text` interacts with existing content or how `timeout` behaves on expiry — so the baseline 3 applies.

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

Purpose3/5

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

"Type into an editable field" gives a verb (type) and a target (editable field), so the basic action is clear. But among siblings like browser_key_press, browser_clear, and browser_focus_element, it does not say how this differs — e.g. whether it focuses the element, whether it replaces or appends text, or whether it simulates keystrokes. That ambiguity keeps it at vague-purpose level.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no preconditions (element must exist, be visible, be editable), and no named alternatives. The agent is left to infer that it should call browser_find_element first and to decide on its own between this and browser_key_press or browser_clear.

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