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

智能发单-订单询价

Get instant delivery price quotes for UU跑腿 orders by entering pickup and destination addresses to estimate costs before booking.

Instructions

查询订单价格,需要需要输入开始地址,结束地址。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
from_addressYes开始地址,要求完整地址信息。必要字段
to_addressYes结束地址,要求完整地址信息,必要字段
city_nameYes配送城市名字,如果没有带’市‘,需要补充,比如郑州市,不能只是郑州,非必填

Implementation Reference

  • The implementation of the '智能发单-订单询价' tool, which accepts order addresses and city name and calls the order pricing API.
    @mcp.tool(name="智能发单-订单询价", description="查询订单价格,需要需要输入开始地址,结束地址。")
    async def order_price(from_address: str = Field(description="开始地址,要求完整地址信息。必要字段"),  # 开始地址,例如:阳光城5号楼6层6号
                          to_address: str = Field(description="结束地址,要求完整地址信息,必要字段"),  # 结束地址,例如:楷林国际4层210号
                          city_name: str = Field(
                              description="配送城市名字,如果没有带’市‘,需要补充,比如郑州市,不能只是郑州,非必填"), ) -> dict:
        if ORDER_CITY:
            city_name = ORDER_CITY
        biz = {
            'fromAddress': from_address,
            'toAddress': to_address,
            'sendType': "SEND",
            'cityName': city_name,
            'specialChannel': 1
        }
        url = f"{OPENAPI_URL_BASE}order/orderPrice"
        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