Skip to main content
Glama
RadiumGu

Alibaba Cloud Operations MCP Server

by RadiumGu

describe_ecs_instances

Retrieve detailed information about ECS instances in a specified region using Alibaba Cloud Operations MCP Server for streamlined cloud resource management.

Instructions

查询ECS实例信息

Args: region: 区域ID,如cn-beijing

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
regionNocn-beijing

Implementation Reference

  • Handler and registration for the 'describe_ecs_instances' MCP tool. This function is decorated with @app.tool() and implements the tool logic by attempting to call a matching function from common_api_tools.tools or returning a placeholder message indicating availability.
    @app.tool() def describe_ecs_instances(region: str = "cn-beijing") -> str: """查询ECS实例信息 Args: region: 区域ID,如cn-beijing """ try: sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'alibaba_cloud_ops_mcp_server')) from tools import common_api_tools # 查找ECS工具 for tool_func in common_api_tools.tools: if hasattr(tool_func, '__name__') and 'describe' in tool_func.__name__.lower() and 'instance' in tool_func.__name__.lower(): result = tool_func(RegionId=region) return str(result) return f"ECS实例查询功能可用,查询region: {region}" except Exception as e: return f"ECS查询失败: {str(e)}"

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