Skip to main content
Glama

Replay a saved recipe, a step at a time

qa_recipe_apply

Replays a saved flow on the current page, filling each step in one batch and reporting missing fields. Run dry-run first to verify the recipe; override values for data-driven tests.

Instructions

Replay a saved flow on the page as it is NOW. Per step it takes its own snapshot, matches every field by accessible name (exact, then truncated, then contains, then the stored cssPath), fills the whole step in ONE batch, attaches the step's uploads, and clicks the advance control — so a step costs you one call instead of a snapshot plus a call per field. Refs are never reused across runs; the names are. A field the page no longer has comes back under missing instead of failing the step, so you can see what drifted and fix that one field by hand. Override any value with values — same recipe, different data (that is how one saved flow becomes a data-driven test). START WITH dry_run:true: it resolves everything and changes nothing, needs no consent at all, and tells you whether the recipe still fits. IT ACTS: with all it walks every remaining step and clicks each advance control, so if the last step's advance is Submit, it submits. On anything irreversible, run the steps one at a time. 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_recipe_apply"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoReplay from `step` to the end, stopping at the first step that cannot be resolved
nameYesThe recipe name (or part of it) from qa_recipe_list
stepNoWhich step to replay, 1-based. Default 1.
tabIdNoTarget tab (from qa_tabs); omit for the active tab
valuesNoOverride stored values, keyed by the field name in the recipe — { "Initiative name": "Test run 2" }
dry_runNoResolve the targets and report the plan without touching the page. Read-only.

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?

With no annotations, the description carries the full behavioral burden and does so: it discloses that the tool mutates the page, that `all` will click the final advance control including a Submit, that consent is required or the extension returns consent-required and does nothing, and that unresolved fields surface under `missing` rather than failing. Refs not being reused across runs is exactly the kind of non-obvious trait an agent needs before calling.

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?

The core action and the dry-run-first recommendation are front-loaded, and every clause carries operational information. It is a single dense block with some run-on sequencing, which costs a little readability but not correctness.

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 six-parameter mutating tool with a nested `values` object and no output schema, the description covers the failure modes (missing fields), the response signal (consent-required), the safety path (dry_run), and the blast radius (`all` can submit). Nothing an agent needs to call it correctly is absent.

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 the baseline is 3; the description earns more by explaining that `values` turns one saved flow into a data-driven test and that `all` walks every remaining step through each advance control. It adds intent-level meaning beyond the schema's field-level text, though it says nothing extra about `step` or `tabId`.

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 — replay a saved flow — and immediately pins the scope with 'on the page as it is NOW', which distinguishes it from saving or listing recipes. The per-step mechanics (snapshot, name matching, batch fill, uploads, advance click) make it unmistakable what the tool does versus single-action siblings like qa_click or qa_fill_json.

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 explicit when-to guidance ('START WITH dry_run:true') and a clear when-not caveat ('On anything irreversible, run the steps one at a time'), plus the consent prerequisite that would otherwise cause silent failure. It does not name a sibling tool as an alternative for the manual-repair path, so it stops short of full routing guidance.

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