Skip to main content
Glama

Answer an approval card

alchemist_answer
Destructive

Answer an Alchemist approval card with the chosen response. Answering can publish an agent, make it live, merge agents or change their behaviour. response must be one of the card's responses; approve does what the card proposes. merge needs keep, the agent that stays. Per-item items on a fix card go with approve. On a website connect_channel card, approve takes origins, the site addresses the user gave (like https://shop.example). Other inputs a card asks for go in fields, and the user's own words in note. Returns the next builder turn, or, on a build run step by step, the card's outcome (op) and the build's next stage.

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>",
      "approval_id": "<approval_id>",
      "response": "<response>"
    },
    "name": "alchemist_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
keepNoOn a merge, the id of the agent that stays.
noteNoThe user's own words to go with the answer.
itemsNoOn a fix card answered with approve, how to handle each listed item.
fieldsNoOther inputs the card asks for, keyed by the field names the card lists.
originsNoOn a website channel card answered with approve, the site addresses the user gave, like https://shop.example.
build_idYesId of the build the card belongs to.
responseYesOne of the card's responses; approve does what the card proposes.
approval_idYesId of the approval card being answered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / approval_id / description
      Added value: +"Id of the approval card being answered."
    • addedInput schema / properties / build_id / description
      Added value: +"Id of the build the card belongs to."
    • addedInput schema / properties / fields / description
      Added value: +"Other inputs the card asks for, keyed by the field names the card lists."
    • addedInput schema / properties / items / description
      Added value: +"On a fix card answered with approve, how to handle each listed item."
    • addedInput schema / properties / keep / description
      Added value: +"On a merge, the id of the agent that stays."
    • addedInput schema / properties / note / description
      Added value: +"The user's own words to go with the answer."
    • addedInput schema / properties / origins / description
      Added value: +"On a website channel card answered with approve, the site addresses the user gave, like https://shop.example."
    • addedInput schema / properties / response / description
      Added value: +"One of the card's responses; approve does what the card proposes."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds the substantive detail those hints don't: answering can publish an agent, make it live, merge agents, or change their behaviour, and it describes what is returned (next builder turn, or `op` plus next build stage). It stops short of covering irreversibility, permission requirements, or failure modes for an operation this consequential.

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?

It is front-loaded with the action and its consequences, then moves through conditional parameter rules in compact sentences with no filler. There is some duplication with the schema's own per-parameter descriptions (for `keep`, `origins`, `items`, `fields`), which costs a little density but reinforces the conditionality usefully.

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?

With eight parameters, nested `items`, no output schema, and destructive behavior, the description covers the two things an agent most needs: what answering actually does and how parameters vary by card type, plus a return-value summary. Missing only error/edge-case behavior, which is a modest gap for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 well beyond it by explaining conditional semantics the schema cannot: `response` must be one of the card's `responses`, `keep` applies only on merge, `origins` only on website connect_channel cards answered with approve, `items` only on fix cards. This maps parameters to card types, which is meaning the schema alone does not convey.

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 ('Answer an Alchemist approval card') and immediately states the real-world effects of doing so: publishing an agent, making it live, merging agents, or changing behaviour. No sibling tool operates on approval cards, so the agent can distinguish it without opening a 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?

Usage conditions are given per card type: `merge` needs `keep`, fix-card `items` go with `approve`, website connect_channel cards take `origins` on `approve`, and other card inputs go in `fields`. This tells the agent when each parameter applies, though it never explicitly names an alternative tool or a when-not-to-use condition.

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.