Skip to main content
Glama
FileXego

opencode-browser-control

by FileXego

browser_snapshot

Capture an ARIA accessibility snapshot of a page, listing interactive elements with numbered references for use with browser_click.

Instructions

获取页面 ARIA 可访问性快照,返回带编号引用(e1, e2...)的交互元素列表。使用 browser_click(ref) 点击这些元素。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idNo目标页面 ID,不指定则用当前页面
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 burden. It explains that the tool returns a list of interactive elements with references, implying a read operation. However, it does not disclose if any state changes occur, authentication needs, or potential side effects. The description is adequate but lacks depth.

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

Conciseness5/5

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

The description is two sentences long and front-loaded with the main purpose. Every sentence provides value: the first defines the action and output, the second explains how to interact with the output. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has no output schema, the description compensates by describing the return format (list with references). It also links to the next step (using browser_click). It covers the essential aspects for usage. However, it could mention error conditions or requirements (e.g., page must be loaded).

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?

The schema has 100% coverage for the single parameter 'page_id', with a description. The tool description adds the default behavior ('if not specified, use the current page'), which provides extra context beyond the schema. This justifies a score above the baseline of 3.

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 clearly states the tool retrieves an ARIA accessibility snapshot and returns interactive elements with numbered references. This distinguishes it from siblings like browser_click (clicking) and browser_type (typing). However, it could more explicitly contrast with other browser tools.

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 description provides a usage hint: after getting the snapshot, use browser_click(ref) to click elements. But it does not specify when to use this tool versus alternatives, nor does it mention scenarios where it should not be used. The guidance is minimal.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FileXego/opencode-browser-control'

If you have feedback or need assistance with the MCP directory API, please join our Discord server