Skip to main content
Glama

codeartsdeploy__CreateDeployTaskByTemplate

Creates a CodeArts Deploy application or task from a deployment template using the required project, task name, and template details.

Instructions

[CODEARTSDEPLOY] 通过模板新建应用。该接口于2024年09月30日后不再维护,推荐使用新版CreateApp接口。

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": {
      "project_id": "<project_id>",
      "project_name": "<project_name>",
      "task_name": "<task_name>",
      "template_id": "<template_id>"
    },
    "name": "codeartsdeploy__CreateDeployTaskByTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
configsNo部署参数类
task_nameYes应用名称
project_idYes项目id
template_idYes部署模板id
project_nameYes项目名称
slave_cluster_idNo自定义slave资源池id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior3/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 discloses the important trait that this endpoint is deprecated and has a successor, but it says nothing about permissions, whether the call still functions today, side effects, or idempotency for what is clearly a create/mutation operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two short sentences: the operation is stated first, then the deprecation warning and its replacement. No padding, and the most decision-relevant fact (deprecated) is near the front.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter create tool with a nested configs array, no annotations, and no output schema, the description covers purpose and deprecation status but not what a successful call returns, whether the returned task is immediately deployable, or what an agent should do with the configs parameter. The schema fills most parameter gaps, but the behavioral picture stays partial.

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%, including nested configs, limits, and the required project/template identifiers, so the schema already carries parameter meaning. The description adds nothing about how to source template_id, what task_name constraints mean, or how configs interact with the template. 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?

The description states a specific verb and resource: create a new application (新建应用) from a template (通过模板). That is more informative than the tool name, which says "DeployTask" while the body says "application", and it names the successor API CreateApp, so an agent can distinguish it from that sibling. The terminology gap between the name and the description keeps it from being a clean 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives an explicit usage signal by saying the API is no longer maintained after 2024-09-30 and recommending the newer CreateApp interface instead. That effectively routes an agent away from this tool, which is strong when-to-use guidance. It doesn't state any prerequisites, such as whether an existing template must already exist, or when the deprecated call is still acceptable.

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