Skip to main content
Glama
aliyun

Alibaba Cloud DMS MCP Server

Official
by aliyun

getOrderInfo

Retrieve detailed order information from Alibaba Cloud DMS using the order ID. Simplify data access and querying across diverse database ecosystems with this tool.

Instructions

Retrieve order information from DMS using the order ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYesDMS order ID

Implementation Reference

  • The core handler function for the 'getOrderInfo' tool. It calls the Alibaba Cloud DMS API to retrieve base information for a given order ID.
    async def get_order_base_info( order_id: str = Field(description="DMS order ID") ) -> Dict[str, Any]: client = create_client() req = dms_enterprise_20181101_models.GetOrderBaseInfoRequest() req.order_id = order_id try: resp = client.get_order_base_info(req) return resp.body.to_map() except Exception as e: logger.error(f"Error in get_order_base_info: {e}") raise
  • Registration of the 'getOrderInfo' tool in the configured database toolset, linking to the get_order_base_info handler.
    self.mcp.tool(name="getOrderInfo", description="Retrieve order information from DMS using the order ID.", annotations={"title": "获取DMS工单详情", "readOnlyHint": True})(get_order_base_info)
  • Registration of the 'getOrderInfo' tool in the full toolset, linking to the get_order_base_info handler.
    self.mcp.tool(name="getOrderInfo", description="Retrieve order information from DMS using the order ID.", annotations={"title": "获取DMS工单详情", "readOnlyHint": True})(get_order_base_info)

Other Tools

Related 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-dms-mcp-server'

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