Skip to main content
Glama

codeartspipeline__CreatePipelineTemplate

Create a pipeline template with defined stages, variables, and settings to standardize CI/CD workflows in Huawei Cloud CodeArts Pipeline.

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": {
      "definition": "<definition>",
      "domain_id": "<domain_id>",
      "is_show_source": "<is_show_source>",
      "is_system": "<is_system>",
      "language": "<language>",
      "name": "<name>",
      "tenant_id": "<tenant_id>"
    },
    "name": "codeartspipeline__CreatePipelineTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes模板名称
languageYes模板语言
domain_idYes所属租户ID
is_systemYes是否系统模板
tenant_idYes租户ID
variablesNo
definitionYes模板编排json,包含stages
descriptionNo模板描述
is_show_sourceYes是否显示流水线源

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It only repeats that a template is created and does not disclose permissions, idempotency, side effects, validation behavior for the complex 'definition' JSON, or what is returned on success or failure.

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?

The description is extremely concise and front-loaded with no wasted words, but it offers no structural guidance for a tool with seven required parameters and a complex nested payload.

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 a mutation tool with nine parameters, seven required fields, a nested object, no annotations, and no output schema, the description is far too thin. It leaves the agent without behavioral, usage, or response context even though the input schema is relatively well documented.

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 high at 89%, so the schema already documents the nine parameters, including the nested 'variables' object and the required 'definition' JSON. The description adds no parameter meaning beyond the schema, which is the baseline 3 case when structured parameter documentation is strong.

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

Purpose3/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 (create a pipeline template), so the basic purpose is understandable. However, it is essentially a Chinese restatement of the tool name and adds no scope or detail to distinguish it from siblings such as CreatePipelineByTemplate or CreatePipelineTemplateById.

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 guidance on when to use this tool versus the many sibling creation tools, nor any prerequisites, constraints, or exclusions. The agent must infer usage entirely from the name and 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