Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCD_MCP_TOKENYesYour 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

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 5 tools

Disambiguation5/5

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.

Naming Consistency4/5

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.

Tool Count4/5

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.

Completeness2/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo issues