Skip to main content
Glama

vpc__ListVpcPeerings

Lists VPC peering connections for a tenant and filters results by peering ID, name, status, VPC ID, or project ID with pagination.

Instructions

[VPC] 查询提交请求的租户的所有对等连接。根据过滤条件进行过滤。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vpc__ListVpcPeerings"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo按照peering_id过滤查询
nameNo功能说明:按照peering_name过查询
limitNo每页返回的个数
markerNo分页查询起始的资源ID,为空时查询第一页
statusNo根据status进行过滤
vpc_idNo根据vpc ID过滤查询
tenant_idNo按照项目ID过滤查询

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full burden. It does disclose that this is a read operation and that results are scoped to the requesting tenant's peerings, but it says nothing about pagination behavior, the large default page size (limit=2000), or what a response looks like — meaningful gaps for a list tool with seven parameters.

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 the resource and scope front-loaded and no wasted wording; the "[VPC]" prefix acts as a service tag. It is efficient, though the second clause is somewhat redundant with the first.

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?

There is no output schema and no annotations, and the tool takes seven parameters, so the description should compensate more than it does — notably it never mentions paging via limit/marker. It is sufficient to know what the tool returns in broad terms (peerings filtered by criteria), but not how to page or how results are ordered.

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 every parameter (id, name, limit, marker, status, vpc_id, tenant_id) is already documented in the schema, including the status enum. The description adds only the generic notion of filtering, not any parameter-specific meaning, so the baseline 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 gives a specific verb + resource in "查询...所有对等连接" (query all peering connections), scoped to the requesting tenant, and adds that filtering is supported. It is clearly distinguishable from siblings like vpc__ListVpcs or vpc__ListSubnets by the resource named, though it makes no explicit sibling comparison.

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?

"根据过滤条件进行过滤" only implies that optional filters narrow the result set; there is no statement of when to use this tool versus other VPC list operations, no prerequisites, and no exclusions. An agent must infer usage entirely from the tool name.

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