Skip to main content
Glama
wrave-mcp

wrave-mcp

wrave_select_option

Selects an option in a native HTML dropdown by matching its value or visible label, targeting the element via snapshot ref, CSS selector, or visible text.

Instructions

Choose an option in a native by value or visible label.

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

Input Schema

NameRequiredDescriptionDefault
valueYesOption value or label
tab_idNoTab ID. Optional: defaults to the last tab you opened or used.
selectorYesTarget: @ref from the latest snapshot (e.g. "@3"), a CSS selector, or "text:Visible label".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and largely drops it. It does not say what happens if the value matches no option or matches multiple, whether change/input events are dispatched, or whether an error is returned versus silently no-op; for an interaction tool that mutates page state this is a real gap.

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?

One sentence, front-loaded with the action and scoped by the qualifier that matters most. Nothing is padded or repeated from the schema.

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?

For a three-parameter action tool with full schema coverage and no output schema, the essentials are covered, but the description should address failure behavior and the non-native-select case, which are the two things an agent most often gets wrong here.

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 coverage is 100% and the schema already documents @ref/CSS/text selector forms and the tab_id default. The phrase "by value or visible label" does add a little meaning to the `value` parameter (that a label is an acceptable fallback), but nothing beyond that, so the baseline 3 applies.

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 ("Choose") plus the resource ("an option in a native <select>"), and the qualifier "native <select>" implicitly separates it from generic click/type tools that would fail on select elements. It stops short of naming an alternative for custom (non-native) dropdown widgets, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the "native <select>" restriction — an agent can infer this is the right tool for real select elements and the wrong one for ARIA/custom dropdowns — but the description never says so explicitly, nor does it mention prerequisites such as taking a snapshot first to obtain an @ref.

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