Skip to main content
Glama

codeartsdeploy__CreateApp

Creates a new application in Huawei Cloud CodeArts Deploy from a template within a specified project, supporting draft creation and optional deployment task configuration.

Instructions

[CODEARTSDEPLOY] 新建应用。

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": {
      "create_type": "<create_type>",
      "is_draft": "<is_draft>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "codeartsdeploy__CreateApp"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes应用名称
triggerNo部署任务触发场景配置
group_idNo分组id
is_draftYes是否为草稿
project_idYes项目id
create_typeYes创建类型,创建类型只有一个'template',即根据模板创建
descriptionNo描述
arrange_infosNo部署任务列表信息
slave_cluster_idNo自定义slave资源池id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/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 burden, yet it says nothing about permissions or IAM scope, whether duplicate names are rejected, what the draft vs published distinction means, or what happens to nested arrange_infos/trigger values. It conveys only that a mutation happens, which the tool name already implies.

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 single sentence is front-loaded and free of waste, but its brevity reflects under-specification rather than efficiency; a service tag plus a four-character phrase is not enough structure to orient the agent.

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

Completeness1/5

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

This is a 9-parameter mutation with nested request bodies, no annotations, and no output schema, so the description must explain creation semantics, draft handling, and template source. It provides none of this, leaving an agent without what it needs to invoke the tool correctly.

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% across all 9 parameters including nested trigger and arrange_infos objects, so the schema already documents names, enums, patterns, and lengths. The description adds no meaning beyond that, but the baseline of 3 applies when the schema does the heavy lifting.

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?

[CODEARTSDEPLOY] 新建应用 is essentially a restatement of the tool name CreateApp in Chinese; it names no distinguishing scope, project binding, or template-based creation behavior. With over a dozen sibling CreateApp tools across services and several codeartsdeploy siblings (CreateDeployTaskByTemplate, CreateEnvironment, CheckCanCreate), an agent gets no basis for telling this apart.

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 mention of prerequisites such as calling CheckCanCreate or CheckIsDuplicateAppName first, and no statement of when a draft (is_draft) path should be chosen. An agent must infer all routing from schemas 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