Skip to main content
Glama

select_option

Select a dropdown option by visible text, value, or index with CSS, XPath, or custom locator.

Instructions

Select an option from a dropdown by visible text, value, or index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYesCSS selector, XPath, or other locator value
byNoLocator strategycss
timeoutNoWait timeout in seconds
by_textNo
by_valueNo
by_indexNo
Behavior2/5

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

With no annotations, the description carries full burden but only states selection methods. It fails to disclose behaviors like waiting, error handling (e.g., if option not found), or implications for multi-select dropdowns. The timeout parameter suggests waiting, but this is not explained.

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?

Single sentence of 11 words, no redundancy. Front-loads core purpose and methods, making it highly efficient and well-structured.

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 simple tool with no output schema, the description covers the essential action and selection methods. It lacks details like whether it works with multi-select or clears current selection, but overall is sufficiently complete given low complexity.

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?

Schema coverage is low (50%) with by_text, by_value, by_index lacking descriptions. The description compensates by mentioning 'by visible text, value, or index', which clarifies the purpose of these undocumented parameters and indicates they are alternative selection strategies.

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 specifies 'Select an option from a <select> dropdown' with clear verb and resource, and distinguishes from sibling tools like click or type_text. It explicitly mentions the selection methods (visible text, value, or index), making the tool's purpose unambiguous.

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 implies usage for <select> dropdowns but does not provide explicit guidance on when to use this tool versus alternatives, nor does it mention prerequisites or conditions for use. No 'when not to use' or alternative tool references are present.

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/seleniumboot/selenium-mcp'

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