Skip to main content
Glama

config__UpdatePolicyAssignment

Update a Huawei Cloud compliance policy assignment for a specified account by providing the account ID and policy assignment ID.

Instructions

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

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__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?

With no annotations, the description must carry the full behavioral burden, and it does not. It never says which fields an update can change, whether the change is reversible, or what permissions are required. This matters especially because the schema exposes only two path identifiers and no body payload, so what actually changes is undisclosed.

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 bracketed phrase with no wasted words, but it is concise to the point of under-specification. There is no structure beyond the tag prefix and no supporting sentence that could guide an invocation.

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?

This is a mutation tool with no annotations and no output schema, and the description leaves almost every question unresolved. Most notably, it never explains what an update request without a body actually modifies. For a write operation of this complexity, the description is inadequate.

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%, and both parameters (帐号ID and 规则ID) are documented in the schema. The description adds no extra meaning beyond that, so the baseline of 3 applies.

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 says "更新用户的合规规则" (update the user's compliance rule), giving a verb plus a rough resource. But it calls the resource a "compliance rule" rather than a policy assignment, and it does nothing to separate this tool from close siblings such as config__UpdateOrganizationPolicyAssignment or rms__UpdatePolicyAssignment. The agent must rely on the tool name to see that this is an assignment update rather than a rule update.

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 statement of when to use this tool, no prerequisites, and no mention of alternatives. Given that the sibling list contains both an organization-scoped update and a differently prefixed rms__ update, this omission is significant.

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