Skip to main content
Glama

codeartsbuild__ShowProjectPermission

Retrieves the user permissions for a specified CodeArts project, enabling you to verify access rights before running build operations.

Instructions

[CODEARTSBUILD] 获取用户权限

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": "codeartsbuild__ShowProjectPermission"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesCodeArts项目ID,32位数字、小写字母组合。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 behavioral burden. It does not state that this is a read-only query, what permission information is returned (roles, actions, users), or whether any authorization is required to query permissions — all significant gaps for a permissions-audit call.

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 description is a single short tag-prefixed phrase with no wasted words, but it is under-specified rather than economical — the brevity leaves the agent without actionable context.

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

Completeness2/5

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

The tool itself is simple (one required parameter), but with no annotations and no output schema, the description needed to explain the return shape and read-only nature of the call and does neither. It is insufficient for even a low-complexity permission query.

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% for the single project_id parameter, including format and pattern, so the schema already does the explanatory work. The description adds no additional meaning about what the ID selects or how it constrains the permission result, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and resource ('获取用户权限' / get user permissions), but it does not scope it to the project level implied by the required project_id, and it does not distinguish this from sibling permission tools such as ShowJobRolePermission or ShowKeystorePermission. An agent can guess the general area but not the exact permission domain.

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 call this tool versus the several other permission-query siblings, nor any stated prerequisites or when-not-to-use condition. The only hint is the required project_id, which implies project-scoped permission lookup at best.

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