Skip to main content
Glama

codeartsdeploy__ListApplicationPermissions

Retrieves the CodeArts Deploy permission matrix for an application instance when app_id is provided, or the project-level permission matrix when project_id is used.

Instructions

[CODEARTSDEPLOY] 查询应用实例级/项目级权限矩阵,传递app_id时,查询应用实例级权限矩阵;未传app_id,传递project_id时,查询应用项目级权限矩阵。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "codeartsdeploy__ListApplicationPermissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idNo应用id
project_idNo项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/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 full disclosure burden. '查询' implies a read-only operation and the mode-switching rule is real behavioral context, but the description says nothing about what happens when both parameters are absent, requires no permission or auth note, and gives no hint of the result shape or size.

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?

Content is front-loaded with the resource, then the two conditional branches, in a single dense sentence with no filler. The '[CODEARTSDEPLOY]' tag prefix is redundant noise but costs little.

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 two-optional-parameter read tool with no output schema, the description covers the core mode logic adequately. It leaves open the default behavior when both parameters are omitted, which matters precisely because required-parameter count is zero.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description goes beyond the schema by explaining the mutual relationship between the two optional parameters and which one takes precedence. That conditional meaning is not expressible in the schema and is the main source of added value here.

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?

Names a specific verb and resource (查询/权限矩阵) and splits it into two clearly stated scopes: application-instance-level and project-level. The name plus description make it distinguishable from the write-side sibling codeartsdeploy__BatchUpdateApplicationPermissions. Minor gap: it does not explicitly contrast itself with the other List*Permissions siblings, but the scope wording comes close.

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

Usage Guidelines4/5

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

It states the exact invocation rules that select a mode: pass app_id for the instance-level matrix; omit app_id and pass project_id for the project-level matrix. This is clear conditional guidance, but there is no instruction for the case where neither parameter is passed, nor any 'when not to use this tool' exclusion.

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