Skip to main content
Glama

rms__DisablePolicyAssignment

Disables a Huawei Cloud RMS policy rule by rule ID and domain ID, stopping enforcement of that rule.

Instructions

[RMS] 根据规则ID停用此规则

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": {
      "domain_id": "<domain_id>",
      "policy_assignment_id": "<policy_assignment_id>"
    },
    "name": "rms__DisablePolicyAssignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYes帐号ID
policy_assignment_idYes规则ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it says nothing beyond the bare action. For a mutation tool it omits whether disabling is reversible (e.g., via rms__EnablePolicyAssignment), what permissions or account scope are required, and what effect the change has on compliance evaluation.

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?

It is a single short clause with no wasted words and the action is front-loaded, so nothing could be trimmed. However, it is undersized for a mutation tool, leaving no room for the operational context that would make it useful.

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?

With two required parameters, no annotations, and no output schema, the description is the only place behavioral information could live, and it provides none. It does not cover reversibility, permissions, or side effects, which an agent needs before invoking a state-changing operation.

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 both domain_id (帐号ID) and policy_assignment_id (规则ID) documented, so the baseline is 3. The description restates only the rule ID and adds no format, scope, or edge-case detail beyond the schema.

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?

The description states a specific verb (停用/disable) and a target, but refers to it as "此规则" (this rule) rather than the policy assignment the tool name and schema identify, creating a naming mismatch. It does not distinguish this tool from sibling operations on the same resource such as rms__EnablePolicyAssignment or rms__DeletePolicyAssignment.

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 guidance on when to disable versus delete or update an assignment, no mention of prerequisites such as the assignment needing to be currently enabled, and no reference to any alternative tool. An agent must infer the usage context entirely from the name.

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