Skip to main content
Glama

codeartsbuild__UpdateBuildJob

Updates a CodeArts Build job's configuration, including build steps, source code settings, parameters, architecture, and machine specifications for an existing project build task.

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_id": "<job_id>",
      "job_name": "<job_name>",
      "project_id": "<project_id>",
      "steps": "<steps>"
    },
    "name": "codeartsbuild__UpdateBuildJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
archYes使用机器的架构
scmsNo构建执行SCM
stepsYes构建执行的步骤
flavorNo执行机规格
job_idYes构建任务ID
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 provided for this mutation tool, and the description discloses no behavior at all: not whether the update is a full replace or a partial patch, which existing fields are overwritten or dropped, what permissions are required, or what happens on failure. With zero annotation coverage, the description carries the entire disclosure burden and supplies none of it.

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 description is a single short phrase with no filler, but its brevity reflects under-specification rather than efficiency. There is no structure to front-load because there is essentially no content beyond the tool name and a bracket tag.

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 mutation tool with 11 parameters, 5 of them required, deeply nested scms/steps/parameters objects, no annotations, and no output schema, the description is completely inadequate. An agent would have to infer everything about update semantics and side effects from the schema alone.

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%, with all 11 parameters (arch, scms, steps, flavor, job_id, job_name, project_id, etc.) documented in the schema itself. The description adds no meaning beyond that, so the baseline of 3 applies when the schema does all the work.

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 "[CODEARTSBUILD] 更新构建任务" essentially restates the tool name UpdateBuildJob as "update build job". It names a verb and a resource but adds no scope, no indication of which fields are updatable, and no differentiation from siblings like CreateBuildJob or ShowJobConfig.

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 alternatives. The description does not say whether to call ShowJobConfig first, whether CreateBuildJob should be used for new jobs, or what prerequisites exist. Only the tool name implies the update scenario.

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