Skip to main content
Glama

workspace__ListNatGateways

Retrieve and filter public NAT gateways in a Huawei Cloud project by ID, name, status, specification, VPC, or creation time for network inspection.

Instructions

[WORKSPACE] 查询NAT网关列表。

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

Input Schema

NameRequiredDescriptionDefault
idNo公网NAT网关实例的ID。
nameNo公网NAT网关实例的名字,长度限制为64。公网NAT网关实例的名字仅支持数字、字母、_(下划线)、-(中划线)、中文。
specNo公网NAT网关实例的规格。取值为: "1":小型,SNAT最大连接数10000;"2":中型,SNAT最大连接数50000;"3":大型,SNAT最大连接数200000;"4":超大型,SNAT最大连接数1000000。
limitNo功能说明:每页返回的个数。取值范围:1~2000。默认值:2000。
statusNo公网NAT网关实例的状态。
router_idNoVPC的id。
created_atNo公网NAT网关实例的创建时间,遵循UTC时间,格式是yyyy-mm-ddThh:mm:ssZ。
project_idYes项目ID。
descriptionNo公网NAT网关实例的描述,长度限制为255。
enterprise_project_idNo企业项目ID。创建公网NAT网关实例时,关联的企业项目ID。all_granted_eps

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, and “查询” merely implies a read operation. The description adds no operational context about project or enterprise-project visibility, filter interaction, pagination behavior, permissions, or result characteristics.

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

Conciseness5/5

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

The single sentence is front-loaded, directly states the operation, and contains no filler. The “[WORKSPACE]” prefix is a compact namespace cue, while supporting details are left to the structured fields.

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?

The rich input schema makes the tool largely invocable, but there are no annotations or output schema to supply additional context. For a ten-parameter list operation, the description is minimally adequate while omitting public-NAT scoping, selection guidance, and behavioral or result details.

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 the required project_id, optional filters, and pagination limit, so the baseline score applies. The description itself adds no parameter meaning, constraints, or invocation examples beyond the schema.

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 “查询NAT网关列表” clearly pairs a query action with the NAT-gateway resource. It does not specify the public-NAT scope found throughout the schema or distinguish the tool from siblings such as workspace__ListNatMappingConfigs.

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 are no explicit conditions for when to use this tool, prerequisites, or alternatives. The word “列表” implies multi-item retrieval, but no guidance explains when that is preferable to another operation.

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