Skip to main content
Glama

Dispatch autonomous testing agent

wopee_dispatch_agent

Dispatches an autonomous AI agent to execute specified test cases in a real browser asynchronously; returns tracking info, not pass/fail, for polling results.

Instructions

Dispatch an autonomous AI agent to execute specific test cases. The agent opens a real browser, navigates the app, follows the test case's steps, and reports results. A test case without steps runs as it is: the agent follows its description and the run records the steps it took (unless you set stepsGenerationRequested: false on that test case, to keep it intent-only), so never generate steps first just to be able to run it. Tests run ASYNCHRONOUSLY (1-3 minutes). This tool returns tracking info confirming dispatch — NOT final results. Do NOT interpret the response as pass/fail. Poll wopee_fetch_recent_executions or wopee_fetch_executed_test_cases every 30-60 s for the verdict (inside the Commander Assistant, results also arrive as a chat notification). Prerequisite: test cases must exist in the suite (generate with wopee_generate_artifact type USER_STORIES_WITH_TEST_CASES).

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": {
      "suiteUuid": "<suiteUuid>",
      "analysisIdentifier": "<analysisIdentifier>",
      "testCases": "<testCases>"
    },
    "name": "wopee_dispatch_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
suiteUuidYesUUID of the suite to dispatch the agent for
testCasesYesChosen test cases to dispatch the agent for
analysisIdentifierYesAnalysis identifier of the suite to dispatch the agent for

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.41.0
    • addedInput schema / properties / testCases / items / properties / stepsGenerationRequested
      Added value: +{
      +  "description": "Whether a PASSED run of a step-less test case saves the steps the agent took (default: true). Set false to keep the test case intent-only. A test case that already has steps is never changed.",
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changedv1.32.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / testCases / items / additionalProperties
      Removed value: -false
  3. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say it is non-read-only, open-world and non-idempotent; the description adds the crucial facts an agent cannot infer — the run is asynchronous (1-3 minutes), the response is dispatch tracking information and not a verdict, and it must not be read as pass/fail. It also discloses the side effect on step-less test cases (the run records the steps taken unless stepsGenerationRequested is false).

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 action, then the async caveat, then the polling instruction and prerequisite — a sensible order for an agent that must not misread the response. It is dense but nearly every sentence carries a distinct operational warning; the only mild redundancy is restating the steps-recording rule already in the schema.

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?

With no output schema, the description carries the burden of explaining the return value, and it does so explicitly (tracking info, not results, do not interpret as pass/fail) plus where results actually come from. Prerequisites, timing, and the step-generation side effect are all covered, leaving nothing an agent needs before calling it.

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, but the description goes slightly beyond by explaining the intent behind stepsGenerationRequested — keeping a test case intent-only versus letting the agent persist its steps — and by framing why one would not pre-generate steps. It does not add syntax or format detail for suiteUuid/analysisIdentifier, but the schema already covers those.

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 ('Dispatch an autonomous AI agent to execute specific test cases') and immediately describes the mechanism — opens a real browser, navigates the app, follows steps. It is clearly separable from the polling siblings it names and from wopee_generate_artifact, which it positions as a prerequisite generator rather than an executor.

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?

Gives explicit when-to-use and when-not guidance: it names the prerequisite (test cases must exist, generated via wopee_generate_artifact), warns 'never generate steps first just to be able to run it', and names the exact alternatives to poll afterwards (wopee_fetch_recent_executions / wopee_fetch_executed_test_cases at 30-60 s). This is about as complete as routing guidance gets.

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