Skip to main content
Glama

Type

browser_type

Fills text into a browser input field and optionally submits it by pressing Enter, using the ego engine by default or Edge via Playwright.

Instructions

往输入框填入文本。默认 ego 引擎。submit=true 时回车提交。

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

Input Schema

NameRequiredDescriptionDefault
textYes要写入的内容
engineNo浏览器引擎:ego(默认,真实浏览器 + 登录态)/ edge(Playwright/Edge,需另装 playwright)ego
submitNo
targetYesCSS 选择器 / 文本 / ref=12

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/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 disclose two useful traits — the default engine is ego and submit=true sends a carriage return — but omits whether existing text is replaced or appended, whether the element must be focused, and what happens on target resolution failure.

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?

Three short sentences with the core action front-loaded and no filler. Nothing is wasted, though the extreme brevity means important operational detail was cut rather than condensed.

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?

This is a browser-mutating tool with no annotations and no output schema, so the description must carry safety and result-shape context, and it does not. It says nothing about return values, failure modes, or interaction with page state — significant gaps for a write-to-page operation.

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 75%, with submit left completely undocumented in the schema; the description fills that gap by explaining that submit=true presses Enter to submit. The engine default is restated rather than added, but the submit clarification is genuine value beyond structured data.

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 states a concrete verb+resource: fill text into an input field, plus two behavioral modifiers (default engine, submit behavior). It is clear what the tool does, but it never distinguishes it from sibling tools like type_text or set_value, which plausibly do overlapping work.

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 explicit when-to-use guidance and no exclusions or named alternatives, despite siblings type_text, set_value, and browser_press_key existing in the catalog. Only the submit=true clause hints at a usage scenario; the agent must infer when this tool is preferred over type_text.

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