Skip to main content
Glama

workspaceapp__DeletePolicyGroup

Deletes a specified Workspace policy group and its associated policy information and application object data. Use it to remove an unneeded policy group and its linked resources.

Instructions

[WORKSPACEAPP] 删除指定策略组,包含策略组对应的策略信息以及应用对象信息。

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": {
      "policy_group_id": "<policy_group_id>",
      "project_id": "<project_id>"
    },
    "name": "workspaceapp__DeletePolicyGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
policy_group_idYes策略组id。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/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 behavioral burden. It usefully discloses the cascade effect — associated policy information and application object (target) information are destroyed with the group — which goes beyond the schema. However it omits irreversibility warnings, required permissions, and any failure behavior when objects are still bound.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single well-formed sentence that front-loads the action and immediately follows with the consequence. Nothing is redundant and nothing competes for attention.

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 two-parameter destructive tool with no annotations and no output schema, the definition covers the core intent and the cascade scope but leaves out confirmation/irreversibility, permission requirements, and what a successful or failed call returns. Adequate but with clear gaps.

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 both path parameters (project_id, policy_group_id) documented in the schema with examples and length constraints. The description adds no new semantics about either identifier, 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?

Names a specific verb (delete) and resource (policy group) plus the nested resources removed along with it (policy info and application target info). It is distinguishable from siblings like ListPolicyGroup or UpdatePolicyGroup, though it does not explicitly separate itself from the near-duplicate workspace__DeletePolicyGroup.

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 when-to-use guidance, no preconditions (e.g., whether the group must be empty or how to detach application objects first), and no mention of an alternative tool or of how this differs from DeletePolicyTemplate or the workspace-namespace counterpart. The only implied usage comes from the verb itself.

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