Skip to main content
Glama

mrs__CreateAutoScalingPolicy

Creates an MRS auto-scaling policy for a cluster node group or resource pool, defining min/max capacity and scaling rules to automate node adjustments.

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

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.6/5.0
Behavior1/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, yet it says nothing beyond restating the tool name. It omits permissions required, whether an existing policy is overwritten, what happens when auto_scaling_policy is partial, and any indication of the call's side effects or failure modes.

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 clause is front-loaded and has zero fluff, but this is under-specification rather than true conciseness. There is no structure to speak of because there is effectively no content beyond the title.

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?

For a mutation tool with five parameters, four required, deep nested objects (rules, trigger, resources_plans), no annotations, and no output schema, a one-line description is far from sufficient. The rich input schema partly compensates for parameter detail, but nothing describes the behavior, prerequisites, or consequences of the call.

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 the field-level descriptions already explain cluster_id, project_id, node_group_name, resource_pool_name, and the nested policy object. The description adds no meaning on top of the schema, which is the baseline-3 case, although it does not compensate for a few truncated schema descriptions (comparison_operator, adjustment_type, period_type end with a colon and no enumerated values).

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 concrete verb and resource ("创建弹性伸缩策略" / create auto scaling policy), so the operation itself is unambiguous. However, it offers nothing to separate it from near-identical siblings such as mrs__CreateScalingPolicy, mrs__UpdateAutoScalingPolicy, or as__CreateScalingPolicy, leaving the agent to infer the distinction 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 precondition statement (e.g. an existing cluster and node group), and no mention of the Update/Delete/Show siblings as alternatives. The agent must guess the context in which this creation call applies.

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