Skip to main content
Glama

vpc__NeutronListSubnets

Lists and filters VPC subnets for a tenant, returning up to 2,000 results per page and a pagination marker for additional pages.

Instructions

[VPC] 查询提交请求租户的所有子网,单次查询最多返回2000条数据,超过2000后会返回分页标记。分页查询请参考分页查询 。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vpc__NeutronListSubnets"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo按照子网对应的ID过滤查询
cidrNo按照子网的cidr过滤查询
nameNo按照子网的名称过滤查询
limitNo每页返回的个数
markerNo分页查询起始的资源ID,为空时查询第一页
tenant_idNo按照子网所属的项目ID过滤查询
gateway_ipNo按照子网的网关IP过滤查询
ip_versionNo按照子网的IP协议版本过滤查询
network_idNo按照子网所属network_id过滤查询
enable_dhcpNo按照子网是否开启dhcp过滤查询,取值范围:true or false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the 2000-record return cap and that a pagination marker is returned beyond that, but it says nothing about permissions/auth requirements, what fields are returned, or whether filters combine with AND semantics.

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?

It is short and front-loads the resource scope and the 2000-record limit. The trailing phrase '分页查询请参考分页查询' is circular and points to nothing concrete, which is the only real waste.

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?

For a 10-parameter, no-annotation, no-output-schema list tool, the description covers scope and pagination, which is the main operational risk. It is still missing filter interaction semantics and any indication of the response shape or default ordering.

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%, so all 10 filter parameters (id, cidr, name, tenant_id, gateway_ip, network_id, etc.) are already documented in the schema. The description adds no meaning about filter combination, case sensitivity, or matching behavior beyond the schema, so 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 states a specific verb and resource (query all subnets) and names the tenant scope, so an agent knows it lists subnets. However, it never distinguishes itself from the sibling vpc__ListSubnets, which appears to target the same resource.

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?

Usage is only implied: it says it queries all subnets of the requesting tenant, and the pagination note hints at how to continue past 2000 results. There is no explicit guidance on when to pick this over vpc__ListSubnets or vpc__ListSubnetsByTags.

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