Skip to main content
Glama

codeartspipeline__UpdatePipelineTemplate

Updates an existing CodeArts Pipeline template with new name, description, definition, and variables so you can revise and maintain reusable pipeline configurations.

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>",
      "template_id": "<template_id>",
      "tenant_id": "<tenant_id>"
    },
    "name": "codeartspipeline__UpdatePipelineTemplate"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/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, yet it discloses nothing about this mutation: not whether the update is full-replace or partial, whether the definition field is validated, what permissions are required, or whether the change is reversible. For a destructive write operation with 8 required parameters this is a serious gap.

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 trivially front-loaded and wastes no words, but its brevity stems from under-specification rather than discipline. It leaves no room for the caller to learn anything actionable.

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?

A 10-parameter mutation tool with nested objects (variables, definition stage JSON), no annotations, and no output schema needs a description that explains the update semantics and validation expectations. This description provides none of that.

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 90%, so the schema already documents nearly every parameter (name, language, domain_id, is_system, tenant_id, definition, template_id, is_show_source). The description supplies no additional meaning, but the baseline of 3 applies given the high coverage.

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 "[CODEARTSPIPELINE] 更新流水线模板" is a direct restatement of the tool name UpdatePipelineTemplate, adding only a language translation and a vendor tag. It conveys the verb (update) and resource (pipeline template) but nothing that distinguishes it from siblings such as UpdateBasicPlugin, UpdatePipelineInfo, or UpdatePipelineGroup beyond what the name already says.

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 at all: no mention of prerequisites, no indication that the template must already exist, and no reference to alternatives like CreatePipelineTemplate or ShowPipelineTemplateDetail. The agent must infer everything from the name.

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