Skip to main content
Glama

gaussdb__ModifyGaussMySqlProxyRouteMode

Configure read/write splitting route mode for a GaussDB MySQL database proxy and set node weights to control traffic distribution.

Instructions

[GAUSSDB] 设置读写分离路由模式。

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>",
      "proxy_id": "<proxy_id>",
      "route_mode": "<route_mode>"
    },
    "name": "gaussdb__ModifyGaussMySqlProxyRouteMode"
  }
}

Input Schema

NameRequiredDescriptionDefault
proxy_idYes数据库代理ID,严格匹配UUID规则。
project_idYes租户在某一region下的project ID。
route_modeYes数据库代理路由模式。
instance_idYes实例ID,严格匹配UUID规则。
master_weightNo主节点权重:
readonly_nodesNo只读节点权重配置信息。
new_node_weightNo新增节点的读权重:
new_node_auto_add_statusNo是否开启新增节点自动加入该Proxy。如果需要设置是否开启新增节点自动加入该Proxy,请联系客服人员添加白名单,加入白名单后,方可输入该字段。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full disclosure burden, and it adds nothing beyond the one-word intent: no statement of permissions required, whether existing weights are overwritten, whether the change is reversible, what happens to in-flight connections, or the whitelist requirement for new_node_auto_add_status. For a mutation on live traffic routing with zero annotation coverage, this is a serious omission.

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?

A single front-loaded sentence with the resource stated first and no filler. It is efficient, though the brevity reflects under-specification rather than disciplined editing.

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?

This is an eight-parameter mutation tool with a nested readonly_nodes array, a conditional whitelist-gated field, no annotations, and no output schema; a one-sentence description is plainly insufficient. The agent lacks the semantic explanation of route_mode and the operational preconditions needed to invoke it safely.

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 eight parameters and the baseline is 3. The description contributes nothing extra, and notably the critical route_mode parameter has no enumerated values explained in either the schema or the description, leaving the agent unable to pick a valid value confidently.

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 (设置/set) and resource (读写分离路由模式 / read-write separation routing mode) scoped to the GaussDB proxy, which is enough to distinguish it from list/create/delete proxy siblings. It does not, however, differentiate it from close siblings like gaussdb__SetGaussMySqlProxyWeight or rds__ModifyRdSforMySqlProxyRouteMode, which touch the same routing configuration space.

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 prerequisite or permission context, and no mention of alternatives such as SetGaussMySqlProxyWeight. An agent must guess when routing mode should be changed versus node weights, and gets no hint that the tool is a mutation of a live proxy's traffic behavior.

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