Skip to main content
Glama

config__ListResources

Lists Huawei Cloud resources by provider and resource type for the current tenant, supporting tag, enterprise project, region, and pagination filters.

Instructions

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

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": "config__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.5/5.0
Behavior3/5

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

With no annotations at all, the description must carry the full behavioral burden; it does disclose the required permission scope and the fact that results are scoped to the current tenant, which is real value. It says nothing about pagination behavior (marker/limit), result volume, or error cases such as an unsupported provider/type, leaving meaningful gaps for a no-annotation tool.

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?

Front-loaded with the tool's action and permission requirement, then the example, then the doc link. The sentences are dense but each carries information; only the doc-link sentence is arguably optional.

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?

Reasonable for an 8-parameter read tool with a nested tag object and no output schema, since the schema itself documents every parameter. Still missing are any statement about how paging works in practice and the absence of an explicit contrast with the several sibling list/count tools, which matters given the crowded namespace.

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 description coverage is 100%, so the baseline is 3, but the description adds genuine meaning by explaining how provider and type combine into a Config resource type identifier (ecs.cloudservers) and where to find the valid set. The remaining six parameters (tag, ep_id, region_id, marker, limit, domain_id) get no mention in the description.

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?

States a specific verb and resource: return resources of a given resource type for the current tenant, and reinforces it with a concrete provider/type example (ecs + cloudservers). It does not explicitly distinguish itself from sibling listers such as ListAllResources, ListResourcesByTag, or ListTrackedResources, so sibling differentiation is left implicit.

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?

Gives a useful precondition (the caller needs rms:resources:list) and a worked example of how to pick provider/type, plus a pointer to the supported services/regions doc. However, it never says when to prefer this over the closely named alternatives (all-resources, by-tag, tracked-resources), so selection guidance is only implied.

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