Skip to main content
Glama

codeartsdeploy__CheckCanCreate

Verifies whether the current user has permission to create an application under a specified project, helping prevent unauthorized creation attempts.

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. 查询 (query) implies a read-only, side-effect-free check, which is useful, but the description says nothing about the shape of the result (presumably a boolean permission flag) or whether it checks project-level vs global permission. That leaves a meaningful gap for a tool with zero annotation coverage.

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?

One short, front-loaded sentence with no filler. The '[CODEARTSDEPLOY]' prefix is noise but functions as a namespace tag rather than wasted prose.

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 one-parameter check tool with no output schema, the declaration that this is a permission query is the essential information and it is present. However, because no output schema exists, the description should have indicated what the check returns, which it does not.

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?

There is a single parameter, project_id, and schema coverage is 100% with a documented 32-character alphanumeric pattern and a Chinese description. The description adds nothing beyond the schema, so the baseline 3 for high coverage is appropriate.

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 names a specific verb (查询/query) and a specific resource: whether the current user has permission to create an application under a given project. That is clearer than a tautology and is distinguishable from sibling checks such as CheckIsDuplicateAppName or CheckWhetherHostGroupCanBeCreated, though it never explicitly contrasts itself with CreateApp.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is a pre-flight permission gate to call before codeartsdeploy__CreateApp, but the description never says when to use it, when not to, or what the alternative is. Adequate for a narrow check tool, but no explicit routing guidance.

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