Skip to main content
Glama

rms__UpdatePolicyAssignment

Updates a compliance policy assignment for a Huawei Cloud account by account ID and policy assignment ID.

Instructions

[RMS] 更新用户的合规规则

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__UpdatePolicyAssignment"
  }
}

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 disclosure burden for a mutation tool. It does not say what gets changed, whether changes are reversible, what permissions are required, or how the update behaves against the two path identifiers — all of which matter for a write operation.

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?

The description is a single short phrase with zero padding or redundancy, so nothing is wasted. It is, however, too thin to be genuinely well-structured, since there is no front-loaded scope statement or qualifying clause to orient the agent.

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 mutation tool with no annotations and no output schema, the description should at least indicate what the update covers. Instead it states only that a rule is updated, leaving the actual mutation payload and effects entirely unexplained, which is a significant gap given the sibling set is dense with similarly named write operations.

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 path parameters (domain_id '帐号ID', policy_assignment_id '规则ID') documented in the schema itself. The description adds no meaning beyond that, so the baseline of 3 applies rather than a higher score.

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 gives a verb and a resource ('更新用户的合规规则' / update a user's compliance rule), which is better than a bare name restatement. However, the resource wording ('合规规则') does not match the schema's policy_assignment_id, and nothing distinguishes it from the many sibling policy-assignment tools (Enable/Disable/Delete/Show/UpdatePolicyState). An agent must guess whether this edits assignment metadata or rule content.

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 explicit when-to-use guidance, no prerequisites, and no mention of the alternative sibling operations (EnablePolicyAssignment, DisablePolicyAssignment, DeletePolicyAssignment). The only signal is the generic verb 'update', leaving the agent to infer the correct scenario.

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