Skip to main content
Glama

mrs__UpdateAutoScalingPolicy

Updates auto-scaling policies for MRS cluster node groups or resource pools, including capacity limits, scaling rules, schedules, tags, and enablement.

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>",
      "node_group_name": "<node_group_name>",
      "project_id": "<project_id>",
      "resource_pool_name": "<resource_pool_name>"
    },
    "name": "mrs__UpdateAutoScalingPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes集群ID。
project_idYes项目ID。
node_group_nameYes节点组名称。必填参数。如果resource_pool_name为default,则创建节点组维度的弹性伸缩策略。如果resource_pool_name不为default,则在该节点组下创建对应资源池维度的策略。
resource_pool_nameYes资源池名称。必填参数。当集群版本不支持按指定资源池进行弹性伸缩时,需要填写为default资源池。不为default时删除指定资源池维度的弹性伸缩策略。
auto_scaling_policyNo弹性伸缩规则。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden, and it supplies nothing beyond the name. It does not say whether this is a full replacement or a partial merge of the policy, whether omitted rules/tags are deleted, what permissions or cluster states are required, or whether the change is reversible.

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 single sentence is front-loaded and contains no wasted words, but that brevity is under-specification rather than economy. There is no structure to speak of beyond the bracketed service prefix.

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

Completeness1/5

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

For a mutation tool with a large nested schema, no annotations, and no output schema, the description should explain replacement semantics and targeting behavior. Instead it says nothing, leaving the agent to reverse-engineer the operation from the schema alone.

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 all five parameters and the deeply nested auto_scaling_policy (rules, triggers, resource plans, tags) documented inline, so the baseline is 3. The description adds no semantics of its own — notably nothing on how node_group_name and resource_pool_name combine to select the policy target, which the schema explains but the description does not reinforce.

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 states a verb and resource ("更新弹性伸缩策略" / update auto scaling policy), so an agent can tell it is a mutation on scaling policies. However, it offers no scope detail and does not distinguish it from the sibling operations (Create/Delete/ShowAutoScalingPolicy), leaving the agent to infer differentiation from names alone.

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 when-to-use guidance, no statement of prerequisites, and no mention of when to prefer Create/Delete/ShowAutoScalingPolicy instead. The only cue is the word "update", which is implied by the name 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