Skip to main content
Glama

run_converge

Runs a baseline test suite, then repeats targeted rounds to close coverage gaps and failed scenarios until pass-rate and gap thresholds are met. Returns round results and opens the final HTML report.

Instructions

Iterative coverage: runs the full baseline suite, then automatically runs follow-up rounds targeting coverage gaps and failed scenarios until pass rate and gap thresholds are met (or max rounds reached). Use for "keep testing until coverage is good". Returns results across all rounds and opens the final HTML report.

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": {
      "url": "<url>"
    },
    "name": "run_converge"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesBase URL of the running application (e.g. http://localhost:3000).
modeNoHow much to test each page (default: vibe.config.json mode, else deep). deep = every page thoroughly (all checks). fast = every page lightly: load, server/console errors, broken values; no clicks or submissions. auto = pages changed since the last run (or `since`) thoroughly, affected pages at standard depth, the rest lightly; the first run behaves like deep. changed = only changed and affected pages, thoroughly. The run summary lists each page's depth and why.
sinceNoFor mode auto/changed: compare against this branch, tag or commit (e.g. "main") instead of the last vibe-test run.
headedNoShow the browser window during testing. Defaults to headless (false) when used via MCP. Set true to watch the browser.
codebase_pathNoAbsolute path to the project root directory. Defaults to the current working directory.
target_pass_rateNoStop when last batch pass rate reaches this 0–1 (default 0.92).
max_followup_roundsNoMax extra rounds after baseline (default 4).
max_high_severity_gapsNoStop when critical+important gaps <= this (default 2).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.5.0
    • removedInput schema / properties / mode / default
      Removed value: -"deep"
    • changedInput schema / properties / mode / description
      Previous value: -"fast = quick heuristic scan. deep = full feature extraction with dialogs and CRUD detection."New value: +"How much to test each page (default: vibe.config.json mode, else deep). deep = every page thoroughly (all checks). fast = every page lightly: load, server/console errors, broken values; no clicks or submissions. auto = pages changed since the last run (or `since`) thoroughly, affected pages at standard depth, the rest lightly; the first run behaves like deep. changed = only changed and affected pages, thoroughly. The run summary lists each page's depth and why."
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "fast",
      -  "deep"
      -]New value: +[
      +  "fast",
      +  "deep",
      +  "auto",
      +  "changed"
      +]
    • addedInput schema / properties / since
      Added value: +{
      +  "description": "For mode auto/changed: compare against this branch, tag or commit (e.g. \"main\") instead of the last vibe-test run.",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure and does a good job: it explains the baseline-plus-follow-up loop, the stopping conditions, that results cover all rounds, and that the final HTML report is opened. It still omits some operational details such as runtime expectations or environment prerequisites, but the core behavior and side effect are disclosed.

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?

The description is front-loaded, efficient, and free of filler. It covers the iterative behavior, the usage cue, the stopping conditions, and the return/report behavior in a compact form.

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?

The tool is complex and iterative, with no output schema, so the description should explain the control flow and stopping logic. It does that well and notes that results span all rounds and a final HTML report is opened, though it could say more about the shape of the returned 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 description coverage is 100%, so the input schema already explains every parameter, including mode, since, target pass rate, and gap thresholds. The description mentions pass rate and gap thresholds conceptually but adds little parameter-specific meaning beyond the schema, making 3 the appropriate baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific behavior: run the full baseline suite, then automatically run follow-up rounds targeting coverage gaps and failed scenarios until thresholds are met. This clearly distinguishes it from a one-shot test run, though it does not explicitly name the sibling run_full_test as the non-iterative alternative.

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?

It gives a concrete usage cue: 'Use for keep testing until coverage is good,' which tells an agent when this iterative tool is appropriate. It does not explicitly state when not to use it or compare it directly with run_full_test, so guidance is clear but not complete.

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