Skip to main content
Glama

Stop a build

alchemist_stop
DestructiveIdempotent

Stop the turn an Alchemist build is running, for when the user wants it halted: it is going the wrong way, taking too long or no longer wanted. The turn ends within a few seconds. Work done so far is kept, the step in progress is dropped, and the build stays open for a new message; no agent is removed, unpublished or archived. Returns stopping: true when a turn was running, false when none was, and then nothing changes. build_id is the id the build was given when it started, as the list of builds shows it.

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": {
      "build_id": "<build_id>"
    },
    "name": "alchemist_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
build_idYesId of the build whose running turn to stop.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / build_id / description
      Added value: +"Id of the build whose running turn to stop."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses timing ('ends within a few seconds'), what survives (work done so far is kept, build stays open), what is lost (the step in progress is dropped), and what is explicitly not done (no agent removed, unpublished or archived). The return contract is also stated: `stopping` is true only when a turn was running, otherwise nothing changes, which sharpens the destructiveHint/idempotentHint annotations rather than contradicting them.

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 action and its trigger are front-loaded, followed by effect, return behavior, and parameter provenance in a logical order. Every clause carries information an agent would otherwise have to guess; nothing is redundant with the annotations or 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 a single well-documented parameter and no output schema, the description covers the gaps that matter: effect on state, side effects on agents, timing, and the shape/meaning of the returned flag. Nothing needed to call this correctly or interpret the result is missing.

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 real meaning by explaining that `build_id` is the id assigned at build start and is the same one shown in the builds list, which helps the agent source the value correctly. It stops short of elaborating on the pattern constraint, which the schema already handles.

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?

The description opens with a specific verb and resource ('Stop the turn an Alchemist build is running'), which is clearly distinct from siblings like alchemist_do, alchemist_build, and alchemist_edit_build. An agent can identify the operation without opening the 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?

It gives concrete triggering conditions ('going the wrong way, taking too long or no longer wanted'), which is strong when-to-use guidance. It does not name a sibling alternative or an explicit when-not-to-use case, so it falls short of the top mark.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.