Skip to main content
Glama

rms__ShowPolicyAssignment

Retrieves a single Huawei Cloud RMS rule by rule ID and account ID so you can inspect its configuration and compliance details.

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

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 burden and does not meet it. It never confirms this is a read-only lookup, states required permissions, or describes behavior when the ID does not exist (error vs empty). The "Show"/"获取" wording implies a read, but that is inference from the name rather than disclosed behavior.

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?

A single short sentence with zero filler, which is good, but for a tool with two required path parameters and no annotations it is undersized rather than tight. The bracketed "[RMS]" prefix occupies space without adding selection value.

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?

No output schema, no annotations, two required parameters — yet the description does not say what the response contains (assignment metadata, targets, compliance state?) or that both the account ID and assignment ID must be supplied. For an unannotated lookup tool with an aggregate/individual sibling fork, this leaves real gaps.

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% — both domain_id (帐号ID) and policy_assignment_id (规则ID) are documented in the schema. The description only echoes the 规则ID notion (as "规则ID") and says nothing about domain_id or about scoping the lookup to an account. Baseline 3 applies since the schema does the work.

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+resource ("根据规则ID获取单个规则" = get a single rule by rule ID), so the basic action is identifiable. However, the tool is ShowPolicyAssignment — a policy *assignment* — and the description calls the resource "规则" (rule), which blurs it against policy-definition tools and against the many sibling Show* tools (ShowAggregatePolicyAssignmentDetail, ShowOrganizationPolicyAssignment). The purpose is recognizable but the resource is imprecisely named.

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 when-to-use guidance at all: nothing says when to pick this over ShowAggregatePolicyAssignmentDetail or ShowOrganizationPolicyAssignment, nor what distinguishes an assignment ID lookup from the aggregate variants. The only implicit signal is "单个" (single), which hints at single-item vs list/aggregate but never states an alternative.

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