Skip to main content
Glama

codeartsbuild__RunJob

Run a CodeArts Build job by specifying its ID, with optional custom parameters and source code commit or tag details.

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": {
      "job_id": "<job_id>"
    },
    "name": "codeartsbuild__RunJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
scmNo代码信息
job_idYes构建任务ID;编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串
parameterNo自定义参数

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden and does little: it does not say whether execution is asynchronous, what identifier is returned for later polling, or that it changes job/build state. For a write/trigger operation with zero annotation coverage 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.

Conciseness4/5

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

A single short clause with the verb front-loaded and no wasted words. It is efficient but so terse that brevity shades into under-specification.

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?

With a nested scm object, no output schema, and no annotations, the definition should explain what a successful execution yields (e.g. a build identifier usable with ShowJobStatus) and any preconditions. Neither is present, leaving the agent guessing about post-call flow.

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 three parameters (job_id, scm, parameter) are already documented in the schema. The description only adds that custom parameters are optionally passable, which is marginal added meaning; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

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

States a specific verb+resource ('执行构建任务' – execute a build job), which is clearly distinguishable from read-oriented siblings like ShowJobInfo or ListJobConfig. It lacks any explicit naming of the adjacent mutating siblings (StopBuildJob, StopJob), so differentiation is only implicit.

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. the job must exist and be enabled), and no mention of the alternative stop tools. The mention of custom parameters is a capability note, not usage guidance.

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