Skip to main content
Glama

mrs__ListClusters

Retrieve user-created MRS cluster list information and filter results by project, cluster name, state, tags, page, or enterprise project to find matching clusters.

Instructions

[MRS] 查看用户创建的集群列表信息。该接口不兼容Sahara。

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": "mrs__ListClusters"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo可以通过集群的标签来搜索指定标签的集群,当指定多个tag进行查询时,标签之间是与的关系。
pageSizeNo分页查询每页返回的最大集群数量。
project_idYes项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。
clusterNameNo集群名称。
currentPageNo当前查询页码。
clusterStateNo根据集群状态查询集群列表。
enterpriseProjectIdNo通过企业项目ID来搜索指定项目的集群。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 does not state permission or auth requirements, whether results are paginated by default, what happens when filters are omitted, or what the response contains; the only behavioral hint is that the tool is read-only by implication of 'list'.

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?

Two short sentences with the resource and scope front-loaded and no filler. It is efficient, though the terseness leaves real gaps rather than being a model of compact completeness.

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?

With seven parameters, no output schema, and no annotations, the description should at least sketch what the returned cluster list contains and how paging works. It instead stops after stating the resource, leaving an agent to infer return shape and pagination semantics entirely from the input 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?

Schema description coverage is 100%, with each of the seven parameters documented in the schema (tags AND-semantics, pageSize, currentPage, clusterName, clusterState, enterpriseProjectId, project_id). The description adds no parameter meaning beyond that, 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?

The description gives a clear verb-plus-resource pair (查看...集群列表, 'view the cluster list') and narrows the scope to user-created clusters. It also notes an API-level constraint (incompatible with Sahara), but never distinguishes itself from the sibling mrs__ListClustersByTags, even though the schema exposes a tags filter.

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?

No guidance on when to choose this tool over alternatives such as mrs__ListClustersByTags or the CDM/CSS/DWS cluster-listing tools. The only contextual statement is a compatibility restriction (not compatible with Sahara), which is not usage guidance for an agent.

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