Skip to main content
Glama

Create a Playbook

create_playbook

Creates a new playbook at version 1.0.0 from a full content document matching the playbook schema (get_reference topic "playbook_schema"; validate_playbook runs the same checks without saving). Secret-shaped values are refused; sensitive vocabulary raises the sensitivity to at least "confidential" unless each term is in acknowledgedTerms. Returns the new playbook's id, slug and version. [Bearer scope: playbook:write]

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

Input Schema

NameRequiredDescriptionDefault
tagsNo
titleYesPlaybook title, 1–140 characters after trimming.
contentYesFull playbook document matching the schema from get_reference topic "playbook_schema" (profile, communicationStyle, workPatterns, toolStack, agentInstructions, workflowRecipes, privacyBoundaries, sharingPreferences, exportNotes).
summaryNoOptional listing summary. Defaults to content.profile.summary.
visibilityNoDefault 'private'.
packageTypeNoDefault 'agent_profile'.
sensitivityNoDeclared sensitivity (default 'internal'). The privacy scan can only raise it unless matched terms are acknowledged.
acknowledgedTermsNoSensitive-vocabulary terms (from a validate_playbook verdict) the operator acknowledges so the playbook stores at its declared sensitivity. values shaped like secrets are still refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only establish that this is a non-destructive, non-idempotent write; the description adds real operational context beyond them: secret-shaped values are refused, sensitive vocabulary escalates sensitivity to at least 'confidential' unless terms are in acknowledgedTerms, the return payload (id, slug, version), and the required bearer scope playbook:write. These are failure modes and side effects an agent must anticipate and none are in the schema.

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?

Front-loaded with the verb and versioning rule, then constraints, then return values, then the auth scope in a bracketed trailer. Parentheticals carry cross-references compactly and no sentence is redundant.

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?

With no output schema, the description correctly names the return fields, and for a create-with-privacy-scan tool it covers the refusal behavior, the sensitivity escalation rule, the escape hatch via acknowledgedTerms, and the required scope. Nothing essential to calling it successfully is missing.

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 88%, so the baseline is 3; the description earns above it by explaining the interaction between sensitivity and acknowledgedTerms (the scan can only raise, never lower, and only acknowledged terms are exempt) and by tying content to the named schema topics. It adds little on tags, visibility, or packageType, which remain schema-only.

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 ('Creates a new playbook') plus a concrete behavioral fact the name cannot convey (starts at version 1.0.0 from a full content document). It also differentiates itself from the closest sibling by noting validate_playbook runs the same checks without saving, so an agent can pick between the two 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?

Gives clear routing context: fetch the document shape from get_reference topic "playbook_schema" and dry-run via validate_playbook. That effectively tells the agent when to validate instead of create. It stops short of explicit exclusions such as 'use update_playbook_section to modify an existing playbook' or preconditions like plan/quota limits.

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