Skip to main content
Glama

codeartsdeploy__CheckWhetherHostGroupCanBeCreated

Checks whether the current user has permission to create a host group in a project, helping verify access before deployment setup.

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__CheckWhetherHostGroupCanBeCreated"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/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. It reveals that the tool is a scoped check, implying a non-mutating call, but it does not state what the result looks like (boolean flag, error on denial, or permission list) or whether it requires any role beyond project membership.

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?

The description is a single, front-loaded sentence with the codeartsdeploy tag and nothing wasted. It gives the essential scope without padding or repeated information from the schema.

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 is simple and the only parameter is fully documented, so the description is close to sufficient. However, with no output schema it should clarify what the check returns, which is the one thing an agent needs in order to act on the result.

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 one required parameter and the schema documents it fully (a 32-character lowercase project id with pattern and length constraints), so the baseline is 4. The description only restates that the check happens 'under the project' and adds no format or scoping 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: it checks whether the current user has permission to create a host cluster/host group under a project. That clearly separates it from the sibling mutation tools such as CreateHostCluster and from CheckCanCreate, though it never names those alternatives.

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 only implied: an agent can infer this is a pre-flight permission check before attempting creation, but the description never says to call it before CreateHostCluster or when to skip it. No exclusions or alternative checks are mentioned.

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