Skip to main content
Glama

workspaceapp__CreateOrUpdateScalingPolicy

Create or update an elastic scaling policy for Workspace APP on-demand servers to adjust capacity as demand changes.

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>"
    },
    "name": "workspaceapp__CreateOrUpdateScalingPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目唯一标识。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden, and it only discloses the on-demand-server restriction. It says nothing about upsert semantics (what happens if the policy already exists, merge vs replace), required permissions, or reversibility — the critical behavioral facts for a create-or-update mutation.

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?

One short sentence, front-loaded with the action and followed by the key constraint — no filler. It is arguably too terse rather than padded, so conciseness itself is not the weakness.

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 an upsert-style mutation with zero annotations and no output schema, the description should explain how the target policy is identified and what update semantics apply. Given only project_id appears in the schema, the agent is left guessing what actually gets created or modified.

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?

There is a single parameter, project_id, and the schema already documents it at 100% coverage with a description and constraints. The prose adds no meaning beyond that, so the baseline of 3 applies for a fully-covered single-parameter schema.

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 names a specific verb pair and resource (新增/修改弹性伸缩策略 = create/update scaling policy), which tells an agent exactly what the tool does. It does not explicitly contrast with siblings like DeleteScalingPolicy or ShowScalingPolicy, but the create/update verb makes the distinction inferable from their names.

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?

It supplies one real usage constraint — 仅按需的服务器支持 (only on-demand servers are supported) — which is a precondition an agent must check before calling. However, it gives no guidance on when to choose this over sibling policy tools or what state must exist beforehand, so usage is only implied.

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