Skip to main content
Glama
uupt-mcp
by uupt-mcp

智能发单-取消订单

Cancel delivery orders on UU跑腿 by providing order code and cancellation reason to manage order status changes.

Instructions

取消订单,需要需要输入订单编号

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_codeYes订单编号order_code
reasonYes取消原因reason,例如:不想取了

Implementation Reference

  • Implementation of the "智能发单-取消订单" tool handler using order_cancel function.
    @mcp.tool(name="智能发单-取消订单", description="取消订单,需要需要输入订单编号")
    async def order_cancel(order_code: str = Field(description="订单编号order_code"),
                           reason: str = Field(description="取消原因reason,例如:不想取了"),
                           ) -> dict:
        biz = {
            'order_code': order_code,
            'reason': reason
        }
        url = f"{OPENAPI_URL_BASE}order/cancelOrder"
        return post_send(biz, url)

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/uupt-mcp/uupt-mcp-server'

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