Skip to main content
Glama

update_playbook

Patch an Autopilot Playbook. Owner/admin only. Only the fields you pass are changed; omit a field (leave it null) to keep it unchanged. steps / output_target are re-validated. 404 if the Playbook belongs to another org. Mirrors PATCH /v1/orgs/{org_id}/playbooks/{id}.

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>",
      "playbook_id": "<playbook_id>"
    },
    "name": "update_playbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
stepsNo
org_idYes
playbook_idYes
output_targetNo
on_success_move_toNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the permission requirement, the null-means-unchanged mutation semantics, that steps/output_target are re-validated, and the cross-org 404 behavior. Gaps remain around reversibility of the patch and what a successful response contains, but the key operational traits are covered.

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?

Five short sentences, front-loaded with the action, with zero filler. Each sentence adds a distinct operational fact (permissions, patch semantics, validation, error case, endpoint parity).

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 mutation tool with no annotations, the description covers auth, partial-update behavior, validation, and error handling, and an output schema exists to explain returns. The remaining shortfall is structural detail on the steps payload and the meaning of on_success_move_to.

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 0% across six parameters, so the description must compensate. It adds valuable semantics for the optional fields generally (null keeps the value unchanged) and specifically for steps/output_target (re-validated), but says nothing about name or on_success_move_to, or the expected shape of steps.

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 description opens with a specific verb+resource ("Patch an Autopilot Playbook") and anchors it to a concrete endpoint, so the operation is unmistakable. It does not explicitly contrast itself with create_playbook or delete_playbook, but "Patch" versus create/delete is clear enough from the wording alone.

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?

It supplies a real precondition ("Owner/admin only") and the operative update rule ("Only the fields you pass are changed; omit a field to keep it unchanged"), which tells an agent how to invoke it for partial updates. It stops short of naming alternatives or stating when not to use it, so it lands at clear-context-without-exclusions.

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