Skip to main content
Glama

Draft a playbook

draft_playbook

Drafts a playbook, the steps for handling one kind of work, for an admin to approve; nothing changes until a person approves it. part steps: steps for the playbook get_task_context names. part time: only minutes a person stated. part whole: a new playbook for work nothing handles; if refused, plan it with take_signal. Never write message text, names or values. Details: maplith://docs/mcp. Needs: an acting key that sees the whole map.

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": {
      "part": "<part>"
    },
    "name": "draft_playbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
partYestime: stated manual time (playbook_id, time_mode). steps: steps for a playbook Maplith wrote (playbook_id, steps, handoff). whole: a new playbook for an unhandled kind.
stepsNoBoth parts: the steps in order, a plain sentence each.
titleNowhole: a title in plain words.
valueNowhole: the benefit the evidence supports; never invent savings.
handoffNosteps: when a person takes over.
licenceNowhole: [{signal_kind, operations: ['hq.<op>'], max_per_day, close}]: operations per day and whether it may close.
problemNowhole: the recurring problem it removes.
purposeNowhole: exactly what it does.
triggerNowhole: when it applies.
workflowNowhole: also put it in this workflow.
time_modeNotime: status first; ask claims the question; answer or skip records the person's response.
completionNoHow anyone can tell it is done (whole needs it).
exceptionsNowhole: when not to follow it.
signal_idsNowhole: the signals it was drawn from.
time_basisNoperson_stated: the person gave these minutes or chose to skip; never an estimate.
playbook_idNosteps or time: the playbook id from get_task_context, or after playbook: in a search result.
signal_kindNowhole: the kind, as list_signals names it.
manual_minutesNotime answer: only the person’s stated minutes, at most two decimal places.
time_statement_idNotime: latest statement token from status; null before the first answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / properties / completion / description
      Previous value: -"How anyone can tell it is done (required for whole)."New value: +"How anyone can tell it is done (whole needs it)."
    • changedInput schema / properties / licence / description
      Previous value: -"whole: [{signal_kind, operations: ['hq.<op>'], max_per_day, close}], the operations it may take per day and whether it may close the signal."New value: +"whole: [{signal_kind, operations: ['hq.<op>'], max_per_day, close}]: operations per day and whether it may close."
    • changedInput schema / properties / part / description
      Previous value: -"time: person-stated manual time (playbook_id, time_mode). steps: steps for a Maplith-written playbook (playbook_id, steps, handoff). whole: new playbook for an unhandled kind (the whole: fields)."New value: +"time: stated manual time (playbook_id, time_mode). steps: steps for a playbook Maplith wrote (playbook_id, steps, handoff). whole: a new playbook for an unhandled kind."
    • changedInput schema / properties / playbook_id / description
      Previous value: -"steps or time: the playbook, as get_task_context names it, or the id after playbook: in a search result."New value: +"steps or time: the playbook id from get_task_context, or after playbook: in a search result."
    • changedInput schema / properties / steps / description
      Previous value: -"Both parts: the steps, in order, one plain sentence each."New value: +"Both parts: the steps in order, a plain sentence each."
    • changedInput schema / properties / time_basis / description
      Previous value: -"person_stated: the person explicitly gave these minutes or chose to skip; never an estimate."New value: +"person_stated: the person gave these minutes or chose to skip; never an estimate."
    • changedInput schema / properties / time_mode / description
      Previous value: -"time: status first; ask claims the one question. answer or skip records the person’s explicit response."New value: +"time: status first; ask claims the question; answer or skip records the person's response."
    • changedInput schema / properties / value / description
      Previous value: -"whole: the expected benefit supported by the evidence; never invent savings."New value: +"whole: the benefit the evidence supports; never invent savings."
    • addedInput schema / properties / workflow
      Added value: +{
      +  "description": "whole: also put it in this workflow.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / part / description
      Previous value: -"time: optional person-stated manual time for a playbook (playbook_id, time_mode). steps: the steps of a playbook Maplith wrote without them (playbook_id, steps, handoff, completion?). whole: a new playbook for a signal kind nothing handles (signal_kind, title, purpose, problem, value, trigger, steps, completion, exceptions?, licence?, signal_ids)."New value: +"time: person-stated manual time (playbook_id, time_mode). steps: steps for a Maplith-written playbook (playbook_id, steps, handoff). whole: new playbook for an unhandled kind (the whole: fields)."
  3. Changed1 schema field changed
    • changedInput schema / properties / playbook_id / description
      Previous value: -"steps or time: the playbook, as get_task_context names it."New value: +"steps or time: the playbook, as get_task_context names it, or the id after playbook: in a search result."
  4. Changed7 schema fields changed
    • addedInput schema / properties / manual_minutes
      Added value: +{
      +  "description": "time answer: only the person’s stated minutes, at most two decimal places.",
      +  "maximum": 1000000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / properties / part / description
      Previous value: -"steps: the steps of a playbook Maplith wrote without them (playbook_id, steps, handoff, completion?). whole: a new playbook for a signal kind nothing handles (signal_kind, title, purpose, problem, value, trigger, steps, completion, exceptions?, licence?, signal_ids)."New value: +"time: optional person-stated manual time for a playbook (playbook_id, time_mode). steps: the steps of a playbook Maplith wrote without them (playbook_id, steps, handoff, completion?). whole: a new playbook for a signal kind nothing handles (signal_kind, title, purpose, problem, value, trigger, steps, completion, exceptions?, licence?, signal_ids)."
    • changedInput schema / properties / part / enum
      Previous value: -[
      -  "whole",
      -  "steps"
      -]New value: +[
      +  "whole",
      +  "steps",
      +  "time"
      +]
    • changedInput schema / properties / playbook_id / description
      Previous value: -"steps: the playbook, as get_task_context names it."New value: +"steps or time: the playbook, as get_task_context names it."
    • addedInput schema / properties / time_basis
      Added value: +{
      +  "description": "person_stated: the person explicitly gave these minutes or chose to skip; never an estimate.",
      +  "enum": [
      +    "person_stated"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / time_mode
      Added value: +{
      +  "description": "time: status first; ask claims the one question. answer or skip records the person’s explicit response.",
      +  "enum": [
      +    "status",
      +    "ask",
      +    "answer",
      +    "skip"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / time_statement_id
      Added value: +{
      +  "description": "time: latest statement token from status; null before the first answer.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  5. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare a non-destructive write, and the description adds the crucial behavioral fact that 'nothing changes until a person approves it' — i.e. this creates a pending draft, not an active playbook. It also discloses the authorization requirement ('an acting key that sees the whole map') and the guardrail 'Never write message text, names or values.' It does not cover idempotency or what a second identical call does, which is notable for a write tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the approval guarantee are front-loaded, which is good, but the body degenerates into telegraphic fragments ('part steps: steps for the playbook get_task_context names'), and 'Never write message text, names or values' arrives with no context. Length is defensible for a 19-parameter, three-mode tool, but the phrasing costs readability without saving much space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex three-mode write tool with 19 parameters and no output schema, the description covers mode selection, approval semantics and permissions reasonably well. It never says what the call returns (a draft id? a pending approval token?) or how to follow up, and points to 'maplith://docs/mcp' for details rather than stating them, leaving an agent without a follow-up path after drafting.

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% and the enum descriptions already map playbook_id, steps, handoff, time_mode and time_statement_id to their parts, so the baseline is 3. The description reinforces the constraints that matter for correctness ('only minutes a person stated', 'never invent savings', 'Never write message text, names or values'), but adds little beyond what the schema already states.

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?

The opening sentence gives a specific verb and resource ('Drafts a playbook') and defines it functionally ('the steps for handling one kind of work'), plus the key qualifier that it is a draft awaiting human approval. The three 'part' variants are each named, so an agent can distinguish the sub-operations. It does not explicitly contrast the tool against most siblings, which caps it below 5.

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?

Each part carries a usage rule: 'steps' for a playbook that get_task_context names, 'time' only when a person stated minutes, 'whole' for work nothing handles, with 'if refused, plan it with take_signal' naming an alternative route. The prerequisite 'an acting key that sees the whole map' further constrains when it can be used. There is no explicit statement of when not to use the tool outside of those per-part conditions.

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