Skip to main content
Glama

coc__ListResource

Queries all cloud resources owned by a user across Huawei Cloud services, with filters for provider, resource type, region, status, tags, IP, and pagination.

Instructions

[COC] 查询用户所有资源

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

Input Schema

NameRequiredDescriptionDefault
ipNoip
tagNo标签的值
nameNo名称
typeYes资源类型名称
az_idNoaz id
ep_idNo企业项目id
limitYes最大的返回数量
markerNo分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
statusNo资源状态
vpc_idNovpc id
ip_typeNoip类型,fixed:内网IP,floating:弹性公网IP
os_typeNo系统类型
tag_keyNo标签的key
group_idNo分组id
providerYes云服务名称
region_idNoregion id
image_nameNo镜像名称,模糊匹配
project_idNoproject id
agent_stateNoagent状态
component_idNo组件id
is_delegatedNo资源是否已托管
application_idNo应用id
cce_cluster_idNocce集群id
resource_id_listNo资源id列表

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 burden of behavioral disclosure, and it discloses almost nothing: no confirmation this is read-only, no permission or scope requirements for "用户所有" resources, no rate-limit or result-size behavior. Pagination details (marker, limit max 500) are only discoverable from the schema, not the description.

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

Conciseness3/5

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

It is a single short phrase with zero wasted wording, which is structurally clean. But the brevity comes from under-specification rather than economy — there is no sentence carrying actionable content beyond the bare purpose.

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 24-parameter tool with no annotations and no output schema, this description is far too thin: an agent gets no sense of what a returned resource record contains, how to page through results, or which filters are meaningful together. Only the most basic intent is conveyed.

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% across all 24 parameters, so the schema already defines each filter's meaning and the baseline of 3 applies. The description adds no semantics beyond the schema — it does not explain how filters combine, whether provider/type are mandatory discriminators, or how tag/tag_key relate.

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 gives a verb + resource ("查询...资源" / query resources) scoped to "用户所有" (all of the user's resources), so the basic operation is identifiable. However, "all resources" is misleading for a tool that requires `provider` and `type`, and nothing distinguishes it from siblings like coc__ListMultiCloudResources or cc__ListResourceByFilterTag, which appear to list resources under different scopes.

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 among the many sibling list tools. The agent must infer from the required `provider`/`type` parameters alone that this is a filtered inventory listing rather than an unfiltered dump.

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