Skip to main content
Glama

rds__AttachEip

Bind or unbind an elastic public IP to a Huawei Cloud RDS instance by specifying the instance, project, and EIP details. Use it to control public access for database instances.

Instructions

[RDS] 绑定和解绑弹性公网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": {
      "instance_id": "<instance_id>",
      "is_bind": "<is_bind>",
      "project_id": "<project_id>"
    },
    "name": "rds__AttachEip"
  }
}

Input Schema

NameRequiredDescriptionDefault
is_bindYes- true,绑定弹性公网IP。
public_ipNo待绑定的弹性公网IP地址,仅允许使用标准的IP地址格式。is_bind为true时必选
project_idYes项目ID。
instance_idYes实例ID。
public_ip_idNo弹性公网IP对应的ID,仅允许使用标准的UUID格式。is_bind为true时必选

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden and does not deliver: it says nothing about required permissions, whether binding replaces an existing EIP, whether unbinding is reversible, or what happens on conflict. The only behavioral signal is the implicit bind/unbind duality, which is not explained.

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 the '[RDS]' scope marker front-loaded — no filler. It is efficiently sized, though the brevity is partly under-specification rather than true density.

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 5-parameter mutation tool with no annotations and no output schema, one sentence is inadequate: the mutual relationship between 'public_ip' and 'public_ip_id', the conditional requirement when is_bind=true, and the post-call state are all left to the schema or undefined. The description does not compensate for the absent annotation and output context.

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 'is_bind', 'public_ip', 'public_ip_id', 'instance_id' and 'project_id' are all documented in the schema itself. The description adds no meaning beyond that baseline, so a 3 is the correct ceiling per the schema-coverage rule.

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 concrete verb+resource ('绑定和解绑弹性公网IP') scoped to RDS via the '[RDS]' prefix, so an agent knows it manipulates an EIP on an RDS instance. It does not differentiate itself from siblings such as eip__AttachBatchPublicIp or cbh__InstallInstanceEip, and it folds two opposite operations (bind/unbind) into one entry without saying so up front.

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 versus alternatives, no prerequisites (instance state, existing EIP, quota), and no explanation that 'is_bind' is the switch that selects bind vs unbind. The agent must infer the two modes entirely from the parameter 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