Skip to main content
Glama

codeartsbuild__CreateTemplates

Create build templates in Huawei Cloud CodeArts Build by supplying a template name and build steps, enabling reuse of consistent build configurations across jobs.

Instructions

[CODEARTSBUILD] 创建构建模板

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": {
      "name": "<name>",
      "template": "<template>"
    },
    "name": "codeartsbuild__CreateTemplates"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes模板命名
templateYes构建步骤模板,需封装为驼峰式命名
tool_typeNo工具类型
parametersNo构建执行参数列表
descriptionNo模板说明

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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, yet it only implies a mutation via "创建". It says nothing about required permissions, name-uniqueness constraints, whether the created template is immediately usable, or what the call returns. For a create operation on a nested template structure this is a substantial 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 description is a single front-loaded phrase with zero filler, so nothing is wasted. But it is under-specified rather than concise: the size reflects missing content rather than disciplined editing.

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?

The tool takes five parameters including deeply nested objects (steps with per-module properties, parameters arrays with limits), has no annotations and no output schema. A one-phrase description is far too thin to prepare an agent for building a valid template payload, even with a rich schema doing most of the work.

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 every parameter (name, template.steps, tool_type, parameters, description) is already documented in the schema. The description adds no syntax, format, or ordering guidance 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.

Purpose3/5

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

"创建构建模板" names a specific verb (create) and resource (build template), which lets an agent tell it apart from DeleteTemplates/ListTemplates in the sibling list. However, the phrase essentially restates the tool name CreateTemplates, with "构建" being the only added qualifier, so it conveys the bare minimum rather than distinguishing scope, target project, or output.

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 preconditions, and no mention of alternatives such as ListTemplates for discovery or DeleteTemplates for cleanup. An agent must infer entirely from the name that this is the write counterpart to the template listing 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