Skip to main content
Glama

Create Playbook

create_playbook

Create a reusable playbook template for automating project setup with ordered customer steps, then add individual steps after creation.

Instructions

Create a new reusable playbook template. A playbook is an ordered set of steps run against a customer to automate project setup. Add steps with add_playbook_step after creation.

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

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable name, e.g. 'New Web Project'.
slugYesURL-safe unique identifier, e.g. 'new-web-project'. Must be unique per company.
descriptionNoWhat this playbook is for and when to use it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the agent knows this is a non-destructive, local, non-idempotent write. The description adds useful context that the created object is an empty container to be populated later. It does not disclose that slug uniqueness is enforced per company (a likely failure mode) or what the caller receives on success, both of which would be valuable for a mutation 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?

Two short sentences with zero redundancy: the second defines the object before the agent must reason about it, and the third gives the follow-up action. Front-loaded with the action and nothing an agent must skip past.

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 simple three-parameter create tool with full schema coverage and adequate annotations, the description covers what the object is and how to continue building it. The remaining gap is that no output schema exists, so the agent has no way to know whether the response returns the new playbook's id (needed to call add_playbook_step), and the uniqueness-failure behavior is unmentioned.

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%, with each of the three properties documented including examples and the slug uniqueness constraint, so the description need not repeat them. The description adds no parameter-level meaning beyond the schema; baseline 3 applies.

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 ("Create a new reusable playbook template") and defines the domain object as "an ordered set of steps run against a customer to automate project setup," which an agent could not infer from the name alone. The verb clearly separates it from update_playbook, remove_playbook, and list_playbooks, though those siblings are never named.

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 closing sentence gives a concrete workflow cue ("Add steps with add_playbook_step after creation"), which tells the agent this is step one of a multi-call sequence. However, there is no guidance on when a playbook is the right structure versus creating tasks or projects directly, and no exclusion conditions or prerequisites.

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

Deploy Server

Other Tools