Skip to main content
Glama

codeartspipeline__CreatePipelineNew

Creates a CodeArts Pipeline in a project from a definition and name, supporting sources, triggers, schedules, variables, and publish status for CI/CD automation.

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>",
      "is_publish": "<is_publish>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "codeartspipeline__CreatePipelineNew"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo若为复制场景,则为原流水线ID
nameYes流水线名称
sourcesNo流水线源
group_idNo流水线组ID
triggersNo流水线代码事件触发配置
schedulesNo流水线定时执行配置
variablesNo流水线自定义全局变量
definitionYes流水线结构定义
is_publishYes是否为发布流水线
project_idYes项目ID
descriptionNo流水线描述
component_idNo组件ID
project_nameNo项目名称
manifest_versionNo流水线结构定义版本,新版默认为3.0
concurrency_controlNo流水线并发管理

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/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 mutating create operation, yet it discloses nothing about permissions, side effects, idempotency, or whether the pipeline starts enabled. Only the bare verb 'create' is conveyed.

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?

It is a single short, front-loaded sentence with no wasted words, but the brevity is under-specification rather than efficiency. Nothing beyond a label is provided.

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 15-parameter tool with nested objects, no annotations, and no output schema, the description is completely inadequate. An agent gets no information about required inputs, the 'definition' structure, or what creation returns.

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%, so all 15 parameters including nested sources, triggers, schedules, and variables are documented in the schema itself. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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 is essentially the tool name translated: "[CODEARTSPIPELINE] 创建流水线" restates CreatePipelineNew without adding scope. It does not distinguish this plain create from siblings such as CreatePipelineByTemplate or CreatePipelineByTemplateId, so an agent cannot tell which creation path applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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 alternatives. The agent gets no signal about when to pick this over the template-based sibling creation tools.

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