Skip to main content
Glama

vpn__CreateVgwCertificate

Imports signing and encryption certificates, private keys, and CA certificate chain into a tenant VPN gateway; supports Chinese national cryptographic certificates only.

Instructions

[VPN] 导入租户VPN网关所使用的证书,包括签名证书、签名私钥、加密证书、加密私钥和CA证书链。当前只支持国密证书

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__CreateVgwCertificate"
  }
}

Input Schema

NameRequiredDescriptionDefault
vgw_idYesVPN网关实例ID
project_idYes项目id

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?

With no annotations, the description must carry behavioral disclosure; it does disclose that this is a write/import operation with an SM-certificate-only restriction. However, it omits significant behavior: prerequisites (does a vgw need to exist in a particular state?), whether importing overwrites existing certificates, and where the certificate material comes from given the schema exposes no certificate fields.

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?

Two compact sentences: the first identifies the resource and its constituent certificate materials, the second front-loads the SM-only restriction. There is no filler, though the certificate enumeration could be tightened.

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 creation/import tool with no annotations and no output schema, the description covers what is being imported but leaves an important gap: the input schema contains only project_id and vgw_id, with no certificate parameters, so an agent cannot tell from the definition how the certificate material is provided or what the call returns.

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 both path parameters (project_id, vgw_id) are already documented and the baseline is 3. The description adds no meaning about the parameters, and notably does not explain how the certificate payload described in prose is supplied, which is the main semantic question left open.

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 names a specific verb and resource (import certificates for a tenant VPN gateway) and enumerates exactly which certificate materials are covered: signature cert, signature private key, encryption cert, encryption private key, and CA chain. That makes the tool's function unambiguous, though it never contrasts itself with the close sibling vpn__UpdateVgwCertificate.

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 only usage constraint given is 'currently only supports SM (national cryptographic) certificates,' which usefully bounds applicability. There is no statement of when to use this versus vpn__UpdateVgwCertificate or CheckClientCaCertificate, so the when-to-use guidance is implied rather than explicit.

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