Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
member_queryB

查询Coffee Company会员信息。通过手机号、openId 或会员ID查询。

对应 HTTP API: POST /crmadapter/account/query

Args: mobile: 手机号(模糊匹配,如 "138****1234") open_id: 第三方平台 openId member_id: Coffee Company会员ID

member_tierB

查询会员等级详情,包括当前星星数、等级有效期、距下一级的差距。

对应 HTTP API: POST /crmadapter/account/memberTier

Args: member_id: Coffee Company会员ID

member_benefitsB

查询会员 8 项权益状态(新人礼、生日奖励、升级奖励等)。

对应 HTTP API: POST /crmadapter/customers/getBenefits

状态说明: 0=隐藏, 1=未解锁, 2=可使用, 3=已使用/已过期

Args: member_id: Coffee Company会员ID

member_benefit_listB

查询会员的优惠券和权益券列表。

对应 HTTP API: POST /crmadapter/asset/coupon/getBenefitList

Args: member_id: Coffee Company会员ID

coupon_queryC

查询订单关联的券码生成状态。

对应 HTTP API: POST /coupon/query

Args: order_id: 订单号

coupon_detailA

查询单张券码的详细信息,包括状态、面值、有效期、核销次数。

对应 HTTP API: POST /coupon/detail

券码状态: 4=未使用, 10=已使用, 20=已过期, 30=已作废

Args: coupon_code: 券码(如 "CC20260301A001")

equity_queryB

查询权益发放状态(电子券是否发放成功)。

对应 HTTP API: POST /equity/query

Args: order_id: 权益订单号

equity_detailB

查询权益详情,包括券码、状态、金额、核销次数等完整信息。

对应 HTTP API: POST /equity/detail

Args: order_id: 权益订单号

assets_listC

查询客户全部资产(优惠券 + 权益券),一览式展示。

对应 HTTP API: POST /assets/list

Args: member_id: Coffee Company会员ID

cashier_pay_queryB

查询支付状态(收银台下单后的支付结果)。

对应 HTTP API: POST /cashier/payQuery

状态: 0=支付中, 1=支付成功, 2=支付失败

Args: pay_token: 支付令牌(收银下单接口返回的 payToken)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
api_catalogCoffee Company MCP 开放平台接口目录
auth_guide鉴权说明

TDQS

B3.4/5.0

Scored across 10 tools

Disambiguation4/5

Most tools have distinct purposes targeting specific resources like assets, payments, coupons, equity, and member data. However, 'assets_list' and 'member_benefit_list' both query member assets/coupons with similar descriptions, creating some ambiguity. The other tools are clearly differentiated by their specific functions.

Naming Consistency3/5

The naming follows a mostly consistent pattern of 'resource_action' (e.g., coupon_detail, equity_query), but there are notable deviations: 'assets_list' uses plural while others use singular (e.g., 'coupon_query'), and 'member_benefit_list' and 'member_benefits' have inconsistent naming despite similar domains. The pattern is readable but mixed.

Tool Count5/5

With 10 tools, the count is well-scoped for a coffee company server covering assets, payments, coupons, equity, and member management. Each tool serves a specific purpose in this domain, and the number is typical for such a scope, avoiding bloat or thin coverage.

Completeness4/5

The tool set provides good coverage for querying and managing member data, assets, coupons, equity, and payments, with clear CRUD-like operations for details and lists. Minor gaps exist, such as no explicit tools for creating or updating assets/coupons, but agents can likely work around this with the provided query tools for core workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues