Skip to main content
Glama

codeartspipeline__StopPipelineRun

Halts an active CodeArts pipeline execution using its project, pipeline, and run IDs to stop unwanted or stuck runs.

Instructions

[CODEARTSPIPELINE] 停止流水线

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": {
      "pipeline_id": "<pipeline_id>",
      "pipeline_run_id": "<pipeline_run_id>",
      "project_id": "<project_id>"
    },
    "name": "codeartspipeline__StopPipelineRun"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
pipeline_idYes流水线ID
pipeline_run_idYes流水线运行实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description bears the full burden of disclosure. As a mutating, irreversible stop operation, it should state whether in-flight jobs are cancelled, whether the stop is idempotent, what happens to a completed run, and whether any permissions are required. It offers none of this beyond the single verb.

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 compact phrase with no filler and is front-loaded, though the bracketed service tag "[CODEARTSPIPELINE]" is boilerplate. Its brevity is close to under-specification, but no sentence is wasted.

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 run-state mutation with no annotations and no output schema, the definition lacks preconditions, effects, and return behavior. The schema fully specifies the inputs, but everything about consequences must be guessed.

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 coverage is 100%: all three required path parameters (project_id, pipeline_id, pipeline_run_id) are documented in the schema with length constraints. The description adds no formatting or usage hints beyond that, which is acceptable but not additive.

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

Purpose3/5

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

The Chinese phrase "停止流水线" (stop pipeline) names a verb and a resource, but it restates the tool name without adding scope. It also blurs the key distinction that this stops a specific run instance (pipeline_run_id), not the pipeline definition, and gives no differentiation from sibling stop tools such as StopPipelineNew or cloudpipeline__StopPipelineRun.

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?

The description gives no guidance on when to use this tool instead of alternatives, no prerequisites (such as the run needing to be in a running state), and no choice criteria for choosing it over other stop tools. The agent must infer usage 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