Skip to main content
Glama

rms__ListResources

Lists Huawei Cloud resources of a specified RMS resource type for a tenant, with optional tag, enterprise-project, region, and pagination filters.

Instructions

[RMS] 返回当前租户下特定资源类型的资源,需要当前用户有rms:resources:list权限。比如查询云服务器,对应的RMS资源类型是ecs.cloudservers,其中provider为ecs,type为cloudservers。 RMS支持的服务和资源类型参见支持的服务和区域。

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": {
      "domain_id": "<domain_id>",
      "provider": "<provider>",
      "type": "<type>"
    },
    "name": "rms__ListResources"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo标签
typeYes资源类型名称
ep_idNo企业项目ID
limitNo最大的返回数量
markerNo分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
providerYes云服务名称
domain_idYes帐号ID
region_idNo区域ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; it discloses the tenant scoping and the permission requirement, which are genuinely useful. It does not describe result ordering, pagination behavior despite a marker parameter, or output shape, leaving meaningful gaps for a list tool with eight parameters.

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 purpose is front-loaded, followed by the permission prerequisite, then the provider/type example and a reference link. Every sentence contributes, though the example sentence is slightly dense and could be split for readability.

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

Completeness4/5

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

For an eight-parameter list tool with a nested tag object and no output schema, the description covers the essential prerequisites and the trickiest parameter pairing. Pagination and filtering semantics are left entirely to the schema, which is a modest gap rather than a blocking one.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by explaining the provider/type relationship through the ecs.cloudservers example, which resolves how those two required path parameters combine. It adds nothing about tag filtering, ep_id, or region_id beyond what the schema already documents.

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 ('返回...资源') scoped to the current tenant and a specific resource type, so the agent knows exactly what it retrieves. It does not, however, distinguish itself from close siblings such as rms__ListAllResources or rms__ListAggregateDiscoveredResources, so the agent cannot tell from the text alone which list tool to choose.

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

Usage Guidelines4/5

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

It gives a concrete usage condition (requires the rms:resources:list permission) and a worked example of how to map a service to its provider/type pair, plus a link to the supported service list. It stops short of saying when to prefer this over other listing tools or what to do when the resource type is unsupported.

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