Skip to main content
Glama

ces__BatchDeleteResources

Batch delete associated resources from manually created CES resource groups by providing the group ID, project ID, and resource details.

Instructions

[CES] 给自定义资源分组,即类型为手动添加的资源分组,批量删除关联资源

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": {
      "group_id": "<group_id>",
      "project_id": "<project_id>"
    },
    "name": "ces__BatchDeleteResources"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes资源分组ID,以rg开头,后跟22位由字母或数字组成的字符串
resourcesNo当资源添加方式为手动创建、资源层级为子维度时,删除资源分组中的资源只需传递删除的资源信息
project_idYes租户ID
product_resourcesNo当资源添加方式为手动创建、资源层级为云产品时,删除资源分组中的资源只需传递删除的资源信息

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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 discloses the manual-group restriction but says nothing about required permissions, whether the operation is reversible, whether metrics/alarms attached to those resources are affected, or whether resources are removed from the group only. For an unannotated destructive batch operation that gap is significant.

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?

It is a single short sentence, so there is no padding, but the appositive '即类型为手动添加的资源分组' repeats the same idea twice and the sentence is not front-loaded with the action. Readability suffers from the self-referential construction.

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 4-parameter batch mutation with nested resource payloads, no annotations and no output schema, the definition covers the group-type constraint but omits outcome semantics (what is deleted, what remains) and error conditions. An agent can call it, but cannot confidently predict the effect.

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% and every parameter (group_id, project_id, resources, product_resources) is documented inline, so the baseline is 3. The description adds only the high-level rule that deletion payloads depend on the group's manual-creation mode and resource level, which restates what the schema already says per field.

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 names a specific verb (batch delete) and resource (associated resources inside a custom resource group), and scopes it to manually-added groups, which separates it from the similarly-named batch group deletion siblings. The phrasing is somewhat circular ('给自定义资源分组...批量删除关联资源') and never states plainly whether the underlying cloud resources are destroyed or merely disassociated, so it falls short of a crisp verb+object statement.

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

Usage Guidelines3/5

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

There is an implied precondition: the group must be of the manual-add type, and the parameter descriptions hint that either 'resources' or 'product_resources' is supplied depending on the resource level. No explicit when-to-use/when-not guidance is given, and no sibling such as ces__BatchDeleteResourceGroups or ces__DeleteResourceGroup is named as the alternative for deleting the group 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