Skip to main content
Glama

ces__ListResourceGroups

Lists Cloud Eye Service resource groups by project, type, name, or ID to review monitoring groupings and filter resource inventory.

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

Input Schema

NameRequiredDescriptionDefault
typeNo资源分组添加资源方式,取值只能为EPS(同步企业项目),TAG(标签动态匹配),Manual(手动添加),不传代表查询所有资源分组类型,COMB(智能添加-组合匹配),NAME(资源名称模糊匹配)
limitNo分页查询时每页的条目数,取值[1,100],默认值为100
offsetNo分页查询时查询的起始位置,表示从第几条数据开始,默认为0
group_idNo资源分组ID,以rg开头,后跟22位由字母或数字组成的字符串
group_nameNo资源分组名称,支持模糊查询
project_idYes租户ID
enterprise_project_idNo归属企业项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description has to describe the tool's behavior entirely, but all it says is that the tool returns a list. It does not say the tool is read-only, that results are paginated (although offset and limit parameters exist), that the page is limited to 100 records by default, that results can be filtered by group type or name, 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.

Conciseness4/5

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

The definition is one short, front-loaded phrase with no filler; the only addition to the meaning is the [CES] service tag. It is efficient, though its brevity reflects a lack of specification rather than disciplined suppression of unnecessary detail.

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 seven-parameter listing tool with no annotations and no output schema, the description is too thin. The description should at least explain pagination behavior, the filtering options, and what each returned resource group contains; currently, it leaves nearly everything to the schema.

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?

With 100% schema description coverage, all seven parameters—type enum, limit, offset, group_id, group_name, project_id, and enterprise_project_id—are already documented in the input schema. The description adds no detail about parameters beyond what the schema provides, so baseline 3 applies.

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 says what the tool does at the level of a verb and resource ("查询资源分组列表" = query resource group list), which is a genuine purpose rather than a tautology. However, it does not distinguish this tool from the very similarly named sibling ces__ListResourceGroup, which returns a single specific group, so an agent must still infer the intended tool.

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 about when to use this tool, when not to use it, or which sibling to choose. In particular, the sibling ces__ListResourceGroup is not mentioned, and because the two names differ only in plurality, an agent can only infer the usage from the tool names and schemas.

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