Skip to main content
Glama

codeartsbuild__StopBuildJob

Stops an active CodeArts Build job by its job ID and build number, halting the specified build run.

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__StopBuildJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes构建的任务ID;
build_noYes构建任务的构建编号,从1开始,每次构建递增1

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 mutation via the verb "stop". It says nothing about permissions required, whether stopping is recoverable, what happens to in-flight steps or partial artifacts, or what the call returns.

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 definition is a single short tag-prefixed phrase with zero wasted words, but it is under-specified rather than economical. Brevity here costs more than it saves.

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 destructive, no-annotation mutation tool with no output schema, the description should at minimum state prerequisites and the effect of the stop. Two required path parameters and a state-changing action are covered by a four-word phrase, which is inadequate.

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%: job_id is documented as the build task ID with a 32-character pattern, and build_no as the incrementing build number. The description adds no syntax, format, or relationship detail 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.

Purpose2/5

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

The Chinese phrase "停止构建任务" is a direct restatement of the tool name StopBuildJob, adding no scope, target, or effect detail. It does not distinguish this tool from the sibling codeartsbuild__StopJob, which by name alone appears to do something very similar.

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 precondition (e.g., the build must currently be running), and no exclusion pointing to StopJob or DeleteBuildJob. The agent must infer routing from the name alone.

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