Skip to main content
Glama

browse_type

Types text into a web element by reference ID or screen coordinates, enabling form filling and input automation through a single browser interface.

Instructions

Gõ text vào phần tử theo ref (r-) hoặc toạ độ '@x,y'.

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": {
      "ref": "<ref>",
      "text": "<text>"
    },
    "name": "browse_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not say whether existing text is replaced or appended, whether keystroke events are dispatched, whether focus is acquired automatically, or whether the page navigates as a result - all critical for a text-entry tool on a live browser.

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 short sentence that front-loads the action and follows immediately with the targeting syntax variants. No filler or repetition, though the mixed-language framing may slow parsing for an English-oriented agent.

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 2-parameter tool with no output schema and no annotations, the description covers targeting syntax but omits the mutation semantics (replace vs append, side effects on the page, expected confirmation). It is minimally adequate to invoke the tool but leaves the agent guessing about results.

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 0%, so the schema contributes nothing beyond the string types. The description compensates for one parameter by spelling out the ref format (r-<n>) and the coordinate format '@x,y', which is genuinely additive. It adds nothing for 'text', though that parameter is largely self-explanatory from the verb.

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 ("Gõ text" - type text) and a specific target ("phần tử" - element), and further specifies two addressing schemes. An agent can distinguish this from browse_click or browse_navigate without inspecting the schema. It loses a point only because it never names or contrasts a sibling explicitly.

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?

The "hoặc" (or) construction tells the agent it may target either by ref or by coordinates, which is a useful selection hint. However, there is no guidance on when to prefer browse_type over browse_submit, browse_click, or browse_wait, and no preconditions (e.g. that the element must already exist from a snapshot) are stated.

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