Skip to main content
Glama

create_playbook

Create an Autopilot Playbook: a reusable, ordered prompt chain an Autopilot column runs through Claude when a card enters it. Owner/admin only. steps is a non-empty ordered list; each step is {prompt_md, name?, model?} (prompt_md is required and is the instruction for that step; step N receives step N-1's output). output_target is 'append_body' (default) or 'replace_body', which sets where the final output lands on the card body. on_success_move_to is the column id a card advances to on success (null = stay). Mirrors POST /v1/orgs/{org_id}/playbooks.

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": {
      "org_id": "<org_id>",
      "name": "<name>",
      "steps": "<steps>"
    },
    "name": "create_playbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
stepsYes
org_idYes
output_targetNoappend_body
on_success_move_toNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the auth requirement (owner/admin), the step chaining semantics ("step N receives step N-1's output"), the default for output_target, and the null-means-stay behavior of on_success_move_to. It stops short of describing failure behavior, validation errors, or the response payload.

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?

Dense and front-loaded, moving from the concept to step semantics to the two optional parameters to the REST equivalent, with no filler sentences. It is a single long paragraph, so the parameter-by-parameter information would scan better as a short list, but every sentence earns its place.

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?

For a 5-parameter create tool with an output schema (so return values need no explanation) and no annotations, the description covers the non-obvious parameters, the permission gate, and the step-chaining contract. An agent has everything needed to construct a valid call.

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 0%, so the description must compensate, and it does for steps (non-empty ordered list with the {prompt_md, name?, model?} shape and prompt_md's role), output_target (values plus default), and on_success_move_to (column id, null semantics). The name and org_id parameters are left unexplained, though both are largely self-evident from context and the mirrored REST path.

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?

Opens with a specific verb and resource ("Create an Autopilot Playbook") and then defines the concept concretely as "a reusable, ordered prompt chain an Autopilot column runs through Claude when a card enters it." That definition distinguishes it from create_automation and update_playbook without the agent needing to open 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The definition supplies a prerequisite ("Owner/admin only") and enough conceptual framing that an agent can infer the tool is for first-time creation rather than modification. However, it never states when to use this versus create_automation or update_playbook, and no exclusions are given.

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