Skip to main content
Glama

sa__UpdatePlaybookRule

Update an existing Huawei Cloud playbook rule by ID to change its conditions, logic, schedule, and repeat settings for automated response workflows.

Instructions

[SA] Update 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__UpdatePlaybookRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleNoCondition info of rule
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

D1.7/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 beyond the mutation implied by its own name. It says nothing about whether this is a full replace or a partial patch of the nested `rule` object, whether the rule must be in a draft version, what permissions are needed, or whether existing conditions are discarded.

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?

Only four words, so nothing is wasted, but this is under-specification rather than conciseness; the "[SA]" prefix consumes the little space available and conveys no actionable information.

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 five parameters (four required), a nested conditions/logics object, and no annotations or output schema, the description omits everything an agent needs to invoke it safely. The only supported behavior is inferred from the name, which is not sufficient.

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 the nested `rule` object documents cron, logics, conditions, repeat_count, repeat_range, schedule_type, and expression_type inline. The description adds no meaning of its own, but with complete schema coverage the baseline of 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] Update rule." merely restates the tool name with a product prefix; it names no resource domain (playbook rule vs. alert rule vs. playbook version) and gives no scope. Against siblings like sa__UpdatePlaybook, sa__UpdatePlaybookVersion, and sa__UpdateAlertRule, an agent gets no positive signal that this one targets playbook *rules*.

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 routing to alternatives, despite at least four near-identical update siblings. The agent must guess whether updating a rule requires a draft version_id, a specific workspace, or prior ShowPlaybookRule retrieval.

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