Skip to main content
Glama

AI thao tác trình duyệt

tester_browser_action

Automate browser actions on live Chromium pages—navigate, click by role/CSS/coordinates, fill inputs, press keys, hover, and scroll—to run QA checks.

Instructions

Điều hướng, click theo vai trò/CSS hoặc tọa độ từ ảnh, điền input, nhấn phím, hover và cuộn. Click tọa độ, điền và nhấn phím cần allowWrites=true. Chỉ dùng dữ liệu QA giả.

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": {
      "project": "<project>",
      "action": "<action>"
    },
    "name": "tester_browser_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
nameNo
pageNo
roleNo
valueNo
actionYes
deltaYNo
projectYes
selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two genuinely useful behaviors beyond the schema: that clickAt, fill and press are gated behind allowWrites=true, and that only fake QA data may be used. It says nothing about what happens to page state, whether a snapshot is returned, or error behavior when a selector/role fails to match.

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, front-loaded sentences: capability list first, then the write-gating condition, then the data-safety rule. No filler, though the gating sentence could name the parameters it governs more precisely instead of restating the action names.

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 10-parameter mutation tool with zero annotations and no output schema, the description is thin. It never says which parameters are required, what the tool returns after an action, whether a browser session/page must exist first, or how the scroll delta behaves — all things an agent needs to call it correctly on the first attempt.

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

Parameters2/5

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

Schema description coverage is 0% across 10 parameters, so the description must compensate and only partly does. It conveys role/selector targeting, x/y coordinates from an image, and a fill value, but the required 'project' parameter, 'page', 'name', and 'deltaY' (direction, magnitude, units for scroll) are never explained, leaving nearly half the surface undocumented.

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 set of browser verbs that map almost one-to-one onto the action enum (navigate, click, clickAt, fill, press, hover, scroll), so an agent can tell what the tool does. It does not contrast itself with siblings such as tester_browser_see or tester_browser_assert, leaving the boundary between acting and observing to inference.

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?

Usage context is implied rather than stated: a third of the actions are flagged as needing allowWrites=true, which functions as a precondition, and 'Chỉ dùng dữ liệu QA giả' is a scope restriction. There is no explicit when-to-use versus when-to-use-an-alternative guidance, and no statement that a session must first be started.

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