Skip to main content
Glama
Wraith MCP Server

Wraith MCP Server

by YogevKr

select_option

Choose an option by index or visible label in a dropdown, suggestion field, or menu; unknown options return the available choices.

Instructions

Choose option (its value or visible label) in the list with the given index or label ("Duration"). An unknown option fails with the list of options.

The list can be a <select>, a field that shows suggestions while you type (people, addresses, tags), or a button that opens a menu: Wraith types option or opens the menu, then clicks the entry with that name. One call picks one entry.

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

Input Schema

NameRequiredDescriptionDefault
indexYes
optionYes
include_snapshotNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.29.0
    • addedInput schema / properties / index / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / index / type
      Removed value: -"integer"
  2. Addedv0.16.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful behavior: it types or opens the menu first, then clicks the entry, and an unknown option fails with the list of available options — valuable error semantics. It omits permission/auth needs, waiting or timing behavior for asynchronously-loaded suggestions, and whether the interaction is atomic or can leave a menu open on failure.

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?

Front-loaded with the core action and the error case, then a second paragraph for widget variants. Every sentence carries information; the only minor friction is the RST-style double-backtick markup and the unexplained product name "Wraith".

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?

An output schema exists, so return values need not be explained, and the description covers the mechanics, supported widget types, and failure behavior needed to invoke it correctly. The remaining hole is `include_snapshot`, whose default-on snapshot behavior is not described anywhere an agent would look.

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 0%, so the description must compensate, and it partially succeeds: it defines `option` as a value or visible label and `index` as either a position or a label (e.g. "Duration"), and explains the failure payload for an unknown option. The third parameter, `include_snapshot` (default true), is never mentioned, leaving a meaningful output-controlling flag undocumented in both schema and description.

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 concrete verb and resource ("Choose option in the list") and clarifies that the target may be a <select>, a suggestions field, or a menu button — a specificity that separates it from generic click/type_text siblings. It stops short of naming those siblings explicitly, so it is clear but not fully differentiated in so many words.

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 second paragraph gives usable context on when this applies: any list-like widget where one entry must be picked, plus the note that one call picks one entry (implying repeated calls for multi-select). It never states when NOT to use it (e.g. plain click, free-text typing into a non-list field), so the guidance is contextual rather than exclusionary.

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