Skip to main content
Glama

workspace__BatchDeleteAccessPolicies

Deletes specified access policies from Huawei Cloud Workspace by project ID and a list of policy IDs, enabling batch removal of multiple policies in one request.

Instructions

[WORKSPACE] 该接口用于删除指定接入策略。

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
policy_id_listNo策略ID列表。

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 and fails to disclose anything beyond the fact of deletion. It does not state that deletion is irreversible, what happens to policy objects or users bound to the deleted policies, the 100-item batch limit, or whether the call is atomic or partially succeeds.

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?

It is a single short, front-loaded sentence with no padding otology beyond the redundant '[WORKSPACE]' tag. It is concise in the good sense, though the brevity reflects missing content rather than disciplined editing.

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?

For a destructive batch operation with zero annotations and no output schema, the definition is far too thin. An agent cannot know the blast radius, reversibility, failure semantics, or permission requirements from this sentence alone.

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 project_id and policy_id_list are already documented in the schema and the description adds no format, constraint, or edge-case meaning on top of that. The baseline of 3 applies when the schema does the heavy lifting and the description is silent on parameters.

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 (delete) and resource (access policies) with a workspace scope tag, so the agent can tell this mutates access policies rather than listing or updating them. It does not, however, mention that deletion is batched, even though the tool name and the policy_id_list array (up to 100 items) say so, leaving a mismatch the agent must resolve from the schema.

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 instead of siblings such as workspace__UpdateAccessPolicy or workspace__BatchDeleteAppRules, and no mention of preconditions (e.g., policies must exist, must not be attached to a policy group, or must be detached first). Usage must be inferred entirely from the name and schema.

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