Skip to main content
Glama

ces__CreateResourceGroup

Creates a Cloud Eye (CES) resource group to organize cloud resources for monitoring, using manual, tag-based, enterprise-project, or instance-name resource matching.

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_name": "<group_name>",
      "project_id": "<project_id>"
    },
    "name": "ces__CreateResourceGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo标签动态匹配时的关联标签,type为TAG时必传
typeNo资源分组添加资源方式,取值只能为EPS(同步企业项目),TAG(标签动态匹配),NAME(实例名称),不传为手动添加
instancesNo实例名称匹配参数
providersNo云服务名称,格式为"dcs,ecs",支持的云服务providers请参考https://support.huaweicloud.com/api-rms/rms_06_0100.html
resourcesNo手动创建时的资源详情
group_nameYes资源分组的名称,只能为字母、数字、汉字、-、_,最大长度为128
project_idYes租户ID
comb_relationNo
product_namesNo创建资源层级为云产品时的云产品的取值,一般由"服务命名空间,服务首层维度名称"组成,如"SYS.ECS,instance_id"。多个云产品则用“;”隔开,如"SERVICE.BMS,instance_id;SYS.ECS,instance_id"。
resource_levelNo资源层级,资源生效范围。选择云产品,则云产品及其子层级均可进入该资源分组,选择子维度,则只生效具体的子维度
product_resourcesNo手动创建,选择资源层级为云产品时的资源详情
association_ep_idsNo该资源分组内包含的资源来源的企业项目ID,type为EPS时必传
enterprise_project_idNo资源分组归属企业项目ID
enterprise_project_id_and_tagsNo组合匹配参数

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior1/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 it discloses nothing. For a mutation tool with 14 parameters and deeply nested configuration, it never says what permissions are required, whether the group can be empty, how the different 'type' modes (EPS/TAG/NAME/manual) behave, or what the response contains.

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

Conciseness2/5

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

The description is a single bracketed phrase with a service prefix and no structure beyond the name. This is under-specification rather than genuine conciseness — there is nothing front-loaded because there is nothing substantive at all.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a highly complex create operation: 14 parameters, nested objects, one enum, no annotations, and no output schema. The description provides none of the context needed to call it correctly, leaving the agent entirely dependent on the raw schema for a mutating, multi-mode resource-creation call.

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 93%, so the input schema already documents nearly every parameter, including nested tag, instance, and alarm-condition structures. The description contributes no additional meaning about parameters, but per the high-coverage baseline a 3 is appropriate rather than a penalty.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and resource ("创建资源分组" = create a resource group) scoped to CES, so the basic action is unambiguous. However, it is essentially a restatement of the tool name with no additional scope, and it does nothing to distinguish this from siblings such as ces__UpdateResourceGroup or ces__BatchCreateAgentInvocations.

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 prerequisites, and no mention of alternatives such as UpdateResourceGroup for existing groups. An agent must infer entirely from the tool name when this tool is appropriate versus the other resource-group siblings.

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