Skip to main content
Glama

下拉选择

web_select

Pick one or more options from a dropdown list using display text or value. Enables browser automation to change form selections.

Instructions

在下拉列表(select)中选择一个或多个选项,可按 value 或按显示文本 label 选择。

权限说明:修改页面表单数据。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNo最近一次快照中的引用编号,与 selector 二选一
labelNo按选项显示文本选择,与 value 二选一
valueNo按选项 value 选择,与 label 二选一
timeoutNo超时毫秒数,默认 10 秒,0 表示不限制
selectorNoCSS 选择器、text=关键词 或 testid=值,与 ref 二选一
Behavior3/5

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

No annotations are provided, so the description must disclose side effects. It does state that the tool modifies page form data, which is an important behavioral trait. However, it does not elaborate on other behaviors such as waiting for element availability, handling of multi-select, or failure conditions, leaving the transparency incomplete.

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 main function and follow with a permission note. Every sentence contributes purpose, with no redundancy or filler.

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?

For a relatively simple tool with 100% schema coverage, the description covers the core action and side effect. It does not describe return values or more complex interaction patterns, but given the schema richness, it is adequately complete for an agent to select the tool correctly.

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 input schema provides 100% parameter coverage, so the description need not add detailed parameter semantics. The description mentions the choice between value and label, which duplicates schema information but adds no further clarity beyond what the schema already documents.

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 selects one or more options in a drop-down list (select), either by value or by visible label. This specific verb+resource structure distinguishes it from sibling tools like web_click and web_fill.

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 implicitly establishes when to use this tool—whenever interaction with a select element is needed—but it does not explicitly name alternatives or exclusion scenarios. Clear context for dropdown interaction is provided, though no 'when not to use' guidance is given.

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/JohnXu22786/browser-automation'

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