Skip to main content
Glama

vpc__RejectVpcPeering

Rejects a pending cross-tenant VPC peering request by ID, preventing an unwanted network connection from being established.

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

Input Schema

NameRequiredDescriptionDefault
peering_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 supplied, so the description carries the full behavioral burden. It does not say whether rejection is reversible, what status the request enters, whether the requesting tenant is notified, what permissions the caller needs, or what error occurs if the request was already accepted or expired — all material for an irreversible state-changing 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?

Two short sentences with no filler. The first supplies lifecycle context and the second delivers the action, though the actual purpose statement is back-loaded rather than front-loaded; still efficient overall.

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 tool with no output schema this is roughly adequate — the agent knows what to call and with which ID. But because there are no annotations and rejection is a one-way state transition, the definition should cover the pending-state precondition and the resulting status, which are absent.

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 schema description coverage is 100%, with type, UUID pattern and example already given in the schema. The description adds no meaning beyond that, so the baseline of 3 for fully covered schemas 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 second sentence names a specific verb and resource: rejecting a VPC peering connection request initiated by another tenant. It also frames the lifecycle (tenant A requests, tenant B accepts), so the agent can distinguish this reject operation from the accept path even though no sibling is named explicitly.

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?

Usage is implied by the scenario: a tenant uses it to refuse an inbound peering request, whereas AcceptVpcPeering handles the positive path. However, it never states the required precondition (request must be in a pending state), nor does it explicitly name the alternative tool for accepting, so the agent must infer routing.

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