Skip to main content
Glama

gaussdbfornosql__ShowIpNumRequirement

Retrieves the required IP address count for creating a GaussDB NoSQL instance or scaling nodes, based on node count, project ID, and optional engine or instance details.

Instructions

[GAUSSDBFORNOSQL] 查询创建实例或扩容节点时需要的IP数量

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": {
      "node_num": "<node_num>",
      "project_id": "<project_id>"
    },
    "name": "gaussdbfornosql__ShowIpNumRequirement"
  }
}

Input Schema

NameRequiredDescriptionDefault
node_numYes创建实例或扩容节点的个数。最大支持输入200。
project_idYes租户在某一region下的project ID。
engine_nameNo数据库引擎名称。没有传入实例ID的时候该字段为必传。
instance_idNo实例Id,可以调用5.3.3 查询实例列表和详情接口获取。如果未申请实例,可以调用5.3.1 创建实例接口创建。
instance_modeNo实例类型。没有传入实例ID的时候该字段为必传。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 behavioral burden. '查询' implies a read-only calculation, but the description never states that this is a non-mutating estimate, that results are driven by node_num/engine_name/instance_mode, or what the response contains. For a zero-annotation tool this leaves meaningful gaps.

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 key scenario first and no filler. The bracketed '[GAUSSDBFORNOSQL]' service prefix is boilerplate noise but does not impede 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?

With 100% schema coverage and no output schema, the parameter side is covered elsewhere. The remaining gap is behavioral: the description does not explain that the answer is a computed IP requirement contingent on the supplied engine/mode/node count, nor how it relates to instance creation or scaling workflows.

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 five parameters are already documented in the schema, including the 200-node cap and the conditional requirement on engine_name/instance_mode when instance_id is absent. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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+resource: query the number of IPs required when creating an instance or scaling out nodes (扩容节点). That is concrete enough for an agent to recognize a capacity-planning lookup rather than an IP-group listing like the sibling ShowElbIpGroup or ShowIpGroup. It does not explicitly differentiate itself from those siblings, keeping it below a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the stated scenario — call it before creating an instance or adding nodes to check IP headroom — but there is no explicit 'use when / do not use when' statement and no named alternative for cases where an instance already exists (where instance_id would be supplied).

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