Skip to main content
Glama

select_option

Select one or more options in a native dropdown by value or visible text to fill forms. For custom dropdown widgets, click them instead.

Instructions

Choose option(s) in a dropdown by value or visible text. For custom dropdowns, click them instead.

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

Input Schema

NameRequiredDescriptionDefault
refNoElement ref from snapshot/find, e.g. "e12" (preferred).
tabIdNoTab ID from tabs_list. Omit for the active tab.
valuesYes
elementNoVisible text or label of the element, e.g. "Sign in" (fallback).
profileNoChrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile.
selectorNoCSS selector (fallback).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that only native <select> elements are supported and that custom dropdowns will not work, which is real behavioral context. However, it does not say whether multiple values replace or add to the existing selection, whether change events are dispatched, or what happens when a requested value is not found — meaningful gaps for a UI mutation with zero annotation coverage.

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?

Two short sentences with no waste. The primary capability is front-loaded and the fallback guidance follows immediately, so the agent gets the core instruction and the edge case in one pass.

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?

The tool has six parameters, no annotations, and no output schema, so the description is the only source of behavioral detail. It covers the element-type constraint well but omits selection semantics for multiple values, failure modes for unmatched values, and expected result. Adequate for a simple interaction, but not complete for an unannotated mutation tool.

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 high at 83%, so the schema already documents ref, tabId, element, selector, and profile. The description still adds genuine value by clarifying that the values array accepts either option values or visible text, which the schema leaves as an undescribed string array. It does not address multi-value ordering or partial-match behavior.

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 option(s) in a <select> dropdown') and immediately scopes the input semantics ('by value or visible text'). The closing clause distinguishes it from the native-dropdown case that would use click, so an agent can tell what this tool covers 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?

Explicitly names the when-not case: custom dropdowns are not handled here and should be clicked instead. That is a concrete routing instruction to a sibling. It stops short of saying when to prefer this over related interactions like check or press_key, but the core exclusion is clear.

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