Skip to main content
Glama

sa__UpdatePlaybook

Update a Security Advisor playbook's name, description, enabled state, or active version ID using its playbook, project, and workspace IDs.

Instructions

[SA] Update playbook.

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": {
      "playbook_id": "<playbook_id>",
      "project_id": "<project_id>",
      "workspace_id": "<workspace_id>"
    },
    "name": "sa__UpdatePlaybook"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe name, display only
enabledNoIf is enabled, false for disenabled, true for enabled
project_idYesID of project
descriptionNoThe description, display only
playbook_idYesID of playbook
workspace_idYesID of workspace
active_version_idNo启用的剧本版本ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.4/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden, yet it discloses nothing about mutation semantics: no permission requirements, no statement of which fields are modifiable, no note on partial versus full updates, and no indication of reversibility or side effects on active versions.

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

Conciseness2/5

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

It is short, but brevity here reflects under-specification rather than economy. The single sentence restates the name and provides no front-loaded operational detail.

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

Completeness1/5

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

For a seven-parameter mutation tool with no annotations and no output schema, the definition provides nothing an agent needs in order to invoke it safely or correctly. It is entirely inadequate relative to the tool's complexity.

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 all seven parameters self-documented including the playbook_id, project_id, and workspace_id path identifiers, so the schema does the heavy lifting. The description adds no meaning beyond that, which lands at the baseline of 3 for high-coverage schemas.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

"[SA] Update playbook." merely restates the tool name and title with no added specificity. It does not say which aspects of a playbook are updated, nor does it distinguish this from siblings such as sa__UpdatePlaybookVersion, sa__UpdatePlaybookRule, or sa__UpdatePlaybookAction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. An agent has no way to know whether this edits metadata only versus version content, which the sibling Update* tools also touch.

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