Skip to main content
Glama

Save a bot draft

bot_draft_save

Saves a wave.botrecipe/1 bot draft for a person to finish in Wave's bot builder. Returns draft_id, checks and a one-time continue_url (7 days) to give that person. Draft only: you never mint, sign, spend or get a name. Max 20 open drafts. Needs sign-in (auth_challenge then auth_verify). Failed checks: error draft_invalid with checks.

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": {
      "recipe": "<recipe>"
    },
    "name": "bot_draft_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
recipeYeswave.botrecipe/1: name, slug?, pitch (≤90), category, tags (≤8), about, personality, rules { mode, freePerUserPerDay… no pricing }, knowledge (≤40: "v3:N" refs or { title, text ≤1,800 bytes, private? }), design? (wave.avatar/1 pixel20, ≤4 KB)
draft_idNoThe draft_id a save returned

Output Schema

NameRequiredDescriptionDefault
blockNo
staleNo
checksNo
sourceNo
statusNo
draft_idNo
expires_atNo
continue_urlNo
claim_expires_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the return payload (draft_id, checks, one-time continue_url valid 7 days), the non-minting scope, the 20-open-draft ceiling, the auth flow, and the failure mode (error draft_invalid with checks). This is exactly the side-effect and constraint information an agent needs before calling a non-readOnly tool.

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?

Short declarative sentences, each carrying distinct information (purpose, return shape, scope, limit, auth, errors) with the core purpose front-loaded. No filler.

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?

An output schema exists and the description still usefully names the return fields, and the auth prerequisite is covered, so most of what an agent needs is present. The gap is the draft_id param: whether passing a prior draft_id updates an existing draft is left unaddressed, which matters for a non-idempotent save.

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 coverage is 100%, so the recipe and draft_id fields are already documented with their own descriptions. The prose adds no extra meaning about recipe contents or about what happens when draft_id is supplied (update vs new draft), leaving that to the schema.

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?

States a specific verb and resource: "Saves a wave.botrecipe/1 bot draft for a person to finish in Wave's bot builder." The line "Draft only: you never mint, sign, spend or get a name" carves the tool away from the minting/bot-creation path, though it never names the closest sibling (dapp_draft_save) to sharpen the distinction.

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 concrete operating context: the draft is for a person to finish in the bot builder, sign-in is required via auth_challenge then auth_verify, and there is a hard cap of 20 open drafts. It stops short of explicit when-not or alternative-tool routing, but the prerequisites and limits are actionable.

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.

Resources