Skip to main content
Glama
aliyun

Alibaba Cloud RDS OpenAPI MCP Server

Official
by aliyun

describe_vswitches

Read-only

Query Alibaba Cloud VSwitch lists by region, VPC, zone, name, or resource group. Supports pagination to filter and retrieve specific VSwitches.

Instructions

Query VSwitch list.

Args:
    region_id: The region ID of the VSwitch. At least one of region_id or vpc_id must be specified.
    vpc_id: The ID of the VPC to which the VSwitch belongs. At least one of region_id or vpc_id must be specified.
    vswitch_id: The ID of the VSwitch to query.
    zone_id: The zone ID of the VSwitch.
    vswitch_name: The name of the VSwitch.
    resource_group_id: The resource group ID of the VSwitch.
    page_number: The page number of the list. Default: 1.
    page_size: The number of entries per page. Maximum value: 50. Default: 10.

Returns:
    Dict[str, Any]: The response containing the list of VSwitches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
region_idNo
vpc_idNo
vswitch_idNo
zone_idNo
vswitch_nameNo
is_defaultNo
resource_group_idNo
page_numberNo
page_sizeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate readOnlyHint true. Description reinforces read-only behavior with the query verb and adds the constraint about required parameters. No contradictions.

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?

Structure is clear with Args and Returns sections. Front-loaded with action statement. Could be slightly more concise but remains well-organized.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers all parameters and return type. Output schema exists, so return details are implicit. Pagination is explained. For a simple list query, completeness is good.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Description explains all parameters except 'is_default', which is present in schema but omitted. It adds defaults for page_number and page_size, and the mutual exclusion rule. With 0% schema coverage, this is significant value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description starts with 'Query VSwitch list.', clearly stating the action and resource. It distinguishes from sibling tools like describe_vpcs by explicitly targeting VSwitches.

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?

States requirement that at least one of region_id or vpc_id must be specified, providing context for valid usage. However, it does not explicitly mention when to use this tool over alternatives or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/alibabacloud-rds-openapi-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server