Skip to main content
Glama

gaussdb__ShrinkGaussMySqlProxy

Reduces the number of database proxy nodes for a GaussDB MySQL instance by specifying the instance, proxy, and node count to scale down.

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>",
      "node_num": "<node_num>",
      "project_id": "<project_id>",
      "proxy_id": "<proxy_id>"
    },
    "name": "gaussdb__ShrinkGaussMySqlProxy"
  }
}

Input Schema

NameRequiredDescriptionDefault
node_numYes数据库代理节点缩容操作需要减少的节点数。
proxy_idYes数据库代理ID,严格匹配UUID规则。
project_idYes租户在某一Region下的project ID。
instance_idYes实例ID,严格匹配UUID规则。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/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 of behavioral disclosure, yet it says nothing about the fact that this is a destructive capacity-reduction mutation, whether it is asynchronous, what constraints exist on node_num, or what happens to existing connections on removed nodes. For a shrink operation with zero annotation coverage this is a substantial gap.

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 short sentence with no wasted wording and the resource front-loaded. It is efficient, though the brevity tips into under-specification rather than genuine density of information.

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 a four-parameter mutation with no annotations and no output schema, the description should at minimum state constraints on the shrink count and confirm the effect. As written it leaves an agent unable to judge safety, side effects, or limits from the definition alone.

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 all four parameters (node_num, proxy_id, project_id, instance_id) are already documented in the schema. The description adds no further meaning beyond the resource-level statement, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb (缩容/scale down) and a resource (数据库代理节点/proxy nodes), but it is essentially a restatement of the tool name ShrinkGaussMySqlProxy with 'node count' appended. It gives no scope detail such as minimum node floor or which proxy the count applies to, and never names ExpandGaussMySqlProxy as the opposite operation.

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 conditions, and no reference to alternatives, even though the sibling set contains an obvious inverse (gaussdb__ExpandGaussMySqlProxy) and a resize operation (ChangeGaussMySqlProxySpecification). The agent must infer usage purely from the tool name.

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