Skip to main content
Glama

css__UpdateUnbindPublic

Disables public network access for a specified CSS cluster by unbinding its elastic IP; note that subscription (period) clusters cannot use this API operation.

Instructions

[CSS] 该接口用于关闭公网访问。包周期类型的集群不支持通过api进行关闭公网访问。

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

Input Schema

NameRequiredDescriptionDefault
eipNo弹性IP信息。
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

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the mutating nature of the call and one eligibility constraint, but it says nothing about permissions, reversibility/idempotency, or failure behavior when public access is already closed. It also fails to explain why an eip object is accepted on an unbind call.

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?

Two short sentences: the action first, then the eligibility constraint. Nothing is redundant or padded, and the most important information is front-loaded.

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?

For a 3-parameter mutation with no annotations and no output schema, the description covers purpose and one exclusion but leaves behavioral expectations (permissions, resulting state, handling of the eip argument) unaddressed. It is adequate to select the tool but thin for invoking it confidently.

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 cluster_id, project_id and the nested eip.bandWidth.size are already documented in the schema; the baseline is 3. The description adds no meaning beyond that, and notably leaves the seemingly out-of-place eip parameter unexplained for a disable operation.

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 names a specific verb and resource in Chinese: "该接口用于关闭公网访问" (this API disables public access), which is concrete enough to separate it from sibling mutators like css__CreateBindPublic or css__UpdatePublicBandWidth. It stops short of explicitly naming the inverse/alternative tool, so it is clear but not maximally differentiated.

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

Usage Guidelines4/5

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

It supplies a real precondition/exclusion: 包周期 (subscription/period-billed) clusters cannot have public access disabled via API. That is genuine when-not guidance, but there is no statement of what to do instead for those clusters, nor of required permissions or cluster-state prerequisites.

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