Skip to main content
Glama

workspaceapp__ShowScalingPolicy

Queries a server group's auto-scaling policy, returning the default policy when no policy is configured.

Instructions

[WORKSPACEAPP] 查询服务器组弹性伸缩策略,如果服务器未配置策略时响应默认策略。

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": {
      "project_id": "<project_id>",
      "server_group_id": "<server_group_id>"
    },
    "name": "workspaceapp__ShowScalingPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目唯一标识。
server_group_idYes服务器组唯一标识。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one genuinely useful behavioral trait beyond the name: if the server group has no policy configured, a default policy is returned rather than an error or empty result. It says nothing about required permissions, error cases, or the shape of the returned policy.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the product tag first, the action second, and the important fallback caveat last. There is no filler or repetition.

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?

For a two-parameter read-only lookup with no output schema and no annotations, the description covers the purpose and the one surprising behavior (default-policy fallback) that affects how the agent should interpret a result. It is missing only optional context such as read-only confirmation and how it relates to the create/update/delete scaling-policy siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are two required parameters (project_id and server_group_id) and schema description coverage is 100%, so the schema already documents identifier format and constraints. The description is not expected to restate parameter syntax when the schema is complete; the baseline is 3, and the description's clarification that the policy queried belongs to the 服务器组 identified by server_group_id adds a little scope context, though it is not distinguishing.

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?

States a specific verb and resource: query the auto-scaling policy of a server group (查询服务器组弹性伸缩策略). The read-only nature distinguishes it implicitly from CreateOrUpdateScalingPolicy and DeleteScalingPolicy in the sibling set, but the description never names or contrasts those alternatives explicitly.

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?

Use is implied by the verb 'query' and the note about the default-policy fallback, which tells the agent what happens for an unconfigured group. There is no explicit when-to-use guidance, no prerequisites, and no routing to the sibling tools that create, update, or delete the same policy.

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