Skip to main content
Glama

gaussdbfornosql__ModifyPort

Change the access port for a GaussDB for NoSQL database instance by providing the instance ID, project ID, and a valid new port number.

Instructions

[GAUSSDBFORNOSQL] 修改数据库实例的端口。

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>",
      "port": "<port>",
      "project_id": "<project_id>"
    },
    "name": "gaussdbfornosql__ModifyPort"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYes新端口号。端口有效范围为2100~9500,暂不支持8636、8637和8638。GeminiDB Mongo副本集4.0数据库实例端口有效范围为2100~9500,暂不支持8636、8637和8638。 GeminiDB Cassandra数据库实例端口有效范围为2100~9500,暂不支持7000,7001,7199,8636,8479,8484,8999,8018,2180,2887,3887,8079,8091,8092。 GeminiDB Redis数据库实例端口有效范围为1024~65535,暂不支持2180、2887、3887、6377、6378、6380、8018、8079、8091、8479、8484、8999、12017、12333、50069。
project_idYes租户在某一region下的project ID。
instance_idYes实例Id,可以调用[5.3.3 查询实例列表和详情](x-wc://file=zh-cn_topic_0000001397299481.xml)接口获取。如果未申请实例,可以调用[5.3.1 创建实例](x-wc://file=zh-cn_topic_0000001397139461.xml)接口创建。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/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 disclosure burden, and it provides almost none. It does not state that this is a mutating, potentially disruptive operation, whether existing connections are dropped or the instance restarts, whether permissions or a maintenance window are required, or whether the change is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler. Nothing is redundant or buried; the only issue is that brevity here reflects under-specification rather than tight writing, which is scored elsewhere.

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 disruptive mutation with no annotations and no output schema, the description should at minimum flag restart/connection impact and post-change verification needs. As written, an agent knows only that a port changes, not what happens as a result or what a successful response looks like.

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% and the port parameter already enumerates the per-engine valid ranges and reserved ports, so the schema does the heavy lifting. The description adds nothing about port format, conflicts, or how project_id/instance_id relate to the change, which is the acceptable baseline when the schema is fully documented.

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 and resource ('修改数据库实例的端口'), which tells the agent this changes an instance's listening port. But it is essentially the tool name expanded, with no scope qualifiers and no differentiation from near-identical siblings such as gaussdb__UpdateGaussMySqlInstancePort or rds__UpdatePort.

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 use this tool, what prerequisites apply, or which alternative to pick when the target is a MySQL/Redis/proxy port rather than a NoSQL instance port. The agent must infer applicability purely from the tool name prefix.

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