Skip to main content
Glama
omarchy-desktop

omarchy-desktop

by martoast

Read a dropdown's current value

read_selected_option

Reads the currently selected or displayed option from a dropdown or combo box without opening or changing it, so you can verify UI state before acting.

Instructions

Return the option a dropdown (combo box) currently reports selected, or the value it displays. Never opens or changes it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_selected_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
combo_refNo
combo_roleNocombo box
combo_textNo
window_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 two non-obvious behaviors: the read is non-mutating and it does not expand/open the dropdown to inspect it. What it omits is failure behavior when the control cannot be found, and it hedges on the return value ('the option it reports selected, or the value it displays') without saying which applies when.

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 sentences, zero filler, and the core purpose is front-loaded before the non-mutation caveat. Nothing could be removed without losing information.

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?

For a tool with no annotations, no output schema, and four entirely undocumented parameters, the definition is thin: an agent knows what it reads but not how to target the correct combo box or what shape the returned value takes. The ambiguity between 'selected option' and 'displayed value' is left unresolved.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are four parameters at 0% schema description coverage and the description mentions none of them. Notably, it never explains how the three identification parameters (combo_ref, combo_role, combo_text) relate to each other or that window_address scopes the lookup, which is exactly the meaning the empty schema fails to supply.

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 — return the currently-selected option of a dropdown/combo box — and clarifies the domain term by pairing 'dropdown' with 'combo box'. It does not name a sibling tool, but the clause 'Never opens or changes it' implicitly carves it apart from select_option, so an agent can distinguish read from write.

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?

The phrase 'Never opens or changes it' gives an implicit when-not signal (don't use this to alter the value), which nudges an agent toward select_option for mutations. However, there is no explicit guidance on when to prefer this over other read paths such as check_field_values or page_text, and no stated prerequisites for locating the control.

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