Skip to main content
Glama

browser_select_option

Selects one or more options in a dropdown () element using its page ref and option values or labels, enabling reliable form interaction.

Instructions

Select one or more options in a dropdown () element.

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": {
      "ref": "<ref>",
      "values": "<values>"
    },
    "name": "browser_select_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesExact target <select> element ref from the page snapshot.
valuesYesOption values or labels to select.
elementNoHuman-readable description of the dropdown.
sessionIdNoOptional target browser session ID. If omitted, uses the currently active session (or auto-launches one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden for a mutation tool, yet it says nothing about whether existing selections are replaced or appended, whether change events fire, or what happens if the ref is not a <select>. These are exactly the behaviors an agent needs before invoking a selection action.

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?

A single tight sentence with zero filler, front-loaded with the action and its target. Nothing is wasted or buried.

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?

With four parameters, two required, and full schema coverage, the definition is minimally sufficient to call the tool correctly. But for a browser-mutating action with no annotations and no output schema, the absence of any behavioral notes leaves a real gap.

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 description coverage is 100%, so all four parameters are already documented in the schema, and baseline is 3. The phrase "one or more options" weakly reinforces that values is a multi-item array, but adds no real meaning beyond the schema.

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?

States a specific verb ("Select") and resource (options in a dropdown <select> element), and the parenthetical clarifies the target element type. It does not, however, distinguish this from browser_click or browser_fill_form, which could also be used on form controls, so an agent must infer the boundary.

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 mention of <select> elements and of selecting one or more options implies the usage context clearly enough for an agent scanning siblings. There is no explicit when-not guidance (e.g., use browser_click for custom non-native dropdowns), which would have made this a 5.

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