Skip to main content
Glama

vpn__ListCgws

Lists VPN customer gateways for a Huawei Cloud project, supporting pagination and filtering by customer gateway ID to inspect VPN peer connections.

Instructions

[VPN] 查询对端网关列表

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

Input Schema

NameRequiredDescriptionDefault
limitNo分页查询时每页返回的记录数量
cgw_idNoCustomerGateway ID
markerNo上一页最后一条资源记录的创建时间,为空时为查询第一页。使用说明:必须与limit一起使用。
project_idYes项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. Other than the word "查询/List" implying a read, it discloses nothing about pagination behavior, result ordering, filtering semantics (e.g., whether cgw_id narrows to a single record), or error conditions.

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 short sentence with zero padding and the resource front-loaded. Its brevity is not verbosity waste, though it borders on under-specification rather than tight structure.

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?

With four parameters, no annotations, and no output schema, the description should explain what the list returns and how filtering/pagination combine (marker must be paired with limit). None of that is covered, leaving the agent dependent on the raw schema for correct invocation.

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%, including Chinese descriptions for limit, marker, cgw_id, and project_id, so the schema already explains every parameter. The description adds nothing beyond the schema, which is the baseline-3 case.

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?

"查询对端网关列表" states a verb (query) and resource (customer gateway list), and the Chinese term clarifies what the CGW acronym in the tool name means. However, it offers no differentiation from the many sibling list tools (ListVgws, ListP2cVgws, ListVpnConnections), so an agent must infer the distinction from the names alone.

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?

The description gives no indication of when to use this tool versus sibling list operations, nor any prerequisites such as requiring a project_id or a paired limit/marker for pagination. Usage must be inferred entirely from the name and schema.

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