Skip to main content
Glama

codeartsdeploy__BatchUpdatePermissionLevel

Batch updates the permission level of multiple CodeArts Deploy applications, setting each to project-level or instance-level authentication within a specified project.

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": {
      "application_ids": "<application_ids>",
      "permission_level": "<permission_level>",
      "project_id": "<project_id>"
    },
    "name": "codeartsdeploy__BatchUpdatePermissionLevel"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目id
application_idsYes应用id列表
permission_levelYes应用鉴权级别,instance:实例级;project:项目级

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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. It says 'batch configure' (a mutation), but does not disclose that changing the authentication level affects access for all listed applications, whether the change is reversible, what permissions are required, or that up to 1000 application IDs may be submitted in one call. For an unannotated permission-mutating tool this is a substantial 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 tightly written sentence with the action and the allowed values front-loaded; nothing is redundant. The '[CODEARTSDEPLOY]' prefix is a namespace marker rather than meaningful content, but it does not obscure the sentence.

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?

With 3 required parameters fully documented in the schema and no output schema needed, the structured data covers most of the calling requirements. However, a permission-mutating batch tool with no annotations would benefit from noting required authorization and the blast radius of the change, which the description omits.

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%, so all three parameters (project_id, application_ids, permission_level) are already documented in the schema, including the enum meaning of project vs instance. The description adds no format, ordering, or constraint detail beyond what the schema provides, so the baseline of 3 applies.

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+resource: batch-setting the authentication level ('鉴权级别') of applications to either project-level or instance-level. This is clear enough to know exactly what operation is performed. It does not, however, distinguish itself from similarly named siblings such as BatchUpdateApplicationPermissions or UpdateEnvironmentPermission, leaving the agent to infer the difference.

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 use this tool versus alternatives, no prerequisite information (e.g. whether the caller must own the project or hold admin rights), and no statement about when not to use it. The agent knows what it does but not the conditions under which it should be selected.

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