Skip to main content
Glama

vpn__ShowCgw

Fetches a specific customer gateway's configuration by ID to support VPN connection setup and troubleshooting.

Instructions

[VPN] 根据对端网关ID,查询指定的对端网关

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": {
      "customer_gateway_id": "<customer_gateway_id>",
      "project_id": "<project_id>"
    },
    "name": "vpn__ShowCgw"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目id
customer_gateway_idYes对端网关ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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. It signals a read operation through 查询 but says nothing about whether the call is side-effect free, what happens when the ID does not exist, permission or project scoping requirements, or what the response returns.

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, front-loaded sentence with no filler, and the [VPN] prefix usefully identifies the service domain. Brevity is appropriate here, although the line is so sparse that most of the definition's potential value is left unused.

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?

This is a low-complexity, two-parameter read tool with no output schema, so the description needs relatively little. However, for a tool with no annotations, it should at least indicate the read-only nature or the response content, and it does neither.

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 coverage is 100%, and both project_id and customer_gateway_id already have descriptions in the schema. The description only restates the gateway ID lookup key, adding no format, scoping, or edge-case meaning beyond the schema; the baseline 3 therefore 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 gives a specific verb (查询) and resource (对端网关 / customer gateway) along with the lookup key (对端网关ID). It clearly separates the tool's behavior from sibling mutations such as CreateCgw, DeleteCgw, and UpdateCgw, but it does not explicitly contrast with sibling reads like ShowVgw.

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?

The phrase 根据对端网关ID,查询指定的对端网关 implies when the tool applies (a single-gateway lookup keyed by ID), but there is no explicit selection rule for choosing this tool over alternatives such as the VGW or connection queries. Usage is only implied, not stated.

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