Skip to main content
Glama

vpn__ShowVpnGatewayCertificate

Retrieves the certificate associated with a specified VPN gateway using its project ID and gateway ID, so you can inspect or verify gateway certificate details.

Instructions

[VPN] 根据VPN网关ID,查询所指定的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>",
      "vgw_id": "<vgw_id>"
    },
    "name": "vpn__ShowVpnGatewayCertificate"
  }
}

Input Schema

NameRequiredDescriptionDefault
vgw_idYesVPN网关实例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 alone must convey the behavioral profile. It implies a read-only lookup but says nothing about required permissions, what is returned (public certificate only, or key material), or how the tool behaves when no certificate is configured for the gateway. That leaves the agent without the context it needs to predict the result of the call.

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 sentence that states the scope before anything else, with no wasted clauses. The [VPN] prefix is slightly redundant given the vpn__ name prefix, but the text is otherwise tightly sized for the operation's simplicity.

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 two-parameter read tool with no output schema and no annotations, the definition covers the essential what and the key, which is enough to issue a correct call. It is not complete enough to say what the response contains or how absent-certificate cases surface, which matters because no output schema exists to fill that gap.

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?

The schema description coverage is 100%, with both vgw_id and project_id documented in the schema, so the baseline score of 3 applies. The description restates the gateway ID as the scoping parameter but adds no semantics for project_id or for the expected ID format.

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 (查询, query) with a specific resource (VPN gateway certificate) and states the scoping key (VPN gateway ID), so an agent can tell it apart from the sibling write tools CreateVgwCertificate and UpdateVgwCertificate. It stops short of distinguishing itself from read-oriented siblings such as CheckClientCaCertificate or ShowClientCa, which also retrieve certificate material.

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?

Beyond naming the VPN gateway ID as the lookup key, no explicit guidance is given about when this tool should be chosen over the other certificate tools, and there are no stated exclusions or prerequisites. The use case can be inferred from the operation, but nothing routes the agent between this and the semantically close sibling certificate readers.

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