Skip to main content
Glama

codeartsdeploy__CheckIsDuplicateAppName

Checks whether an application name already exists in a CodeArts Deploy project, helping prevent duplicate names before creating or updating an app.

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": {
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "codeartsdeploy__CheckIsDuplicateAppName"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes应用名称
project_idYes项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It does disclose that the check is scoped to a project and keyed by name, but it does not say what is returned (boolean, matching app object, or list) or whether the check has any side effects or permission requirements.

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, front-loaded sentence with no redundant wording. The [CODEARTSDEPLOY] prefix is namespace noise but harmless, and nothing in the sentence could be trimmed without losing the scope statement.

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?

The tool has two required parameters and no output schema, so the description should clarify the shape of the result of an existence check. It explains the query condition but leaves the return value and its use in a create workflow unstated.

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%, with both name and project_id documented and constrained by pattern and length. The description confirms the semantic mapping of name to application name and project_id to project scope but adds no format or edge-case detail beyond the schema.

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: query whether an application with the same name exists under a project. This is clearly a name-duplication check and can be distinguished from mutating siblings like CreateApp or BatchDeleteApp, though it does not name any sibling explicitly.

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 guidance on when to use this versus alternatives, no mention of calling it before CreateApp or CheckCanCreate, and no preconditions. The usage is only inferable from the tool name itself, not from the description.

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