Skip to main content
Glama

codeartspipeline__CreatePluginDraft

Creates a draft plugin version in Huawei Cloud CodeArts Pipeline using plugin metadata, so you can prepare and validate changes before publishing.

Instructions

[CODEARTSPIPELINE] 创建插件草稿版本

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": {
      "business_type": "<business_type>",
      "business_type_display_name": "<business_type_display_name>",
      "description": "<description>",
      "display_name": "<display_name>",
      "domain_id": "<domain_id>",
      "execution_info": "<execution_info>",
      "plugin_name": "<plugin_name>",
      "runtime_attribution": "<runtime_attribution>",
      "version": "<version>"
    },
    "name": "codeartspipeline__CreatePluginDraft"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNo局点
versionYes版本号
icon_urlNo图标URL
domain_idYes租户ID
unique_idNo唯一ID
input_infoNo输入信息
is_privateNo是否私有
descriptionYes描述
maintainersNo维护者
plugin_nameYes插件名
display_nameYes展示名
business_typeYes业务类型
execution_infoYes执行信息
runtime_attributionYes运行属性
version_descriptionNo版本号说明
business_type_display_nameYes业务类型展示名

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/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. The word 草稿 (draft) does hint that the result is an unpublished draft state rather than a live plugin, but the description says nothing about required permissions, what happens on name/version collision, whether a draft must later be published, or what the call returns.

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 phrase is compact and front-loaded with the vendor tag, but its brevity comes from under-specification rather than from economy. Nothing is wasted, yet nothing useful is conveyed either.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter, 9-required mutation tool with no annotations and no output schema, the description is far too thin. It leaves prerequisites, side effects, draft lifecycle, and error conditions entirely undocumented.

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% with 16 parameters, all individually documented (business_type, execution_info, runtime_attribution, etc.), so the schema does the heavy lifting. The description adds no meaning beyond that, which is the baseline-3 case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "创建插件草稿版本" (create plugin draft version) essentially restates the tool name CreatePluginDraft, adding only the [CODEARTSPIPELINE] tag. It gives no way to tell this apart from close siblings such as CreatePluginVersion, CreateBasicPlugin, or UpdatePluginDraft, which all sound like they act on the same plugin/version resource.

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 when-to-use guidance, no prerequisites, and no mention of any alternative tool. An agent has no stated basis for choosing this over CreatePluginVersion or CreateBasicPlugin when it needs to create something plugin-related.

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