Skip to main content
Glama

workspaceapp__BatchChangeServerMaintainMode

Marks servers as under maintenance so they stop receiving traffic; use it to take servers out of service for updates or repairs.

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目唯一标识。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; it does disclose the key consequence that maintained servers stop receiving traffic, which is genuinely useful. It omits how to exit maintenance mode, whether the change is reversible or idempotent, required permissions, and what the batch scope actually covers.

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 compact sentence, front-loaded with the action and immediately followed by the operational consequence; no filler. The '[WORKSPACEAPP]' tag is boilerplate but does not cost comprehension.

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 mutation tool with no annotations and no output schema, the definition explains the effect but leaves gaps around reversibility, authorization, and batch semantics. It is minimally adequate rather than complete.

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% for the single project_id parameter, so the schema already documents it fully and the description adds no further parameter meaning. Notably, the description does not explain why a 'BatchChange' tool takes only a project identifier with no server list or mode argument.

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 and resource ('标记服务器维护状态' / mark server maintenance status) and states the resulting effect on traffic, so the agent knows what the tool does. It does not, however, distinguish itself from adjacent siblings such as BatchRebootServer or BatchStopServer, nor does it clarify the 'Batch' aspect that the name implies.

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 guidance on when to choose this over other server-state operations, no prerequisites, and no statement of when not to use it. The only implied usage is the effect sentence about traffic no longer being allocated, which an agent must infer as the motivation.

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