Skip to main content
Glama

css__CreateBindPublic

Enables public network access for a Huawei Cloud CSS cluster by binding an elastic IP with bandwidth, so external clients can connect.

Instructions

[CSS] 该接口用于开启公网访问。

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": {
      "cluster_id": "<cluster_id>",
      "eip": "<eip>",
      "project_id": "<project_id>"
    },
    "name": "css__CreateBindPublic"
  }
}

Input Schema

NameRequiredDescriptionDefault
eipYes弹性IP信息。
isAutoPayNo是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。
cluster_idYes指定开启公网访问的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 and discloses almost nothing. It omits that this is a mutating, potentially billable operation (the schema exposes isAutoPay and a bandwidth size, implying an order is placed), and says nothing about reversibility, permissions, or the need to later unbind.

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

Conciseness3/5

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

A single short sentence with no wasted words, but it is under-specified rather than efficient; there is no structure or front-loaded detail beyond the bare purpose statement.

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 mutation tool with nested objects, a required EIP/bandwidth payload, a billing flag, no annotations and no output schema, the description is far too thin. An agent cannot tell from this text that calling it provisions chargeable public bandwidth or how to undo it.

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%, including nested bandWidth.size and the isAutoPay explanation, so the schema itself does the work and the baseline of 3 applies. The description adds no meaning beyond it, not even clarifying that the eip object must be supplied.

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 gives a verb+resource (开启公网访问 / enable public-network access), so the general intent is graspable. However, it never mentions that the operation binds an elastic IP (EIP) and bandwidth to the cluster, which is what the tool name and schema actually do, and it does not distinguish this from siblings such as css__UpdateUnbindPublic or css__UpdatePublicBandWidth.

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?

No guidance on when to use this versus the sibling public-access tools (unbind, whitelist, bandwidth update), no prerequisites such as cluster state or whether public access must be off first. The agent must infer everything about selection.

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