Skip to main content
Glama

Set a field to a value — any kind of field

qa_type

Fills one form control—text, select, checkbox, date picker, slider, or rich text—by snapshot ref or CSS selector and reports whether the value stuck.

Instructions

Put a value into ONE control, whatever kind it is — target it by a qa_snapshot ref (preferred) or a CSS selector. This is not a keystroke emulator, it is the extension's own fill engine, the same one behind the ⚡Fill button, so "typing" works on far more than text boxes: text/number/date inputs and textareas (native value setter + InputEvent, so React/Vue controlled inputs keep the value), native (your text is matched against the option labels), checkboxes and radios (a truthy value checks it, with a real click so the app's listeners run), CUSTOM SELECTS and typeahead comboboxes (Radix/shadcn, MUI, Ant, react-select, Downshift — it opens the popover, waits for the options, picks the one matching your value and verifies the trigger actually changed), POPUP DATE & TIME PICKERS (opens the calendar and picks a day), sliders, and contenteditable rich text. A file field takes the neutral Qiksy test file matched to its accept — use qa_upload when the bytes matter. So do NOT click a dropdown open, snapshot to read its options and click one: name the field and the value you want. Only fall back to the click path when this answers ok:false. Reports back whether the value stuck, so a masked or read-only field is visible to you rather than silently ignored. WHAT stuck: true DOES NOT PROMISE: it says the DOM kept the value, not that the app took it. When the tab is not in front the reply therefore also carries tab — state: "hidden" (another tab is active, so Chrome is not painting it and a popover will not render) or state: "unfocused" (the window is behind another application, so anything that commits on real focus or blur never gets it). It is a caveat and not a refusal: the fill still happened. If the answer matters, call qa_focus_tab and do it again. 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_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNoWRITE THE TEXT VERBATIM and pick nothing — the fast route through a composite widget. Every date, time, range, tags field and searchable select in Ant Design, MUI and react-datepicker has its own text input and takes the value in the format it DISPLAYS ("06/11/2024", "14:30", the option text); typing it costs under half a second where driving the popup costs 7 to 35 seconds (measured on a live stand). Use it when you already know the value. Leave it off when the widget itself is what you are testing: the default path opens the popover the way a user would, and converts a date-ish value to ISO, which is right for <input type=date> and wrong for a component whose format is DD/MM/YYYY.
refNoA ref from qa_snapshot (e.g. "e12") — preferred over selector; unique where a selector is ambiguous
blurNoWith `raw`: move focus away afterwards. Some controls keep a typed value only once focus LEAVES — a tags field is the usual one.
nameNoThe field's accessible name — resolved against a snapshot taken right now, so it survives the re-render that invalidates a ref. Use it for a field you are re-filling after something else changed.
openNoWith `raw`: click the control first. A select filters only while its list is open, so typing into a closed one leaves it empty while looking filled.
pickNoWith `raw`: after writing the text, CLICK the option whose text matches it — the other half of the fast route for a select, because the text only filters and something still has to choose the row.
textNoSame as `value`, under the name a model reaches for when the job is "type this text".
tabIdNoTarget tab (from qa_tabs); omit for the active tab
valueNoThe value you want: text, an option label for a select or combobox, a truthy/falsy word for a checkbox, a number for a slider
commitNoWith `raw`: the key that commits the value, default "Enter". Pass an empty string for none.
pickMsNoWith `pick`: how long to wait for that option, default 1200. It returns the moment the option appears.
frameIdNoWhich frame to ask, from qa_frames. Omit for the page itself. A payment form, an SSO step or an embedded widget usually lives in a frame of its own, and a cross-origin one can only be read from inside it.
selectorNoCSS selector of the field
settleMsNoWith `raw`: the cap on waiting for an option before the commit key. A select fed by a request needs ~900; a date parses its own text and needs none.

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 are supplied, so the description carries the full burden and does: it discloses the underlying mechanism (native value setter + InputEvent, real click for checkboxes so listeners run), the consent-required failure mode, and critically the limits of success — 'stuck: true … says the DOM kept the value, not that the app took it' — plus the tab state hidden/unfocused caveat. This is behavior beyond any structured field.

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: the action and targeting mechanism come first, then coverage, then the failure/caveat semantics. Most sentences earn their place, but the long inline widget taxonomy with all-caps emphasis ('CUSTOM SELECTS', 'POPUP DATE & TIME PICKERS') is dense and reads as more inventory than an agent needs to select and invoke.

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 14-parameter, no-annotation, no-output-schema mutation tool, the description covers the gaps that matter: what happens to values (verification via stuck), what a false positive looks like, environment preconditions (tab focus, consent), and when to escalate elsewhere. Nothing an agent needs to call it correctly is missing.

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 100% and every one of the 14 parameters has a substantive schema description, so the baseline is 3. The description reinforces two things the schema already states (ref preferred over selector, value semantics for select/checkbox/slider) but adds no parameter meaning that is absent from the schema; the raw/pick/open/commit interaction is explained in the schema itself.

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 ('put a value into ONE control') and immediately scopes the resource as any control kind, then enumerates the concrete widget families covered. It distinguishes itself from a keystroke emulator ('the extension's own fill engine … behind the ⚡Fill button') and from the click path, so an agent can tell what it is without reading the schema.

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?

Explicit when-to-use and when-not: 'do NOT click a dropdown open, snapshot to read its options and click one: name the field and the value you want', with a named fallback condition ('Only fall back to the click path when this answers ok:false'). It also routes to siblings by condition — qa_upload when the bytes matter, qa_focus_tab when the answer matters — and names the prerequisite 'Agent control' confirmation.

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