Skip to main content
Glama
RadiumGu

Alibaba Cloud Operations MCP Server

by RadiumGu

describe_ecs_regions

Retrieve a list of available ECS regions on Alibaba Cloud to manage and deploy resources across specific geographic locations.

Instructions

查询ECS可用区域列表

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler and registration for the 'describe_ecs_regions' MCP tool. It is decorated with @app.tool() and implements logic to delegate to a region-finding tool in common_api_tools or return availability message.
    @app.tool() def describe_ecs_regions() -> str: """查询ECS可用区域列表""" try: sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'alibaba_cloud_ops_mcp_server')) from tools import common_api_tools for tool_func in common_api_tools.tools: if hasattr(tool_func, '__name__') and 'region' in tool_func.__name__.lower(): result = tool_func() return str(result) return "ECS区域查询功能可用" except Exception as e: return f"ECS区域查询失败: {str(e)}"
  • Registration of the tool via FastMCP @app.tool() decorator.
    @app.tool()
  • Supporting CommonAPICaller tool used potentially for calling ECS.DescribeRegions, though not directly invoked by the handler.
    def CommonAPICaller( service: str = Field(description='AlibabaCloud service code'), api: str = Field(description='AlibabaCloud api name'), parameters: dict = Field(description='AlibabaCloud ECS instance ID List', default={}), ): """ Use PromptUnderstanding tool first to understand the user's query, Perform the actual call by specifying the Service, API, and Parameters """ return _tools_api_call(service, api, parameters, None)

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/RadiumGu/alicloud-ops-mcp'

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