Skip to main content
Glama

sa__CreatePlaybookVersion

Creates a new version of a security playbook, saving its actions, rules, and trigger settings for a specified project and workspace.

Instructions

[SA] Create playbook version.

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__CreatePlaybookVersion"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionsNoInformation of actions.
rule_idNo过滤规则ID
project_idYesID of project
descriptionNoThe description, display only
playbook_idYesPlaybook id.
rule_enableNo过滤规则是否启用
dataclass_idNodataclass id.
trigger_typeNoStrategy of action. event, timer
workspace_idYes工作空间id
action_strategyNoStrategy of action. sync or async
dataobject_createNoif trigger when dataobject is created
dataobject_deleteNoif trigger when dataobject is deleted
dataobject_updateNoif trigger when dataobject is updated

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/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 for a 13-parameter mutation tool. It discloses nothing about required permissions, whether the new version becomes active, how the actions array is applied, or whether the call is reversible or destructive.

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?

The single sentence contains no waste and is front-loaded, but it is under-specified rather than concise. Length is not the problem; missing information is.

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 mutation tool with 13 parameters, three required IDs, no annotations, no output schema, and nested action definitions, a nine-word description is completely inadequate. An agent cannot safely call this tool based on the definition alone.

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%, so the schema documents all 13 parameters including the nested actions array with its own field descriptions. The description adds no meaning beyond that, but the baseline of 3 applies when the schema already does the heavy lifting.

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

Purpose2/5

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

"[SA] Create playbook version." only restates the tool name CreatePlaybookVersion in sentence form. It gives no detail about what a playbook version is or how it differs from siblings such as sa__CopyPlaybookVersion, sa__CreatePlaybook, or sa__CreatePlaybookAction.

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

Usage Guidelines2/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 can only infer from the name that this creates a version, without knowing whether it should be used instead of CopyPlaybookVersion or UpdatePlaybookVersion.

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