Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

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鉴权说明

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/sawzhang/coffee-company-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server