Skip to main content
Glama
aliyun

Alibaba Cloud DMS MCP Server

Official
by aliyun

submitOrderApproval

Submit database management service (DMS) orders for approval using the order ID within Alibaba Cloud’s MCP Server, ensuring efficient workflow and compliance.

Instructions

Submit the order for approval in DMS using the order ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYesDMS order ID

Implementation Reference

  • The core handler function that executes the submitOrderApproval tool logic by creating a DMS client, preparing the SubmitOrderApprovalRequest with the order_id, calling the API, and returning the response or raising an error.
    async def submit_order_approval( order_id: str = Field(description="DMS order ID") ) -> Dict[str, Any]: client = create_client() req = dms_enterprise_20181101_models.SubmitOrderApprovalRequest() req.order_id = order_id try: resp = client.submit_order_approval(req) return resp.body.to_map() except Exception as e: logger.error(f"Error in submit_order_approval: {e}") raise
  • Registers the submit_order_approval handler as the 'submitOrderApproval' tool in the configured database toolset (when default_database_id is set).
    self.mcp.tool(name="submitOrderApproval", description="Submit the order for approval in DMS using the order ID.", annotations={"title": "提交工单审批", "readOnlyHint": False})(submit_order_approval)
  • Registers the submit_order_approval handler as the 'submitOrderApproval' tool in the full toolset (when no default_database_id is set).
    self.mcp.tool(name="submitOrderApproval", description="Submit the order for approval in DMS using the order ID.", annotations={"title": "提交工单审批", "readOnlyHint": False})(submit_order_approval)

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