Skip to main content
Glama
hooplus1ce

DrissionPage-MCP

by hooplus1ce

页面控制物清单

page_controls
Read-only

List up to 40 interactive controls (buttons, inputs, dropdowns, links) on the current page to quickly see available actions, then use find_element and element_click for precise interaction.

Instructions

一次性列出当前功能页面的可交互控件(按钮/输入框/下拉/链接,封顶 40 项, 文本截断 24 字符)。用于首次进入页面时快速掌握可用操作,之后用 find_element + element_click 精确交互。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameNo搜索范围:省略=激活态 iframe 优先(主文档兜底);'main'=主文档; 也可用序号或 iframe 的 id/name(见 frame_list)
tab_idNo标签页 id,省略时用最新标签页

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses concrete behavioral details: it returns up to 40 controls and truncates text to 24 characters. This extra context helps the agent understand what to expect from the return value.

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 concise, consisting of two sentences that front-load the purpose and then provide usage context. It avoids unnecessary detail and is well structured.

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

Completeness5/5

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

Given that an output schema is present, the description does not need to explain return values. It sufficiently covers purpose, usage, and behavioral constraints, making it complete for the tool's scope.

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?

The schema descriptions already cover both parameters (frame and tab_id) with comprehensive explanations of defaults and allowed values. The tool description itself does not add any additional meaning to the parameters, so it stays at the baseline for high schema coverage.

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 clearly states that the tool lists interactive controls on the current page (buttons, inputs, dropdowns, links) with a limit of 40 items and text truncation at 24 characters. It also distinguishes this from precise interaction tools like find_element and element_click.

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

Usage Guidelines5/5

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

The description explicitly states when to use it: 'for first entering a page to quickly grasp available operations' and then suggests using find_element + element_click for precise interaction afterwards. This provides clear guidance on the intended workflow.

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