Skip to main content
Glama

roma__UpdateBackendInstancesV2

Updates backend instances for a specified VPC channel by fully replacing the target server group; if no group is specified, it overwrites all backend instances.

Instructions

[ROMA] 更新指定的VPC通道的后端实例。更新时,使用传入的请求参数对对应云服务组的后端实例进行全量覆盖修改。若未指定修改的云服务器组,则进行全量覆盖。

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "vpc_channel_id": "<vpc_channel_id>"
    },
    "name": "roma__UpdateBackendInstancesV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
membersNo后端实例列表
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID
vpc_channel_idYesVPC通道的编号
member_group_nameNo需要修改的后端服务器组

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 provided, the description carries the full disclosure burden. It usefully discloses that the operation performs a full overwrite (全量覆盖) and that omitting a server group causes a full overwrite, but it does not mention permissions, reversibility, error behavior, or response semantics.

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?

The description is two focused sentences with the core purpose and overwrite behavior front-loaded. There is minor redundancy in repeating 全量覆盖, but no significant wasted wording.

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 five parameters and no output schema, the description covers the essential overwrite semantics but leaves out permissions, expected response, and failure behavior. It is adequate but not fully complete for an agent operating without annotations.

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 schema already documents all five parameters in detail. The description adds only the consequence of omitting member_group_name (full overwrite); the rest of the parameter meaning remains schema-driven.

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 states a specific verb and resource: 更新指定的VPC通道的后端实例 (update backend instances of a specified VPC channel). It also clarifies the overwrite scope, which distinguishes it from additive operations, though it does not explicitly name sibling tools such as AddingBackendInstancesV2.

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?

The description explains what happens during an update but gives no explicit guidance on when to use this tool versus alternatives like AddingBackendInstancesV2, ListBackendInstancesV2, or DeleteBackendInstanceV2. The conditional behavior for an unspecified server group is behavioral detail, not usage guidance.

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