Skip to main content
Glama

codeartsdeploy__ListHostGroupPermissions

Retrieves the permission matrix for a CodeArts Deploy host group by its ID, showing which roles or users can access and manage that group.

Instructions

[CODEARTSDEPLOY] 根据主机集群id查询主机集群权限矩阵。

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": {
      "group_id": "<group_id>"
    },
    "name": "codeartsdeploy__ListHostGroupPermissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes主机集群id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 behavioral burden. The verb 查询 implies a read-only operation, but the description says nothing about required permissions, whether results are paginated, or what the matrix contains. For a zero-annotation tool this is a meaningful gap.

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 short, front-loaded sentence with no wasted clauses. The [CODEARTSDEPLOY] vendor tag is the only non-informative element.

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 simple one-parameter read tool with no output schema, the definition is minimally adequate, but with no output schema it could say what the permission matrix returns (which principals and permission flags). The essentials for invocation are present; the essentials for interpretation are 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?

Schema description coverage is 100% with a single well-documented group_id parameter (32-char lowercase alphanumeric pattern), so the schema already does the work. The description only restates that the query is keyed by host group id, adding no new semantics.

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 precise resource (主机集群权限矩阵 / host group permission matrix), scoped by host group id. This distinguishes it implicitly from the sibling codeartsdeploy__UpdateHostGroupPermissions, though no sibling is named explicitly.

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 it is for reading the permission matrix of an existing host group. There is no explicit when-to-use guidance, no statement of prerequisites (e.g. admin rights), and no mention of how it differs from ListApplicationPermissions or ListEnvironmentPermissions.

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