Skip to main content
Glama
wyhAcc
by wyhAcc

luckin-mcp-proxy

瑞幸咖啡 MCP 本地代理。包装瑞幸官方远程 MCP,提供:

  • 一句话点单quickOrder):「大杯冰美式不加糖」一步到预览

  • 🔁 一键复购reorder

  • 🧠 记忆:常用门店、口味偏好自动学习(存 ~/.luckin-mcp/config.json

  • 🛠 修复上游缺陷:搜索失败自动重试;绕过 switchProduct 的「非法参数」bug

准备:获取瑞幸 MCP token

在瑞幸 App / 官方渠道开通 MCP 服务获取 Bearer token(一段以 LUCKIN_MCP_AI 结尾的长字符串)。 ⚠️ token 等同于你的点单权限,不要提交到 git、不要分享给他人

Related MCP server: OpenAI-Compatible MCP Gateway

安装

需要 Node.js >= 20。

方式一:一行命令(推荐)

无需 clone、无需构建,npx 直接从 GitHub 安装:

claude mcp add my-coffee -e LUCKIN_MCP_TOKEN=<你的token> -- npx -y github:wyhAcc/luckin-mcp-proxy

首次启动会自动下载并构建(约半分钟),之后走本地缓存秒启。

其他 MCP 客户端(JSON 配置):

{
  "mcpServers": {
    "my-coffee": {
      "command": "npx",
      "args": ["-y", "github:wyhAcc/luckin-mcp-proxy"],
      "env": { "LUCKIN_MCP_TOKEN": "<你的token>" }
    }
  }
}

方式二:本地 clone(需要改代码时用)

git clone https://github.com/wyhAcc/luckin-mcp-proxy.git
cd luckin-mcp-proxy
npm install   # 会自动构建 dist/
claude mcp add my-coffee -e LUCKIN_MCP_TOKEN=<你的token> -- node "$PWD/dist/index.js"

工具列表

工具

说明

quickOrder

一句话点单 → 返回预览 + draftId(不直接下单)

confirmOrder

确认 draftId 下单,返回支付链接

reorder

复购上次订单

orderStatus

查订单/取餐码(缺省查最近一单)

cancelOrder

取消订单

searchProduct

搜商品(自动重试)

findShop

搜门店(首次需经纬度,之后自动记忆)

preferences

查看/设置常用门店与口味

rawCall

透传瑞幸原始工具(createOrder 除外,调试用)

示例对话

「点一杯大杯冰美式不加糖」 → quickOrder 返回价格预览 → 「确认」 → confirmOrder 返回支付二维码 「再来一杯昨天那个」 → reorder 「到哪了」 → orderStatus 返回取餐码

环境变量

变量

必填

说明

LUCKIN_MCP_TOKEN

瑞幸 MCP Bearer token

LUCKIN_MCP_URL

上游地址,默认官方 https://gwmcp.lkcoffee.com/order/user/mcp

开发

npm test          # 单元测试
npm run smoke     # 集成冒烟(需真实 token,只读+预览,不下单)
npm run build

Available Tools

9 tools
cancelOrderA

取消订单。orderId 缺省时取消最近一单。

ParametersJSON Schema
NameRequiredDescriptionDefault
orderIdNo

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description discloses the default behavior of canceling the most recent order. However, it does not mention irreversibility, required permissions, or side effects, which are important for a destructive action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with two sentences. The purpose is front-loaded and every part adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple cancellation tool with no output schema or annotations, the description covers the core behavior and parameter default. However, it lacks context about prerequisites, error conditions, or whether the action is reversible.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description must compensate. It explains that omitting orderId results in canceling the most recent order, adding meaningful context beyond the schema's type declaration.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('取消订单' meaning cancel order) and specifies the behavior when orderId is omitted: cancels the most recent order. This distinguishes the tool from siblings like confirmOrder or reorder.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for canceling orders but does not provide explicit guidance on when to use it versus alternatives (e.g., reorder, quickOrder). No exclusions or prerequisites are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

confirmOrderA

确认下单:传入 quickOrder/reorder 返回的 draftId,创建真实订单并返回支付链接。仅在用户明确确认后调用。

ParametersJSON Schema
NameRequiredDescriptionDefault
draftIdYes

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden. It discloses that the tool creates a real order and returns a payment link, indicating a mutation. However, it does not specify potential side effects (e.g., whether the draft is invalidated after use), error handling, or idempotency. Given the absence of annotations, more behavioral detail would be beneficial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise, using two clear clauses. The purpose is front-loaded ('确认下单'), and every sentence adds necessary information without redundancy. It is well-structured for quick comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description adequately explains the return value (payment link) and the input parameter's origin. However, it lacks details on error scenarios or response structure. For a simple single-parameter tool, the coverage is good but not exhaustive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant meaning to the single parameter 'draftId' by stating it comes from quickOrder/reorder, providing source context and implied format. Since schema description coverage is 0%, this added value is crucial for correct usage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb (确认下单/confirm order), the resource (订单/order), and the key action: creating a real order from a draft and returning a payment link. It distinguishes from sibling tools like quickOrder (which creates a draft) and cancelOrder (which cancels), making the purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a clear condition for calling the tool: only after user explicitly confirms ('仅在用户明确确认后调用'). It also implies this is the final step following quickOrder/reorder, giving context for when to use it. However, it does not explicitly mention when not to use or list alternatives, which would elevate the score to 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

findShopA

按名称搜索瑞幸门店。首次使用需提供经纬度,之后用记忆的常用门店坐标。

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYes
longitudeNo
latitudeNo

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses key behavioral traits: the tool is stateful, memorizing coordinates after first use. This is valuable as no annotations are provided. However, it does not mention authentication needs, rate limits, or what happens if coordinates are not provided on first use.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with two clauses in one sentence, front-loading the purpose. Every word adds value. It could be slightly more structured, but it is efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 3 parameters, no output schema, and no annotations, the description covers usage and stateful behavior. However, it lacks information about the return format (e.g., list of stores with details), which is a gap in completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description adds meaning to the parameters: name for searching, longitude/latitude for initial use. However, it does not specify coordinate format (e.g., decimal degrees) or explain how 'memorized common store coordinates' work, leaving ambiguity. Baseline 3 is appropriate as some value is added but gaps remain.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool searches for Luckin stores by name ('按名称搜索瑞幸门店'), which is a specific verb+resource. It distinguishes from sibling tools like searchProduct (search products) and other order-related tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage context: first use requires coordinates ('首次使用需提供经纬度'), and subsequent uses rely on memorized coordinates ('之后用记忆的常用门店坐标'). This guides the agent on when to provide longitude/latitude. However, it does not explicitly state when not to use this tool or suggest alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

orderStatusA

查询订单状态(取餐码、制作进度)。orderId 缺省时查最近一单。

ParametersJSON Schema
NameRequiredDescriptionDefault
orderIdNo

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden. It discloses the default behavior and the information returned (status, pickup code, progress), but lacks details on side effects, authentication needs, or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with two sentences, front-loading the purpose and then addressing the parameter default. Every sentence is necessary and no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has one optional parameter and no output schema, the description covers the primary behavior, default logic, and output content. Missing details like error handling or authentication are minor gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description must compensate. It does by explaining that orderId is optional and that omitting it queries the most recent order, adding meaningful context beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool queries order status including pickup code and preparation progress. It distinguishes from sibling tools like cancelOrder and confirmOrder by focusing on status retrieval only.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for checking order status and mentions default behavior when orderId is omitted, but does not provide explicit guidance on when to use this tool versus alternatives like searchProduct or reorder.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

preferencesA

查看或设置偏好:常用门店、默认口味(冰/热、糖度、杯型),并可查看最近订单与常点商品。

ParametersJSON Schema
NameRequiredDescriptionDefault
actionYes
defaultShopNameNo
temperatureNo
sugarNo
cupSizeNo

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must fully disclose behavior. It reveals that the tool supports both read and write operations, but lacks details on side effects (e.g., whether writing is immediate, persistent) or what the 'get' action returns. The description adds context beyond the schema but is not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, concise and front-loaded with the verb phrase. It efficiently conveys the main functionality without redundancy, though it could be slightly more structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no parameter descriptions in the schema, the description does not fully explain expected outputs or parameter details. The mention of 'recent orders' and 'frequent items' without schema mapping leaves gaps in understanding, especially for new agents.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It explains the domain of parameters (e.g., 'temperature' as icy/hot, 'sugar' as sweetness) and the 'action' enum. However, it mentions 'recent orders' and 'frequent items' which do not correspond to any schema parameter or output field, causing ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: viewing or setting preferences (frequently used store, default temperature, sugar level, cup size) and viewing recent orders and frequently ordered items. It uses specific verbs and resources, distinguishing it from sibling tools focused on order management.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for preference management but does not explicitly state when to use this tool versus alternatives like 'quickOrder' or 'orderStatus'. No when-not-to-use guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

quickOrderA

一句话点瑞幸:自然语言描述饮品(如「大杯冰美式不加糖」),自动用常用门店和口味偏好,返回订单预览和 draftId。不会直接下单,需用户确认后调 confirmOrder。

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYes饮品描述,可含杯型/温度/糖度
shopNameNo门店名,缺省用常用门店
amountNo杯数,默认 1

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses that the tool does not directly place orders, returns a preview and draftId, and uses default store and preferences. This is sufficient disclosure for a preview tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise Chinese sentence that front-loads the main purpose and key behaviors. Every word adds value with zero waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description adequately explains the return: order preview and draftId, and the overall flow. It is complete for a draft-creating tool, though it does not cover error handling for invalid queries.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description adds context about the default behavior for shopName and amount, which is not in the schema. It also clarifies the query parameter's role, providing marginal but useful value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: it takes a natural language description of a drink, auto-fills store and taste preferences, and returns an order preview with draftId. It also clarifies that it does not place the order directly, distinguishing it from sibling tools like confirmOrder.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains when to use the tool (quick order draft via natural language) and implies that for final placement, confirmOrder should be used. It mentions default store and preferences, providing context, but does not explicitly list alternative tools or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

rawCallA

调试后门:直接透传调用瑞幸原始 MCP 工具(queryShopList/searchProductForMcp/queryProductDetailInfo/previewOrder/cancelOrder/queryOrderDetailInfo/switchProduct)。不允许 createOrder,下单必须走 quickOrder → confirmOrder。

ParametersJSON Schema
NameRequiredDescriptionDefault
toolYes
argsNo

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It discloses it's a debug backdoor and direct pass-through, but does not explain side effects, authentication needs, or whether operations are destructive. Some behavioral info is given (allowed tools and prohibition), but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no wasted words. Front-loaded with purpose, then key restriction. Perfectly concise for the information conveyed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and nested parameters, the description is brief. It lists allowed tools but doesn't explain how to use rawCall with specific tools, error handling, or return values. As a debug backdoor, this might be acceptable, but for an agent it leaves gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% (no descriptions for parameters). The description implies 'tool' selects one of the listed tools and 'args' are its arguments, but doesn't explicitly explain the meaning or format. For a 2-parameter schema with nested object, more detail is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it's a debug backdoor for directly calling specific original Luckin MCP tools. It lists the allowed tools (queryShopList, searchProductForMcp, etc.) and explicitly excludes createOrder. This distinguishes it from sibling tools like quickOrder and confirmOrder.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use (for the listed tools) and when not to use (createOrder is forbidden, must use quickOrder → confirmOrder instead). Provides clear context for agent decision-making.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

reorderA

一键复购上次成功订单,返回订单预览和 draftId,确认后调 confirmOrder。

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description bears full burden. It explains the flow (return preview, draftId, call confirmOrder) but does not disclose failure modes, idempotency, or whether it mutates state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence in Chinese, front-loaded with action, no unnecessary words. Very concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given zero parameters and no output schema, the description covers the basic flow but lacks prerequisites (e.g., must have a last successful order) and error conditions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters in schema; description adds contextual meaning for the no-input action. Baseline 4 applies as no param documentation needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description specifies '一键复购上次成功订单' (one-click repurchase last successful order), a clear verb+resource. It distinguishes from sibling tools like confirmOrder and quickOrder.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States that this is for quickly repurchasing the last order and that after getting a draftId, one should call confirmOrder. Implicitly distinguishes from quickOrder for new orders, but no explicit when-not.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

searchProductA

搜索瑞幸商品(自动重试不稳定的上游搜索),返回名称/价格/SKU/属性。

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYes
shopNameNo门店名,缺省用常用门店

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description discloses retry logic for unstable upstream searches and specifies the output fields. This provides useful behavioral context beyond the schema, though additional details like auth requirements or side effects are absent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence containing the action, retry detail, and output spec. Every element is essential and clearly communicated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a search tool with two parameters and no output schema, the description covers purpose, retry behavior, and output fields. It lacks guidance on when to use versus sibling tools and does not mention pagination or error conditions, but otherwise is sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50% (one parameter described in schema). The description does not add meaning to the 'query' parameter, but its purpose is clear from the context. The 'shopName' parameter is already described in the schema. The description compensates minimally by implying the nature of the query.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool searches for Luckin products and lists the specific fields returned (name/price/SKU/attributes). It also mentions retry behavior, which adds precision. This distinguishes it from sibling tools like findShop (shop search) and others.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to use this tool versus alternatives. The description implies it is for product search, but does not mention when not to use it or contrast it with siblings like quickOrder or reorder.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 9 tool updatesv0.1.0
    • First observedcancelOrder
    • First observedconfirmOrder
    • First observedfindShop
    • First observedorderStatus
    • First observedpreferences
    • First observedquickOrder
    • First observedrawCall
    • First observedreorder
    • First observedsearchProduct

TDQS

A4.2/5.0

Scored across 9 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: order lifecycle (quickOrder, confirmOrder, cancelOrder, orderStatus, reorder), search (findShop, searchProduct), preferences, and a debug backdoor (rawCall). No overlap.

Naming Consistency5/5

All tool names follow a consistent verbNoun camelCase pattern (e.g., cancelOrder, confirmOrder, findShop, searchProduct). No mixing of naming conventions.

Tool Count5/5

9 tools is well-scoped for a coffee ordering assistant, covering search, ordering, cancellation, status, preferences, and a debug tool. Not excessive or insufficient.

Completeness5/5

The tool set covers the full ordering lifecycle: shop/product discovery, quick order and reorder, confirmation, cancellation, and status tracking. Preferences and a debug backdoor add completeness. No obvious gaps.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers