Skip to main content
Glama

Run a scenario the human recorded

qa_scenario_run

Replay a saved form flow on the current page using your data, filling recorded fields and stopping at the first missing field to avoid invalid submissions.

Instructions

Replay a flow recorded in the panel, on the page as it is now, with YOUR data. Give vars for its placeholders ({ "summary": "Login 500s" }) and/or values to override any field by its label. This is how a form somebody fills weekly — a bug in Jira, a task, a story — becomes one call: the route was recorded once by a human who knows the form, and you supply the text. Each step is filled through the same engine as the panel's Fill, and the run STOPS at the first field the page no longer has rather than filling on and pressing Next over an invalid form. 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_scenario_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe scenario name from qa_scenarios
varsNoAnswers for the placeholders — { "summary": "…", "steps": "…" }
tabIdNoTarget tab (from qa_tabs); omit for the active tab
valuesNoOverride any field by its label — { "Priority": "High" }

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.86.2

TDQS

A4.2/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 load and does real work: it discloses that execution stops at the first missing field rather than pressing Next over an invalid form, that filling uses the same engine as the panel's Fill, and that a missing one-time Agent control confirmation yields consent-required and a no-op. It omits what a successful run returns or how partial success is reported.

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?

Front-loaded with the action, then prerequisites, then the failure-mode behavior — a logical order. Some rhetorical framing ("YOUR data", "a human who knows the form") is present but each sentence still carries operational information, so nothing meaningful is wasted.

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 tool with no output schema and four documented params, the description covers purpose, data input, safety behavior, and the consent gate. The notable remaining gap is the response shape on success versus blocking failure, which an agent would need to interpret results.

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 the schema already documents name, vars, values, and tabId. The description restates the vars/values distinction (placeholders vs. label overrides) with a matching example, which reinforces but does not materially extend the schema; the default-tab behavior for tabId is left to the schema.

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 flow recorded in the panel, on the page as it is now, with YOUR data." That is clearly distinct from siblings like qa_scenario_get (retrieve) or qa_fill_json (raw fill), and the description names where the recording comes from.

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 a concrete usage context — "a form somebody fills weekly — a bug in Jira, a task, a story — becomes one call" — plus how to supply data via vars/values, and states the consent prerequisite. It stops short of explicitly routing the agent to alternatives (e.g. qa_suite_run for batches, qa_fill_json for ad-hoc fills), so the when-not guidance 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.