Skip to main content
Glama

codeartsbuild__StopJob

Stops a CodeArts Build task using the job ID and build number, canceling an active build when it needs to be halted.

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

Input Schema

NameRequiredDescriptionDefault
job_idYes构建任务ID;编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串
build_noYes构建任务的构建编号,从1开始,每次构建递增1

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 provided, so the description carries the full behavioral burden. It does not explain whether stopping a build is irreversible, what permissions are required, whether the call is idempotent, or what happens to an in-progress build; only the deprecation hint is added beyond the name.

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?

The description is a single short phrase with no wasted wording, and the core action is front-loaded. It is concise, though the brevity comes at the cost of missing guidance rather than being optimally structured.

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?

For a mutation tool with no annotations and no output schema, the description is incomplete. It covers neither the effect of stopping a build nor how this tool relates to the similarly named StopBuildJob sibling, so an agent lacks enough context to choose and invoke it confidently.

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%, and both parameters (job_id, build_no) are fully documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline score of 3 is appropriate.

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?

The description states a specific verb and resource: '停止构建任务' (stop build task). The '待下线' note adds lifecycle context. However, it does not distinguish this tool from the sibling codeartsbuild__StopBuildJob, which appears to be a similar stop operation.

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 explicit when-to-use or when-not-to-use guidance, and no alternative is named. '待下线' hints that the tool may be deprecated, but it does not tell the agent what to use instead or under what conditions this tool should still be called.

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