Skip to main content
Glama

browser_type

Fills an input field using a Playwright selector, with an option to press Enter and submit. Use it to type text into forms and search boxes during browser automation.

Instructions

Isi field input memakai selector Playwright, opsi submit untuk langsung tekan Enter.

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

Input Schema

NameRequiredDescriptionDefault
textYesTeks yang diisi
submitNoTekan Enter setelah mengisi
selectorYesSelector Playwright untuk field
timeoutMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, yet it only discloses that submit presses Enter after typing. It says nothing about whether existing text is cleared first, how it waits for the element, what timeoutMs governs, or what happens when the selector does not match — all material for an interaction tool.

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

Conciseness4/5

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

A single tight sentence with no filler, and the core action is front-loaded. The submit option is appended after the primary purpose, which is a sensible ordering.

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 browser-interaction tool with no annotations, no output schema, and one undocumented parameter (timeoutMs), the description is thin. It omits failure behavior, field-clearing semantics, and wait/timeout behavior, leaving an agent unable to predict the call's effects.

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 75%, with selector, text, and submit already documented in the schema; the description merely restates the submit behavior the schema already states. timeoutMs is described in neither place, so the description does not compensate for the one gap. Baseline 3 applies since the schema does most of the 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?

The description names a concrete verb and resource — filling an input field — plus the mechanism (Playwright selector) and an alternate mode (submit). An agent can identify the operation immediately. However, it never distinguishes itself from the sibling browser_integrated_type, which plausibly overlaps, so it stops short of a 5.

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 or when-not-to-use guidance and no mention of alternatives such as browser_integrated_type or browser_press_key. The only hint of usage is the embedded clause about submit pressing Enter, which an agent must infer rather than read as guidance.

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