Skip to main content
Glama

bcs__CreateNewBlockchain

Creates an on-demand BCS service instance with configurable cluster, channels, consensus, and storage for deploying blockchain networks.

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": {
      "cluster_type": "<cluster_type>",
      "create_new_cluster": "<create_new_cluster>",
      "enterprise_project_id": "<enterprise_project_id>",
      "name": "<name>",
      "project_id": "<project_id>",
      "resource_password": "<resource_password>",
      "version_type": "<version_type>"
    },
    "name": "bcs__CreateNewBlockchain"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes区块链服务名称,支持英文,数字,中文字符和中划线(-),不能以中划线(-)开头,长度4-24个字符。
use_eipNo是否使用集群节点弹性IP
channelsNo通道列表
tc3_needNo是否添加可信计算平台
consensusNoBCS服务的共识策略,Fabric1.4版本可选:测试策略(solo)、快速拜占庭容错算法(SFLIC);Fabric2.2版本可选:raft共识算法(etcdraft)、快速拜占庭容错算法(SFLIC)。被邀请方创建时,和邀请方保持一致。
peer_orgsNo节点组织列表。节点绑定模式中,组织名和IEF节点名必须一致。边缘集群模式时此字段必填。
block_infoNo区块生成配置信息
is_inviteeNo是否是创建被邀请方BCS服务实例,创建被邀请方实例需要同时填写invitor_infos字段中的信息
project_idYes租户从IAM申请到的项目ID,一般为32位字符串
turbo_infoNo极速文件存储卷信息
volume_typeNoCCE集群存储卷类型,根据实际环境可选:云硬盘存储卷(evs),文件存储卷(nfs), 极速文件存储卷(efs)
cluster_typeYes集群类型,可选:CCE集群 。
couchdb_infoNocouchDB信息
version_typeYesBCS服务版本类型,可选:。被邀请方创建时,和邀请方保持一致。
database_typeNoBCS服务数据库类型,包括文件数据库(goleveldb),NoSQL(couchdb),选择couchdb需要填写couchdb_info字段中的信息
evs_disk_typeNo云硬盘存储卷类型,volume_type选择evs时必填,可选:普通I/O(SATA),高I/O(SAS),超高I/O(SSD)
invitor_infosNo邀请方信息
org_disk_sizeNo节点组织存储容量,
bandwidth_sizeNo弹性IP带宽
fabric_versionNoFabric版本,当前邀请方以及私有链的创建仅可选:2.2 ;被邀请方创建时,和邀请方保持一致,1.4版本服务仅支持1.15及以下版本集群. 默认值为2.2.
ief_nodes_infoNoIEF集群节点列表,使用边缘集群模式部署时必填。
sign_algorithmNoBCS服务安全机制,可选:ECDSA(ECDSA),国密算法(sm2)
blockchain_typeNo区块链类型,默认私有链,可选:联盟链(union),私有链(private)。被邀请方创建时,和邀请方保持一致。
cce_create_infoNo创建新集群信息
ief_deploy_modeNoIEF集群部署方式,随机部署(0),组织节点绑定(1)。组织节点绑定模式时,peer_orgs 参数必填。组织名和IEF节点名必须一致。
cce_cluster_infoNo使用已有CCE集群信息,说明:Fabric1.4版本服务仅支持1.15及以下版本集群
kafka_create_infoNokafka实例创建信息
resource_passwordYesBCS服务资源、区块链管理密码
create_new_clusterYes是否创建新集群,使用已有集群需要填写cce_cluster_info字段中的信息,创建新集群需要填写cce_create_info字段中的信息
orderer_node_numberNo共识组织节点数,被邀请方创实例时可不填。购买fabric2.2服务时必填,若共识策略为Raft(CFT),节点数为3;若共识策略为快速拜占庭容错共识算法(FBFT),节点数为4。
restful_api_supportNo是否添加restful API支持
enterprise_project_idYesBCS服务所属企业项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 for a large infrastructure-mutating operation. Beyond the on-demand-only note, it says nothing about required permissions, long-running/asynchronous behavior, rollback or failure semantics, or the cost implications of provisioning a blockchain instance.

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?

One front-loaded sentence with no wasted wording and the key constraint surfaced immediately. However, the '[BCS]' prefix is decorative rather than informative, and the extreme brevity borders on under-specification rather than disciplined concision.

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 32-parameter, nested-object, instance-provisioning mutation with no annotations and no output schema, a single sentence is far too thin. The schema documents field formats well, but the definition omits the operational context (preconditions, sequencing with cluster/cert tooling, expected outcome) an agent needs to invoke it 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% across all 32 parameters, including detailed nested object descriptions, so the schema does the heavy lifting. The description adds no elaboration on any parameter, which is acceptable at full coverage but provides no extra value.

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?

States a specific verb and resource: creating a BCS service instance. An agent can distinguish this from siblings such as DeleteBlockchain or ShowBlockchainDetail without inspecting the schema. It stops short of 5 because it doesn't contrast with any adjacent creation/provisioning tool.

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?

The only guidance is the billing constraint '只支持按需创建' (on-demand creation only), which is a precondition rather than a when-to-use rule. Nothing tells the agent when this tool is appropriate versus alternatives, what prerequisites exist, or what other tools must be run first.

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