Skip to main content
Glama

Run a build step

alchemist_do
Destructive

Run one step on an Alchemist build that the user's coding agent runs step by step: tool is a step its stage allows, args that step's input. op_id is an id you make up for this step: sending the same op_id with the same args again returns the first result instead of running it twice. user_words quotes the user's own words when the step acts on what they said, such as a support ticket or a lesson for an agent. Steps can build, test and change agents and raise tickets. A step out of order comes back refused with what to do first. A step longer than about 20 seconds returns status still_running (not an error) and carries on; its result is then the build's last_op.

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>",
      "tool": "<tool>",
      "op_id": "<op_id>"
    },
    "name": "alchemist_do"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoThe step's input, matching that step's input schema.
toolYesName of a step the build's current stage allows, as listed in its allowed steps.
op_idYesAn id you make up for this step. The same op_id with the same args again returns the first result instead of running the step twice.
build_idYesId of the build to run the step on.
user_wordsNoThe user's own words when the step acts on what they said, such as a support ticket or a lesson for an agent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Changed5 schema fields changed
    • addedInput schema / properties / args / description
      Added value: +"The step's input, matching that step's input schema."
    • addedInput schema / properties / build_id / description
      Added value: +"Id of the build to run the step on."
    • addedInput schema / properties / op_id / description
      Added value: +"An id you make up for this step. The same op_id with the same args again returns the first result instead of running the step twice."
    • addedInput schema / properties / tool / description
      Added value: +"Name of a step the build's current stage allows, as listed in its allowed steps."
    • addedInput schema / properties / user_words / description
      Added value: +"The user's own words when the step acts on what they said, such as a support ticket or a lesson for an agent."
  10. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses idempotency semantics, the ordering constraint and its refusal behavior, and the ~20-second timeout that returns status still_running rather than an error, with the result landing in the build's last_op. The destructiveHint=true annotation is consistent with the stated ability to change agents and raise tickets, so no contradiction.

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?

A single dense paragraph that front-loads the action and the key parameters before the edge cases. Every sentence carries information, though the mix of parameter semantics and runtime behavior in one block makes it slightly harder to scan than a separated structure would.

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 mutation tool with no output schema, the description covers the important non-obvious behaviors an agent must handle: idempotent retries, ordering refusals, and long-step timeouts. It does not describe the shape of a successful result beyond pointing at last_op, but the operational gaps that would cause a failed call are addressed.

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 all five parameters are already documented in the schema. The description largely restates those meanings (tool is an allowed step, args its input, user_words the user's own words) and adds only the stage-allowlist framing, so baseline 3 is appropriate.

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 with scope: 'Run one step on an Alchemist build that the user's coding agent runs step by step.' The single-step granularity plus the note that steps can build, test, change agents, and raise tickets makes it distinguishable from whole-build siblings like alchemist_build and alchemist_edit_build 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?

Explains the execution model clearly: steps run in order, a step out of order is refused with what to do first, and re-sending the same op_id with the same args is a safe retry. It does not name an alternative tool or state an explicit 'use X instead' condition, so the routing guidance is contextual rather than comparative.

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.