Skip to main content
Glama

Select dropdown option

browser_select_option

Selects an option in a element by value or visible label, enabling browser dropdown and form control.

Instructions

Select an option in a element by value or visible label.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_select_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoElement ref of the <select> element.
labelNoOption visible label text to select.
tabIdNoControlled tab id.
valueNoOption value attribute to select.
selectorNoCSS selector of the <select> element.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare this is a non-read-only, non-destructive, open-world action, so the description only needed to add context such as event dispatch, failure behavior, or element-location prerequisites. It adds none of that, offering only that selection can be driven by value or visible label.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, and the two selection keys are stated up front. It is efficient but arguably too terse for a tool with five optional, mutually alternative parameters.

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

Completeness3/5

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

For a simple single-action browser tool with full schema coverage and no output schema, the description is minimally adequate. The significant remaining gap is disambiguating ref/selector/tabId usage and stating failure behavior, which an agent needs to call this 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?

Schema coverage is 100% and all five parameters are individually documented, so the baseline is 3. The description restates the value/label alternative but adds no guidance on ref versus selector, despite the schema marking zero required parameters and leaving the targeting choice ambiguous.

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

Purpose4/5

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

Names a specific verb ('Select') and resource ('an option in a <select> element'), which is clear enough to separate it from browser_click or browser_type since it targets native dropdowns specifically. However, it never says the element must be a <select> rather than a custom widget, which limits differentiation.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance: nothing says to prefer this over browser_click for native selects, nothing about needing a snapshot first to obtain a ref, and nothing about what happens if the option doesn't exist. Usage is only implied by the element type.

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