Skip to main content
Glama

codeartsbuild__CreateBuildJob

Create a CodeArts Build job by defining project, architecture, source repositories, and build steps. Use it to automate compiling, testing, and packaging code pipelines.

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": {
      "arch": "<arch>",
      "job_name": "<job_name>",
      "project_id": "<project_id>",
      "steps": "<steps>"
    },
    "name": "codeartsbuild__CreateBuildJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
archYes使用机器的架构
scmsNo构建执行SCM
stepsYes构建执行的步骤
flavorNo执行机规格
job_nameYes任务名称
host_typeNohost类型
parametersNo构建执行参数列表
project_idYes构建任务所在项目的ID
build_config_typeNo构建的配置类型
auto_update_sub_moduleNo是否自动更新子模块

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 and delivers none of it. It says nothing about side effects (does creation also trigger a build?), required permissions, project scoping, error conditions, or what happens to the 6 optional parameters when omitted. For a 10-parameter mutation tool this is effectively no disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short sentence is front-loaded and waste-free, but this is under-specification rather than conciseness. A one-line restatement of the name is not an appropriately sized description for a complex create operation.

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?

With 10 parameters (4 required), nested SCM and step structures, no annotations, and no output schema, the description needs to carry substantial context. Instead it supplies nothing about setup, sequencing, or expected results, leaving the agent entirely dependent on the schema.

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?

The input schema has 100% description coverage across all 10 parameters, so the schema itself defines arch, scms, steps, flavor, job_name, project_id, and the rest. The description adds no parameter meaning whatsoever, but per the high-coverage baseline this remains a 3 rather than lower.

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 restated in Chinese: "[CODEARTSBUILD] 创建构建任务" (create build job). It conveys the verb and resource but offers no scope, no distinction from siblings like UpdateBuildJob or CreateTemplates, and nothing an agent could use to disambiguate beyond the name itself.

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 (e.g., which project, whether the job name must be unique — a sibling CheckJobNameIsExists exists), and no mention of alternatives. The only implied guidance is the bare notion of creating something, which the name already conveys.

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