Skip to main content
Glama

codeartsdeploy__StartDeployTask

Starts an application deployment for a specified deployment task ID, supporting runtime parameters and optional rollback via a previous deployment record ID.

Instructions

[CODEARTSDEPLOY] 根据部署任务id部署应用。

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": {
      "task_id": "<task_id>"
    },
    "name": "codeartsdeploy__StartDeployTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo部署应用时传递的参数
task_idYes部署任务id
record_idNo应用的部署id,可通过record_id回滚至之前的部署状态。选中应用历史部署记录,在URL中获取
trigger_sourceNo限制触发来源,0不限制任何部署请求来源,1时只允许通过流水线触发部署

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 supplied, so the description carries the full burden, yet it discloses nothing about side effects, whether execution is synchronous or asynchronous, whether an execution/record id is returned, or whether deployments can be cancelled or rolled back. For a mutation/trigger tool 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 sentence with the resource and scoping key front-loaded; nothing is wasted. It is under-specified rather than verbose, so brevity is not the problem.

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?

Given a 4-parameter mutating tool with no annotations and no output schema, the description should at minimum explain the trigger semantics and the role of record_id and trigger_source. Neither is addressed, leaving the agent to infer behavior 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%, so task_id, params, record_id, and trigger_source are all documented in the schema itself. The description adds no meaning beyond the schema — it mentions only the task id concept — so the baseline 3 applies.

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 description names a specific verb (部署/deploy) and resource (应用/application) scoped by task id, so the core action is identifiable. However, it offers no differentiation from siblings such as ShowDeployTaskDetail or ListDeployTasks, and it never clarifies whether this triggers an actual deployment run versus starting a task definition.

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 guidance, no preconditions (task must exist, must be enabled, permissions needed), and no mention of alternatives. Usage is only weakly implied by the phrase '根据部署任务id部署应用'.

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