Skip to main content
Glama

sa__DeletePlaybookRule

Deletes a playbook rule by ID in a specified Huawei Cloud workspace, project, and version to remove obsolete or incorrect rule definitions.

Instructions

[SA] Delete 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>",
      "rule_id": "<rule_id>",
      "version_id": "<version_id>",
      "workspace_id": "<workspace_id>"
    },
    "name": "sa__DeletePlaybookRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYesrule_id
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

C2.2/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 behavioral burden, and it discloses nothing. It does not say the operation is destructive or irreversible, whether deleting a rule affects playbook versions or running instances, what permissions are required, or what is returned on success or failure. The text merely restates the tool name.

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?

The single fragment "[SA] Delete rule." is short but under-specified rather than concise; it carries no actionable content. The bracketed product prefix consumes part of an already minimal statement without adding information an agent can act on.

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

Completeness2/5

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

For a four-required-parameter destructive mutation with no annotations and no output schema, the description is far too thin. The schema documents the identifiers, but nothing explains the effect of the delete, its irreversibility, or the expected response, leaving the agent to guess about consequences before calling it.

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 four required path parameters (rule_id, project_id, version_id, workspace_id) documented in the schema itself, so the baseline is 3. The description adds no meaning beyond the schema — it does not explain the relationship between version_id and rule_id or the required ID format.

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

Purpose3/5

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

"Delete rule" states a specific verb and resource, so the basic action is identifiable. However, it never clarifies that this is a *playbook* rule rather than an alert rule, and the sibling set contains both sa__DeleteAlertRule and sa__DeletePlaybook, so the agent gets no help distinguishing which delete tool applies to which object type.

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 or when-not-to-use guidance at all, and no mention of alternatives such as disabling a rule instead of deleting it. The description gives no precondition or context signal to select this tool over its many delete siblings.

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