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

智能发单-创建订单

Create delivery orders through UU跑腿 by providing a price token and recipient phone number to finalize and submit order requests.

Instructions

自动创建订单,需要需要输入:计算订单价格接口返回的price_token,必传字段,收件人电话:receiver_phone,必传字段

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
price_tokenYes计算订单价格接口返回的price_token,必填字段
receiver_phoneYes收件人电话,例如:15288888888,必填字段

Implementation Reference

  • The implementation of the tool '智能发单-创建订单', which takes a price_token and receiver_phone to create an order using the UUPT OpenAPI.
    @mcp.tool(name="智能发单-创建订单",
              description="自动创建订单,需要需要输入:计算订单价格接口返回的price_token,必传字段,收件人电话:receiver_phone,必传字段")
    async def order_create(price_token: str = Field(description="计算订单价格接口返回的price_token,必填字段"),
                           receiver_phone: str = Field(description="收件人电话,例如:15288888888,必填字段"),
                           ) -> dict:
        biz = {
            'priceToken': price_token,
            'receiver_phone': receiver_phone,
            'pushType': "OPEN_ORDER",
            'payType': "BALANCE_PAY",
            'specialChannel': 1,
            'specialType': "NOT_NEED_WARM"
        }
        url = f"{OPENAPI_URL_BASE}order/addOrder"
        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