Skip to main content
Glama

ces__BatchCreateResources

Batch add resources to a CES custom resource group for manual resource management. Provide group ID, project ID, and resource details to associate multiple resources at once.

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__BatchCreateResources"
  }
}

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.2/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 for a batch mutation. It does not state whether adds are additive versus replacing, how duplicates are handled, what permissions are required, or what happens on partial failure, which are important for a max-1000 item batch write.

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?

The definition is a single front-loaded sentence with no filler. It is compact, though the phrasing is somewhat dense and could be structured into a primary action plus a scope clause for easier scanning.

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?

The input schema is fully documented and covers the two add modes, which compensates for some description brevity. However, for a batch mutation with no annotations and no output schema, the description should disclose more about mutation semantics and outcomes to be fully complete.

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 the schema itself explains group_id format, project_id, and the resources versus product_resources distinction in detail. The description adds no parameter-level meaning beyond the schema, so the baseline 3 is appropriate.

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 and resource: batch-adding associated resources to a custom resource group ('给自定义资源分组...批量增加关联资源'). It also narrows scope to groups that were manually created, which distinguishes it from the sibling batch-delete and group-creation tools, though it does not explicitly name an alternative.

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?

The description gives a real scoping condition: this applies only to custom resource groups of the 'manually added' type. It does not say when to use another tool instead, nor does it state prerequisites such as the group already existing or which sibling creates the group first, leaving the agent to infer those steps.

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