Skip to main content
Glama

Choose a value that lives across several levels

qa_pick_path

Selects nested values in Cascader, TreeSelect, and drill-down menus by following on-screen paths; reports missing levels so you can see where the path diverged.

Instructions

One call for the widgets where a single value takes several interactions: an Ant Design Cascader (country → region → city, a column per level), a TreeSelect with collapsed branches, a menu of submenus, any drill-down. Pass the path as it reads on screen and it opens the control, clicks each level on a FRESH snapshot (opening a level is exactly what re-renders the popup), expands a branch that hides its children, and closes up afterwards. A level that never appears is reported with the levels that did, so you can see where the path diverged from the page instead of guessing. Requires the one-time “Agent control” confirmation in the panel; without it the extension answers consent-required and does nothing.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe control's accessible name, e.g. "Delivery location"
pathNoThe levels in order, e.g. ["Ukraine","Kyiv oblast","Kyiv"]. Pass this OR `paths`.
multiNoLeave the popup open afterwards. Rarely needed now that `paths` exists.
pathsNoSEVERAL values from one control, walked inside ONE opening — e.g. [["Europe","Poland"],["Europe","Germany"]] for a checkable tree. Use this rather than calling the tool twice: a second call clicks the control to open it, which on an already-open popup CLOSES it, and live that left a tree with two picks holding none. A shared parent is not re-clicked (that would toggle the whole branch off).
tabIdNoTarget tab (from qa_tabs); omit for the active tab

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.86.2

TDQS

A4.6/5.0
Behavior5/5

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

No annotations exist, and the description carries the full burden well: it discloses that the tool opens the control, re-clicks on a fresh snapshot per level, expands hidden branches, closes afterwards, and reports the missing level alongside the levels that did appear. It also flags the consent gate and the exact failure mode (a second call closing an already-open popup, leaving a tree with no picks).

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 purpose, then mechanism, then failure reporting, then prerequisite. Dense but each clause carries information; the parenthetical asides ("opening a level is exactly what re-renders the popup") are long but justify themselves as rationale for the fresh-snapshot behavior.

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

Completeness5/5

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

For a stateful UI-driving tool with no output schema and no annotations, the description covers side effects, ordering constraints, destructive-ish popup interactions, error reporting, and the authorization prerequisite. An agent has what it needs to call this correctly on the first attempt.

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 100%, so baseline is 3, but the description adds meaning the schema does not: the path is passed "as it reads on screen," and `multi` is effectively deprecated in favor of `paths`. That is real guidance beyond the structured fields rather than repetition.

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 concrete operation (walk a multi-level value path) and enumerates the widget families it covers: Ant Design Cascader, TreeSelect with collapsed branches, submenu menus, any drill-down. That scoping implicitly separates it from the flat pickers (qa_pick_date, qa_pick_tags) and from qa_click without naming them, which is enough for an agent to route correctly.

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?

Gives clear selection logic: use `paths` rather than calling twice, because a second call toggles an open popup closed. It also states the prerequisite (one-time "Agent control" confirmation) and what happens without it. It never says explicitly what to use instead for a flat single-click dropdown, so the boundary is implied rather than stated.

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