Skip to main content
Glama

ui_analyze_scope

Analyze the active page scope or focused overlay to get a compact role/name/CSS locator list of actionable controls, avoiding full-DOM scans.

Instructions

只分析当前活动页面范围或所聚焦浮层内的可操作控件。

有 Modal/Drawer/Dropdown/Popover 时裁剪底层页面;否则只扫描顶层当前文档与 激活的 AntD Tab iframe。结果是紧凑 role/name/CSS 定位清单,不展开整页 DOM。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_controlsNo
max_overlaysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/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 openly discloses cropping behavior, iframe handling, and the fact that it does not expand the entire DOM. It does not explicitly state read-only/side-effect status or failure behavior, but the scoping caveats provide solid transparency.

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?

Three short sentences front-load the core purpose, then add conditional behavior and output format with no fluff. The structure is easy for an agent to parse and every sentence earns its place.

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?

With an output schema present, the description does not need to detail return fields. The main gaps are undocumented parameters and no explicit alternative routing, but the scope, cropping, and iframe behavior are well covered, making it near-complete.

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%, and the description never mentions max_controls or max_overlays or how they affect the scan or result size. The compact-list promise only indirectly relates to max_controls, so the description does not compensate for the schema's lack of parameter documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('analyze') and a bounded resource: operable controls within the current active page or focused overlay. It also distinguishes itself from full-page DOM inspection by promising a compact role/name/CSS locator list, which clearly separates it from siblings like ui_snapshot or ui_page_context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides concrete conditions: when Modal/Drawer/Dropdown/Popover is present it crops the underlying page, otherwise it scans the top-level document and active AntD Tab iframe. This gives clear context for when the tool applies, but it does not explicitly name alternatives or state when not to use it.

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/hooplus1ce/Qa-Automation-MCP'

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