Skip to main content
Glama

bcs__BatchAddPeersToChannel

Adds peer nodes to a specified Huawei Cloud Blockchain Service channel for a project, with each request targeting one channel at a time.

Instructions

[BCS] peer节点加入通道,目前仅支持往一个通道中加入peer

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

Input Schema

NameRequiredDescriptionDefault
project_idYes租户从IAM申请到的项目ID,一般为32位字符串
blockchain_idYesbcs 服务id
channel_peersYes加入某个通道的节点信息

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?

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say the operation is a write/mutation, whether it is idempotent, what happens if a peer is already in the channel, whether peers must be running, or what authorization is required. The single-channel constraint is the only behavioral hint, and it conflicts with the array-shaped channel_peers parameter without explanation.

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 compact sentence with the operation front-loaded and no filler. It is efficient, though the tag prefix and the ambiguous 'one channel' clause cost it a point.

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?

This is a mutating, nested-parameter operation with no annotations and no output schema, so the description should compensate with preconditions and effect semantics. Instead it offers only a one-line statement of intent, leaving an agent unable to predict side effects or failure modes before calling.

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%; the schema already documents project_id, blockchain_id, channel_peers, channel_name, and the peers org-to-count map. The description adds no syntax or format information beyond the schema, so the baseline 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 states a specific verb and resource: adding peer nodes to a channel, with the [BCS] service prefix. It distinguishes itself from the obvious inverse sibling (BatchRemovePeersFromChannel) by the verb 'add', but it never names an alternative or scoping condition explicitly.

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?

The clause '目前仅支持往一个通道中加入peer' gives a real usage constraint (one channel per invocation), which is useful. However there is no explicit when-to-use/when-not-to-use guidance, no mention of prerequisites such as channel or peer state, and no pointer to related operations.

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