Skip to main content
Glama

bcs__DownloadBlockchainSdkConfig

Downloads the SDK configuration file for a specified BCS service instance, covering channel, chaincode, peer organization, and certificate path details.

Instructions

[BCS] 下载指定服务实例SDK配置文件

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>",
      "cert_path": "<cert_path>",
      "chaincode_name": "<chaincode_name>",
      "channel_name": "<channel_name>",
      "peer_orgs": "<peer_orgs>",
      "project_id": "<project_id>"
    },
    "name": "bcs__DownloadBlockchainSdkConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
cert_pathYesSDK配置文件存放路径
peer_orgsYeskey:组织名,value:该组织下需要下载的peer节点信息,peer节点请按照0,1,2的顺序升序填写
project_idYes租户从IAM申请到的项目ID,一般为32位字符串
union_infoNokey:联盟成员名称,value:该联盟成员peer组织名称hash值数组
channel_nameYes通道名称
blockchain_idYesblockchainID
is_multi_chanNo是否是多通道请求,如此处设成true则必须传入channel_chaincode,chaincode_name和channel_name设为空即可
chaincode_nameYes链代码名称,以小写字母开头,支持小写字母和数字,长度6-25位
channel_chaincodeNokey:通道名称,value:该通道对应的链代码数组

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 burden and it discloses almost nothing. It does not say that the tool writes a file to the caller-supplied cert_path, whether it overwrites existing files, what permissions or project/tenant scoping are required, or what happens when is_multi_chan is true. Only the bare action is stated.

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?

The single short phrase contains no wasted wording, but for a 9-parameter tool with nested objects it is under-specified rather than genuinely concise. There is no structure beyond a bracketed product tag plus one clause.

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?

Given 6 required parameters, nested objects, a multi-channel mode, no annotations, and no output schema, one sentence is not enough. The agent gets the general action but nothing about file output location semantics, failure modes, or the multi-channel invocation path, all of which matter for calling this correctly.

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 9 parameters, including the nested peer_orgs and channel_chaincode structures and the is_multi_chan switch, so the schema already explains the parameters. The description adds no additional parameter meaning, which is the expected baseline 3 when the schema does the heavy lifting.

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 (下载/download) and resource (服务实例SDK配置文件 – the SDK configuration file for a service instance), so the agent knows this retrieves config, not certificates or logs. It does not differentiate itself from sibling download tools such as bcs__DownloadBlockchainCert or idt__DownloadSdksdk, leaving the agent to infer which download applies.

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?

There is no statement of when to use this versus the other download tools, no prerequisites (e.g., must the blockchain/instance exist first, must certs already be downloaded), and no mention of the multi-channel path implied by is_multi_chan. Usage must be inferred entirely from the name plus schema.

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