Skip to main content
Glama

build_start

Starts a background job to compile a saved flow or bundle into a Playwright spec and verify clean runs, returning a job_id to poll until completion.

Instructions

Start a background job that compiles a saved flow (or bundle) into a Playwright .flow.ts/.spec.ts and verifies it (readiness: clean runs). With a reset command (sitelooper.config.json resetCommand) it first converges, re-recording failing steps with the model. Readiness needs a reset command or fixture_isolation. Returns a job_id at once: poll job_status until done/failed (minutes).

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": {
      "flow": "<flow>"
    },
    "name": "build_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory (absolute) the command runs in; sitelooper.config.json is found from here. Default: the server's working directory.
flowYesFlow name or bundle path.
varsNoFlow variables, passed as repeated --var k=v. "{n}" in a value is replaced per run with a fresh value. Never a secret: use {{env:NAME}} markers in instructions instead.
convergeNotrue = --converge (default rounds), N = --converge N rounds, false = --no-converge (compile and readiness only).
fixture_isolationNoDeclare that project fixtures prepare fresh data (--fixture-isolation).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With only openWorldHint=true supplied, the description carries most of the behavioral burden and does it well: it discloses that this is a background/asynchronous job, returns a job_id immediately, can take minutes, and that converging re-records failing steps with the model — a real side effect not captured by annotations. It does not say whether existing .flow.ts/.spec.ts artifacts are overwritten, which is the main remaining gap for a write-capable tool.

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?

Four compact sentences, front-loaded with the primary action and ending with the follow-up instruction. Slight jargon density ('readiness: clean runs', 'converges') costs a little clarity, but nothing is redundant.

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 5-parameter asynchronous job with no output schema, the description supplies what an agent needs: the return value (job_id), the polling protocol, latency expectations, and prerequisites. Overwrite semantics and failure-recovery behavior are the only notable omissions.

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 adds genuine meaning by tying fixture_isolation to the readiness precondition and by explaining that convergence only happens when a reset command exists. The vars parameter is left entirely to the schema, which is acceptable given its detailed description.

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: starts a background job that compiles a saved flow/bundle into a Playwright artifact and verifies readiness. It also names the follow-up tool (job_status) so the agent can distinguish the launch step from the polling step without opening any schema.

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 clear context for use (compile + verify a flow) and an explicit next-step alternative: poll job_status until done/failed. It also states a hard precondition (a reset command or fixture_isolation is required for readiness). It does not say when to prefer sibling tools such as check, assert, or do instead, so no explicit exclusion is offered.

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