Skip to main content
Glama

browser_select

Select an option by value on an indexed native dropdown, dispatch a bubbling change event for React/Vue bindings, and return whether it succeeded; false indicates a custom combobox.

Instructions

Select an option by value on an indexed native select dropdown. Sets the value, dispatches a bubbling 'change' event (React/Vue form bindings pick it up), and returns whether the operation succeeded — false means the element is not a native select (custom comboboxes need browser_click on the trigger, then browser_click on the option). Works even when the field is redacted (you can operate credential dropdowns without seeing values).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "index": "<index>",
      "value": "<value>"
    },
    "name": "browser_select"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYesSelect element index from the most recent snapshot
valueYesThe option value to select (the value attribute, not the visible label)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / index / description
      Added value: +"Select element index from the most recent snapshot"
    • addedInput schema / properties / value / description
      Added value: +"The option value to select (the value attribute, not the visible label)"
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the DOM mechanism (sets value, dispatches a bubbling 'change' event so React/Vue bindings fire) and the return contract (boolean success, false = not a native select). It omits what happens when the value does not exist among options, when the option is disabled, or when the index is stale — residual gaps for a mutation-style tool.

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?

Front-loaded with the core action, then the mechanism, then the failure/alternative guidance — a sensible ordering. The final redaction sentence is a useful edge case but stretches the definition; overall no sentence is wasted.

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?

No output schema exists, and the description compensates by explaining the boolean return and its false case. For a 2-parameter tool with full schema coverage this is close to complete, though failure recovery beyond the combobox case (missing value, disabled option) is left implicit.

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 100%, so the baseline is 3, and the description adds real meaning: the 'value' is the value attribute rather than the visible label, and redacted fields can still be operated on, which tells the agent it need not see option text to supply a value. The index is only glossed as coming from a dropdown, leaving freshness tied to the schema's 'most recent snapshot' wording.

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?

States a specific verb and resource ('select an option by value on an indexed native select dropdown') and immediately bounds the scope with 'native', which separates it from custom combobox handling. The contrast with browser_click-based combobox flows makes the boundary unmistakable.

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?

Gives an explicit when-to-use (native select), an explicit when-not (custom comboboxes) and the alternative procedure: 'browser_click on the trigger, then browser_click on the option'. It even covers a special case where usage is safe (redacted credential dropdowns).

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