Skip to main content
Glama

sa__CreatePlaybookRule

Create a playbook rule to define event conditions and execution timing for automated security responses in a Huawei Cloud workspace.

Instructions

[SA] Create rule.

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

Input Schema

NameRequiredDescriptionDefault
ruleNoCondition info of rule
project_idYesID of project
version_idYesversion Id value
workspace_idYesID of workspace

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 disclosure burden, and it discloses nothing: not whether the new rule is enabled immediately, whether it executes on the cron schedule right away, what permissions are required, or whether it is reversible. For a creation/mutation tool with a complex nested payload, this is a complete gap.

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?

Six words is technically concise, but this is under-specification rather than economy: there is no front-loaded explanation of the resource, no structure, and the "[SA]" product tag consumes a large share of the text while conveying nothing about behavior.

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?

The tool takes a deeply nested rule object (cron expressions, condition arrays, boolean logic trees, repeat ranges) with no annotations and no output schema, yet the description says nothing about how to construct a valid rule or what the call returns. It is wholly inadequate for this level of 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% and every parameter (project_id, version_id, workspace_id, rule) carries its own schema description, including nested cron, conditions, logics, schedule_type, and expression_type fields. The description adds no meaning beyond the schema, so the baseline 3 applies.

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 rule." only restates the tool name (CreatePlaybookRule) in abbreviated form; it never explains what a "rule" is in this system (scheduling/cron conditions, logic expressions) or how it differs from the sibling sa__CreateAlertRule. An agent must infer everything from the name and schema.

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?

No when-to-use guidance at all: no mention of prerequisites (project/version/workspace context), no indication of when to choose this versus sa__CreateAlertRule or whether a playbook must exist first. Sibling names imply alternatives but the description does not route between them.

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