Skip to main content
Glama

What kind of widget is this, and how do I drive it?

qa_probe

Identify an unfamiliar control and return the verb that drives it: classify by shape, click once only if needed, then press Escape to restore the form.

Instructions

Identify ONE unfamiliar control and get back the verb that drives it. Judges it first by shape — role, tag, name, state and its neighbours — which settles a sectioned date field, a file input, a switch, a slider or a plain field without touching the page at all. When the shape says nothing, which is what happens to a widget hand-rolled from s (role "generic", no name, no state), it clicks once and reads what the page DID: day numbers or a grid appeared → a calendar, two options → a select however it is built, checkboxes → a tree, a menu, a modal, or the most useful verdict of the set — it went expanded and the tree gained NOTHING, which means the popup is portalled markup with no roles and must be addressed by CSS selector (Ant Design). Then it presses Escape so the form is left as it was found. Use it on the ONE field that just refused a value, not on every field: a snapshot already classifies the whole page (componentLibraries + hints), and driving is what the other verbs are for. Do not aim it at a Submit or Next — that click advances the page and Escape cannot take it back; the reply says pageMoved when it happened. Requires the one-time “Agent control” confirmation in the panel; without it the extension answers consent-required and does nothing.

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": "qa_probe"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoA ref from the last qa_snapshot of this tab. Resolved against THAT snapshot and re-found on the fresh one, so it survives the renumbering.
nameNoThe control's accessible name, as a human reads it on screen
closeNoPress Escape afterwards to close whatever opened. Default true; pass false when you want to keep the popup open and read it
tabIdNoTarget tab (from qa_tabs); omit for the active tab
selectorNoCSS selector — for a control with no accessible name at all, which is the case this tool exists for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.86.2

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations the description carries the full burden and does so well: it discloses the shape-first, no-touch path, the single click when shape is inconclusive, the Escape that restores the form, the pageMoved signal when it did not, and the one-time 'Agent control' consent requirement with the consent-required failure mode. The only gap is the precise shape of the reply beyond the verb and pageMoved.

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 purpose and the shape-first rule, then the fallback click-and-read logic, then the guardrails. It is dense and nearly every sentence carries behavioral information, though the elaborate verdict narrative ('the most useful verdict of the set') could be trimmed.

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?

For a 5-parameter, annotation-free mutation-adjacent probe with no output schema, this covers side effects, restoration, consent, and failure modes thoroughly. What is missing is a fuller account of the returned payload (the verb, pageMoved, consent-required are named but not the full structure), which matters slightly more given there is no output schema.

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%, so ref, name, close, tabId and selector are already documented in the schema. The description adds context around the selector case ('no accessible name at all') and the Escape/close behavior, but mostly restates what the schema already conveys, so the baseline 3 applies.

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 specific verb and resource — identify ONE unfamiliar control and return the verb that drives it — and distinguishes itself from qa_snapshot (whole-page classification) and from the driving verbs. An agent can tell immediately what this returns and what it does not do.

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

Usage Guidelines5/5

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

Explicitly scopes usage to 'the ONE field that just refused a value, not on every field', names the alternative (a snapshot already classifies the page via componentLibraries + hints), and gives a hard exclusion: do not aim it at Submit or Next because that click advances the page and Escape cannot undo it.

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