Skip to main content
Glama

mrs__ShowAutoScalingPolicy

Retrieve all auto-scaling policies for a specified MRS cluster using its cluster ID and project ID, so you can review scaling rules and configurations.

Instructions

[MRS] 查看指定集群的所有的弹性伸缩策略信息。

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": {
      "cluster_id": "<cluster_id>",
      "project_id": "<project_id>"
    },
    "name": "mrs__ShowAutoScalingPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
project_idYes项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 disclosure burden, yet it says nothing beyond 'view'. It does not confirm read-only semantics explicitly, state whether the result is paginated or bounded, note whether an empty list is normal, or mention any permission requirements for a cluster's scaling configuration.

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 front-loaded sentence with the service tag first and the scope last; nothing is redundant. The bracketed '[MRS]' prefix is minor overhead but aids cross-service disambiguation given the many similarly named scaling tools.

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

Completeness3/5

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

For a two-parameter read tool whose parameters and their retrieval methods are fully documented in the schema, the definition is minimally sufficient to invoke it. It falls short on behavioral context — result shape, pagination, and the fact that this is a non-mutating query — which no other structured field supplies.

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%: both cluster_id and project_id are documented with links to retrieval instructions. The description adds no meaning beyond the schema (e.g., that cluster_id determines the scope of the listing), so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb-resource pair in '查看' (view/list) plus '弹性伸缩策略信息' (auto-scaling policy information), scoped to '指定集群' (the specified cluster). An agent can tell it is a read of scaling policies, though it never explicitly contrasts itself with the Create/Delete/UpdateAutoScalingPolicy siblings that appear in the catalog.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the verb: the agent can infer this is the read path for a cluster's scaling policies. There is no statement of when to prefer it over siblings, no prerequisite notes, and no mention of how it relates to UpdateClusterScaling or the sibling mutating policy tools.

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