Skip to main content
Glama
hooplus1ce

DrissionPage-MCP

by hooplus1ce

列出下拉选项

antd_get_options
Read-only

Expands an Ant Design dropdown select and lists all visible option texts.

Instructions

展开 AntD 下拉选择框并列出当前可见的全部选项文本(先于 antd_select 使用)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tab_idNo标签页 id,省略时用最新标签页
timeoutNo等待浮层出现的秒数
element_idYesSelect 元素的 element_id(find_element 定位 '.ant-select' 等)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

The description accurately reflects the read-only nature of the operation by indicating it expands and lists options, without suggesting any modification. It does not describe edge cases or failure modes, but the core behavior is transparently stated.

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, containing only the essential action, object, and usage hint. It avoids redundant wording and is well-structured for quick comprehension.

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?

The description states the output as 'all currently visible option texts,' which defines the expected result sufficiently. However, it does not mention whether additional data such as option values are included, and the available output schema is not shown in the prompt. This leaves a small gap in completeness.

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

Parameters5/5

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

Every parameter is described in the schema: tab_id is the tab identifier, timeout is the wait duration for the popup, and element_id is the Select element identifier. Schema coverage is complete and each description adds meaningful context.

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 the tool expands an AntD dropdown select and lists all currently visible option texts, and explicitly positions it as a precursor to antd_select. This leaves no ambiguity about the tool's core function.

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 direct usage guidance by stating it should be used before antd_select. It does not elaborate on when it should or should not be used relative to other select-like siblings, but the primary workflow hint is clear and actionable.

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