Skip to main content
Glama

select_option

Choose an option in a browser dropdown by value or visible label, targeting the select element with a CSS selector or snapshot reference.

Instructions

Elige una opción de un select por valor o etiqueta.

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

Input Schema

NameRequiredDescriptionDefault
refNoRef de snapshot, por ejemplo e42 o s0e17.
tabIdNoPestaña objetivo. Por defecto la pestaña actual del agente.
valueYes
selectorNoSelector CSS o text=Texto visible.

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?

There are no annotations, so the description carries the full burden of explaining behavior. It does not disclose whether a change event is dispatched, whether the element is scrolled or focused first, what happens if the option is missing, or whether the action is reversible. For a state-mutating browser interaction, this is a significant gap.

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?

It is a single, compact sentence with no wasted wording. The description is front-loaded, though the sentence is so terse that it could have carried a clause about the target element.

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

Completeness2/5

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

With 4 parameters, no annotations, and no output schema, the description should explain how to identify the select, what happens on failure, and what side effects occur. None of that is present. It is also written in Spanish, while the parameter descriptions and sibling tools use English, which is a minor consistency issue.

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?

Coverage is 75% and the only parameter with no schema description is 'value'. The phrase 'por valor o etiqueta' adds real meaning: 'value' accepts either the option's value attribute or its visible text. However, it still does not explain how 'selector' versus 'ref' identifies the select, and it does not say whether the select target is required.

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?

The description states a specific verb and resource: choosing an option from a select element, in two distinct modes (by value or by label). Its purpose is clear, but it offers nothing to distinguish this operation from interaction tools such as click or type.

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?

No guidance is given about when to use this tool instead of click, type, or evaluate. It does not say whether it works only with native <select> elements or also with custom dropdowns, and it does not state any prerequisites or failure conditions.

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