Skip to main content
Glama

vpc__AcceptVpcPeering

Accepts a pending VPC peering connection request from another tenant so the two VPCs can establish connectivity.

Instructions

[VPC] 租户A名下的VPC申请和租户B的VPC建立对等连接,需要等待租户B接受该请求。此接口用于租户接受其他租户发起的对等连接请求。

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": {
      "peering_id": "<peering_id>"
    },
    "name": "vpc__AcceptVpcPeering"
  }
}

Input Schema

NameRequiredDescriptionDefault
peering_idYes对等连接ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the workflow semantics (a cross-tenant request exists and is waiting for acceptance), but says nothing about irreversibility, idempotency, required state of the request, authorization of the accepting tenant, or what happens on failure — meaningful gaps for a state-changing operation.

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 with no wasted wording. The actual purpose is only revealed in the second sentence after the background sentence, so the key statement is not fully front-loaded, but the text is otherwise tight and readable.

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 single-parameter accept operation with no output schema and no annotations, the description covers the scenario and actor well but omits preconditions (request must be pending, caller must be the target tenant) and post-conditions (peering becomes active), which an agent would need before invoking it confidently.

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?

Only one parameter (peering_id) exists and the schema already documents it at 100% coverage with type, path location, regex pattern, and an example. The description adds no further meaning about how to obtain or scope that ID, so the baseline of 3 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 names a specific verb (accept) and resource (a VPC peering connection request initiated by another tenant), and the first sentence frames the cross-tenant request/accept flow so an agent can tell this apart from creating or rejecting a peering. It stops short of explicitly naming the sibling tools it contrasts with (e.g. RejectVpcPeering), so differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clear context: this is the operation for the *receiving* tenant to approve a request that another tenant already created, which tells an agent when it applies. There is no explicit when-not guidance (e.g. use RejectVpcPeering to decline, or that the request must still be pending), leaving the negative case to inference.

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