Skip to main content
Glama

vpc__ListSubnets

Lists subnets in a Huawei Cloud project, with optional VPC filtering and pagination, so you can inspect network resources before configuration or troubleshooting.

Instructions

[VPC] 查询子网列表

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

Input Schema

NameRequiredDescriptionDefault
limitNo每页返回的个数
markerNo分页查询起始的资源id,为空时查询第一页
vpc_idNo按照vpc_id过滤查询
project_idYes项目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, yet it discloses nothing beyond the bare action. "查询" implies a read-only operation, but pagination semantics, permission requirements on project_id, and whether vpc_id filtering changes result scope are left entirely undocumented.

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?

A single front-loaded phrase with zero padding; there is no wasted wording. Its brevity costs it clarity elsewhere, but as a matter of structure it is efficient and well-formed.

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?

With four documented parameters, no output schema, and no annotations, the description is technically usable but thin — it never indicates what a subnet record contains or how paging behaves across the limit/marker pair. Adequate to invoke, insufficient to invoke confidently.

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% and every parameter (limit, marker, vpc_id, project_id) carries its own description and pattern, so the schema already does the semantic work. The description adds no additional meaning about how these parameters combine — baseline 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 pairs a specific verb with a specific resource ("查询子网列表" = query subnet list) and tags the service domain with "[VPC]", so the agent knows this lists subnets. It offers no differentiation from close siblings such as vpc__ListSubnetsByTags or vpc__NeutronListSubnets, which is the only thing keeping it from a 5.

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 at all — no statement of when this is preferable to listing subnets by tags, to the Neutron variant, or to related tools like vpc__ListSubNetworkInterfaces. The agent must infer the choice entirely from sibling names.

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