Skip to main content
Glama

Choose in a dropdown

browser_select_option

Choose an option in a native dropdown () by ref, with the keyboard. value is the option's label or value; a list for a multi-select. A custom dropdown is clicked open instead; then click the option in its list.

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>",
      "value": "<value>"
    },
    "name": "browser_select_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesElement ref, e.g. 'e12'.
valueYesOption label or value, or a list.
tab_idNoA result's tab_id.
session_idNoOnly with several sessions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety bar is lower, yet the description still adds real behavior: interaction happens via keyboard on a ref target, and custom (non-native) dropdowns will not work with this call's approach. What it does not disclose is whether the selection fires change events, whether it scrolls the element into view, or what it returns on success.

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?

Three short sentences with the primary mode front-loaded and zero filler. The final clause about custom dropdowns is slightly compressed and reads as a mid-sentence pivot, but nothing 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?

Four parameters with full schema coverage and no output schema, so the description only needs to convey the interaction model and edge cases, which it mostly does. The missing piece is post-call expectations (verification, failure when the ref is not a select), a minor gap for a tool of this size.

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% and the schema already explains ref, value (label or value, or a list), tab_id and session_id. The description adds only the multi-select interpretation of a list value; the rest restates the schema, so the baseline 3 is correct.

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 (choose an option in a native <select>), names the mechanism (keyboard, by ref), and explicitly separates the native-dropdown case from the custom-dropdown case. An agent can tell this apart from generic clicking tools without opening the schema.

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?

It gives actionable routing: use this with the keyboard path for native <select> elements, but a custom dropdown must be clicked open and the option clicked from its list instead. That covers the main branch point. It stops short of naming explicit alternatives such as browser_click or browser_fill_form for the non-native case, leaving the agent to infer the follow-up tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.