Skip to main content
Glama

config__DeletePolicyAssignment

Deletes a Huawei Cloud Config policy assignment by rule ID and account ID, removing an unwanted compliance rule assignment.

Instructions

[CONFIG] 根据规则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": "config__DeletePolicyAssignment"
  }
}

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.6/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 burden. It says the rule is deleted but never discloses that this is irreversible, what state or associated compliance data is removed, or what permissions are required — critical gaps for a destructive mutation with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with a config namespace tag, front-loaded and free of padding. It is efficient, though its brevity borders on under-specification rather than exemplary conciseness.

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 destructive, two-required-parameter mutation with no annotations and no output schema, the description omits irreversibility, side effects, the domain_id requirement, and differentiation from the duplicate rms variant. It is not complete enough to call the tool safely without opening the schema.

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 coverage is 100%, so both parameters (domain_id, policy_assignment_id) are already documented in the schema; the baseline is 3. The description only references the rule ID and actually omits the required domain_id, adding no meaning 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 verb and object ("删除此规则" / delete this rule by rule ID), so the basic operation is identifiable. However, it uses the vague "此规则" rather than naming a policy assignment explicitly, and it gives no signal distinguishing it from the near-identical rms__DeletePolicyAssignment sibling.

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 guidance on when to use this versus the many sibling assignment tools, no prerequisites, and no mention of the config vs rms namespace distinction that matters here given the duplicated sibling names. The agent must infer everything 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