Skip to main content
Glama

bcs__DeleteBlockchain

Deletes a Huawei Cloud BCS blockchain instance by ID; use it for pay-per-use instances, because package-period instances are not supported.

Instructions

[BCS] 删除bcs实例。包周期实例不支持

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": {
      "blockchain_id": "<blockchain_id>",
      "project_id": "<project_id>"
    },
    "name": "bcs__DeleteBlockchain"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户从IAM申请到的项目ID,一般为32位字符串
ief_nodes_idNoIEF模式下选填:若需要删除IEF边缘集群所使用的IEF边缘节点资源,则填写IEF节点的id,否则无需填写。例如:ief_nodes_id=1356f6f0-c448-4ec2-926f-c13b026369d9,0cdacbf9-2002-41e9-8123-2fa13e8d1449
blockchain_idYesbcs 服务id
is_delete_iefNo是否删除底层依赖的IEF边缘节点资源,CCE模式下不用填写,IEF模式下必填
is_delete_obsNo是否删除obs,IEF模式下不用填写
is_delete_storageNo是否删除存储,IEF模式下不用填写
is_delete_resourceNo是否删除底层CCE资源,IEF模式下不用填写
is_delete_lightpeerNoCCE模式下选填:是否删除LightPeer轻节点插件使用的IEF边缘节点资源,若需要删除,则填写对应的IEF编译节点名称,否则无需填写。例如:is_delete_lightpeer=ief_node_name_1,ief_node_name_2

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure. It states one constraint (prepaid instances unsupported) but is silent on the traits that matter most for a destructive operation: that the delete is irreversible, that associated channels/members/data are affected, what the is_delete_* flags cascade to, whether the call is asynchronous, and what permissions are needed.

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?

Two short sentences with no filler, and the core action is front-loaded ahead of the constraint. It is efficient, though the extreme brevity edges into under-specification rather than disciplined conciseness.

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 an eight-parameter destructive delete with no annotations and no output schema, the description is far too thin. An agent gets no information on destructive impact, cascading resource deletion, irreversibility, or return behavior, all of which it must know before invoking this tool safely.

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 eight parameters (blockchain_id, project_id, ief_nodes_id, is_delete_ief, is_delete_obs, is_delete_storage, is_delete_resource, is_delete_lightpeer) are already documented in the schema, including the CCE-vs-IEF mode conditions. The description adds no parameter meaning beyond that, so the baseline of 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 names a specific verb and resource ('删除bcs实例' / delete a BCS instance), which is unambiguous and clearly distinct from sibling operations such as CreateNewBlockchain or ShowBlockchainDetail. It does not explicitly name a sibling to route against, so it stops short of 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?

It supplies one real exclusion: prepaid/subscription-period ('包周期') instances cannot be deleted this way. However, there is no guidance on prerequisites (e.g., whether channels, peers, or members must be removed first), no named alternative for the unsupported case, and no statement of when this tool is the right choice versus other teardown tools such as DeleteChannel.

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