mcd-guard
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCD_MCP_TOKEN | Yes | Your McDonald's MCP access token, obtained by logging in with your phone number on the McDonald's MCP open platform console (https://open.mcd.cn/mcp) and clicking "activate". Put it after MCD_MCP_TOKEN= in the .env file. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| now-time-infoA | 返回当前日期和时间(ISO 格式)。用于判断门店营业时间、优惠券是否在有效期内。只读,无参数。演示数据,虚构,不连麦当劳官方服务。 |
| query-nearby-storesA | 按关键词查附近门店,返回门店列表(storeCode、门店名、地址、beType)。点餐流程第一步:后续查菜单、试算、下单都要用这里的 storeCode 和 beType。只读。演示数据,虚构,不连麦当劳官方服务。 |
| query-mealsA | 查询指定门店的菜单,返回餐品列表(code、名称、单价,单位元)。下单和试算时 items 里的 productCode 就是这里的 code。只读。演示数据,虚构,不连麦当劳官方服务。 |
| query-my-couponsA | 列出当前账号已领取、可使用的优惠券名称。只读,不会领取新券;要领券用 auto-bind-coupons。无参数。演示数据,虚构,不连麦当劳官方服务。 |
| calculate-priceA | 按门店和餐品试算订单应付金额,返回总价(单位分)和餐品明细。只算价、不下单,可放心调用;用户问“多少钱”时用它,不要用 create-order。只读。演示数据,虚构,不连麦当劳官方服务。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool covers a clearly distinct function: time, store search, menu lookup, coupon listing, and price calculation. Descriptions explicitly differentiate calculate-price from order placement and query-meals, leaving no overlap.
Names use consistent kebab-case and mostly follow a verb_noun pattern (query-nearby-stores, query-meals, query-my-coupons, calculate-price), but now-time-info deviates as a noun phrase rather than a verb-led action.
Five tools is a reasonable, focused set for query and pricing operations, and each tool earns its place. It is slightly thin given the broader ordering workflow implied by the descriptions.
The descriptions reference create-order and auto-bind-coupons, but those tools are absent, leaving no way to place an order or claim coupons. This creates significant dead ends for the core ordering domain.