Skip to main content
Glama

apig__CreateVpcChannelV2

Creates a VPC channel in API Gateway so APIs can route backend nodes to private VPC resources for direct access.

Instructions

[APIG] 在API网关中创建连接私有VPC资源的通道,并在创建API时将后端节点配置为使用这些VPC通道,以便API网关直接访问私有VPC资源。

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "apig__CreateVpcChannelV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
instance_idYes实例ID,在API网关控制台的“实例信息”中获取。

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 burden of behavioral disclosure. It states that a VPC channel is created and used for private access, but omits permissions, duplicate-handling, idempotency, mutation side effects, and what happens to existing channels.

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?

The definition is a single front-loaded sentence beginning with the APIG context and the create action. It is efficient, though the second clause about configuring backend nodes slightly expands an already clear creation statement.

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 simple two-parameter create tool with a fully described schema and no output schema, the description covers the core purpose and use context. It is still incomplete regarding behavior, permissions, and alternatives, which matters more because no annotations are supplied.

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 input schema has 100% description coverage for both path parameters, so the schema already explains project_id and instance_id. The description adds no parameter-level meaning, which is acceptable at the baseline when schema coverage is high.

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 ('连接私有VPC资源的通道') and explains the resulting VPC access capability. It clearly contrasts with sibling operations like delete/show/update by name and intent, though it does not explicitly distinguish the APIG tool from the ROMA counterpart.

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 description implies the use case: creating an API backend that must directly access private VPC resources. However, it does not explicitly say when to use this instead of related tools such as UpdateVpcChannelV2 or ListVpcChannelsV2, nor does it give exclusions or prerequisites.

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