Skip to main content
Glama

config__ListPolicyAssignments

Lists compliance policy assignments for a Huawei Cloud account, with optional filtering by policy name and pagination support.

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>"
    },
    "name": "config__ListPolicyAssignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo最大的返回数量
markerNo分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
domain_idYes帐号ID
policy_assignment_nameNo合规规则名称

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/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 delivers essentially nothing: no mention of pagination semantics, the hard 500-item cap, whether results are eventually consistent, or what fields come back. A read-only list is low-risk, but the agent gets zero behavioral context beyond the verb 'list'.

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 phrase with no filler and the resource front-loaded after the [CONFIG] tag. It is efficient, though the extreme brevity is better characterized as under-specification than as tight writing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Corrected for a simple four-parameter list operation whose schema is fully documented and which has no output schema to explain. Still, the description omits any disambiguation from the organization-level and RMS variants, which is the main thing an agent needs for this family.

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%, so all four parameters (limit, marker, domain_id, policy_assignment_name) are already documented with constraints and patterns. The description adds no extra meaning such as whether policy_assignment_name does exact or prefix matching, 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 names a verb ('列出' / list) and a resource ('合规规则' / compliance rules), so the basic operation is inferable. However, it never clarifies that these are policy *assignments* (the tool name says ListPolicyAssignments) versus policy definitions or policy states, leaving ambiguity against siblings such as config__ListBuiltInPolicyDefinitions and config__ListPolicyStatesByDomainId. The '用户的' qualifier at least hints at the tenant-scope variant.

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 use this tool versus config__ListOrganizationPolicyAssignments, rms__ListPolicyAssignments, or the state-listing siblings, and no stated prerequisites (e.g. that domain_id must be resolved first). The only cue is the one-word '用户' scope, which an agent must expand into a rule itself.

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