Skip to main content
Glama
Priceminder MCP Server

Priceminder MCP Server

by haidrau

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHTTP server bind address127.0.0.1
MCP_MODENoRun mode: stdio or httpstdio
MCP_PORTNoHTTP server port8082
LOG_LEVELNoLog levelINFO
SENTINEL_TOKENYesYour authentication token (required)
SENTINEL_API_KEYNoAPI key for backend authsentinel-mvp-2026
SENTINEL_TIMEOUTNoHTTP request timeout (s)30
SENTINEL_API_BASENoBackend API base URLhttps://priceminder.online/shopee

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
get_monitor_listA

获取用户正在监控的商品列表。

用户可能的问法:

  • "我在盯哪些商品"

  • "SG 站有几个商品在监控"

  • "我的监控列表"

  • "暂停中的监控有几个"

返回监控项数组,每项包含商品名、店铺、站点、基准价、当前价、变动幅度、状态等。

get_price_summaryA

获取指定商品或所有活跃监控商品的价格摘要,包括当前价、基准价、最高/最低/均价、趋势方向。

用户可能的问法:

  • "竞品最近价格怎么样"

  • "SG 站上盯的几个商品近 2 天价格怎样"

  • "有没有降价的竞品"

如果不指定 monitor_id,返回所有活跃监控的摘要。可选指定 site(站点)和 days(天数,默认 3)。

get_price_historyA

获取指定商品的时间序列价格数据,可用于绘制价格趋势图或分析价格变化。

用户可能的问法:

  • "给我看看这个商品近 7 天的价格走势"

  • "iPhone 那个商品的价格变化记录"

  • "帮我画个价格折线图"

  • "MY 站上几个我关注的竞品今天是什么价格,给我看看趋势"

需要提供 monitor_id(必填)。可选 days(默认 7 天,最大 90 天)。

get_alertsA

获取价格预警列表,查看系统推送过的所有降价预警。支持未读筛选和站点过滤。

用户可能的问法:

  • "有没有新的降价预警"

  • "最近有哪些商品降价了"

  • "未读的预警有几条"

  • "上次推送的那个降价预警是哪个商品"

可选参数:

  • unread_only: 只返回未读预警(默认 false)

  • site: 按站点筛选

  • limit: 返回条数上限(默认 10,最大 50)

add_monitorA

添加一个新的商品到监控列表。用户需要提供一个 Shopee 商品 URL。

用户可能的问法:

  • "帮我监控这个商品 https://shopee.sg/..."

  • "把这个加到监控列表"

  • "我想盯一下这个竞品的价格"

需要提供 product_url(必填)。可选参数:

  • product_name / shop_name:商品名与店铺名(留空则由爬虫采集后填充)

  • site / currency:显式指定站点与货币;留空则从 URL 解析(支持 my/th/vn/sg/id/ph/br)

  • base_price:种子基准价(留空表示跳过)

  • check_interval:采集间隔分钟数(默认 120)

  • alert_threshold:降价阈值百分比(默认 5)

update_monitor_statusA

暂停或恢复某个监控项。

用户可能的问法:

  • "先暂停 iPhone 那个监控"

  • "恢复 Samsung 的监控"

  • "把 AirPods 的监控停掉"

需要提供 monitor_id(监控项 ID)和 status("paused" 暂停 / "active" 恢复)。

mark_alert_readC

将某条预警标记为已读,保持预警列表干净。

用户可能的问法:

  • "把这条预警标记已读"

  • "所有预警都标为已读"

  • "我已经看过那个降价通知了"

需要提供 alert_id(预警记录 ID)。

get_crawl_healthA

检查后台采集引擎的运行状态,包括采集次数、各站点采集情况、过期监控检测。

用户可能的问法:

  • "采集系统运行正常吗"

  • "今天采集了多少次"

  • "各站点的采集情况怎样"

  • "有没有监控很久没更新了"

无需参数,直接返回采集系统健康报告。数据范围为当前用户自己的监控商品。

get_monitor_overviewA

获取所有监控的总览大盘数据,包括活跃监控数、今日采集/预警、各站点分布等。

用户可能的问法:

  • "给我一个监控总览"

  • "我的所有商品监控情况怎样"

  • "大盘数据看看"

无需参数,返回监控大盘摘要。

search_my_productsA

在用户的监控列表中按关键词搜索商品(匹配商品名或店铺名)。

用户可能的问法:

  • "搜一下我监控里有没有 AirPods"

  • "Samsung 相关的商品有几个在监控"

  • "那个卖耳机的店铺叫什么来着"

需要提供 keyword(搜索关键词)。

run_smart_follow_analysisA

触发一次智能跟卖批处理分析(ALG-01~12,含 ALG-03/04/08/12 决策链),同步执行并返回结果状态。

用户可能的问法:

  • "帮我跑一次智能跟卖分析"

  • "重新分析一下 iPhone 那个自营商品"

  • "看看竞品价格变动后系统建议我怎么做"

可选参数:

  • monitor_id: 只分析指定的自营监控项;留空则分析全部自营且启用中的商品

分析完成后用 get_smart_follow_results 查看每件商品的建议动作、目标价与理由。 同步执行最长等待 180 秒;若超时,跑批可能仍在后台继续,稍后再查结果即可。

get_smart_follow_resultsA

查看最近一次智能跟卖分析的结果:每个自营商品的建议动作、目标价、理由与竞品快照。

用户可能的问法:

  • "最近一次跟卖分析结果是什么"

  • "系统建议我跟着降价吗"

  • "target 那个商品有什么建议"

可选参数:

  • monitor_id: 只看指定监控项的结果

建议动作取值:follow_price(跟进降价)/ hold_price(维持)/ observe(观察)/ raise_price(提价)/ improve_rating(优化评分)。 目标价只在 follow_price / raise_price 时有值,其他动作显示“—”。

mark_self_ownedA

把某个监控项标记为自己的商品(自营)或取消标记。只有自营商品会进入智能跟卖批处理。

用户可能的问法:

  • "这个商品是我自己卖的,标记成自营"

  • "把 iPhone 那个设为我自己的商品"

  • "取消这个商品的自营标记"

需要提供 monitor_id;is_self_owned 默认 true(false 表示取消标记)。

map_competitorsA

设置某自营商品的竞品映射。注意:这是覆盖式写入,会替换该自营商品原有的全部映射。

用户可能的问法:

  • "把这两个竞品挂到我的商品下面"

  • "我的商品对标竞品 101、102、103"

  • "清空这个商品的竞品映射"

参数:

  • self_owned_monitor_id: 自营商品监控 ID

  • competitor_monitor_ids: 竞品监控 ID 列表;传空列表表示清空映射

所有竞品 ID 必须属于当前用户,否则整次写入被拒绝(不会部分生效)。

get_competitor_mappingA

查看自己的商品与竞品的映射关系(自营监控 ID → 竞品监控 ID 列表)。

用户可能的问法:

  • "我的商品都对标了哪些竞品"

  • "看看 iPhone 那个挂了多少竞品"

  • "竞品映射表"

可选参数:

  • self_owned_monitor_id: 只查看指定自营商品;留空返回全部

create_decisionA

记录一条跟卖决策建议(状态为 suggested,14 天后到期复盘)。决策会进入统计与复盘闭环。

用户可能的问法:

  • "记一下我的决定:跟着降到 199"

  • "这个商品我打算维持价格,记一条"

  • "把系统的建议存成一条决策"

参数:

  • monitor_id: 监控项 ID

  • action: 必须是 follow_price / hold_price / observe / raise_price / improve_rating

  • target_price: 目标价(follow_price / raise_price 时建议填写)

  • reason: 留档理由(自由文本)

  • context_json: 决策时上下文(JSON 字符串;传对象会自动序列化)

返回 decision_id 与 review_at;随后可用 adopt_decision 采纳或 reject_decision 拒绝。

list_decisionsA

查看历史跟卖决策记录,可按监控项和状态筛选。

用户可能的问法:

  • "我最近做了哪些跟卖决策"

  • "有哪些建议还没处理"

  • "iPhone 那个商品的决策历史"

可选参数:

  • monitor_id: 只看指定监控项

  • status: 筛选状态 suggested(建议中)/ adopted(已采纳)/ rejected(已拒绝)

  • limit: 显示条数(默认 20)

注意:接口按创建时间倒序返回全部,MCP 侧做状态筛选与截断,头部会标明总数。

review_decisionA

对一条决策做复盘,记录执行后的实际效果。

用户可能的问法:

  • "复盘一下那条降价决策"

  • "上次跟着降价后销量涨了,记一下有效"

  • "那条建议没什么用,复盘结论写无效"

参数:

  • decision_id: 决策 ID

  • review_outcome: 复盘结论说明(必填,自由文本,例如“降价后 7 天销量 +12%”)

  • review_result: 结论枚举 effective(有效)/ ineffective(无效)/ inconclusive(不确定),可选但推荐填写

说明:review_outcome 是留档文字,review_result 是用于统计的枚举;只传文字、不传枚举时统计不会计入。

adopt_decisionA

采纳一条决策建议,状态变为 adopted。可记录实际执行价。

用户可能的问法:

  • "这条建议我采纳了"

  • "我实际执行价是 195,不是建议的 199"

  • "把那条降价建议标记为已采纳"

参数:

  • decision_id: 决策 ID

  • actual_price: 实际执行价;留空则采用建议的 target_price

注意:hold_price / observe / improve_rating 这类建议通常没有目标价,采纳后实际执行价可能仍为空。

reject_decisionA

拒绝一条决策建议,状态变为 rejected。

用户可能的问法:

  • "这条建议不采纳"

  • "拒绝那个提价建议"

  • "这条跟卖建议我不执行"

需要提供 decision_id。后端不限制状态流转(已拒绝的仍可再次采纳), MCP 侧不做前置校验,操作前请确认决策 ID 无误。

get_smart_follow_statsA

查看近 30 天智能跟卖决策统计:建议总数、采纳率、拒绝率、复盘有效率,以及按动作分组明细。

用户可能的问法:

  • "我的跟卖建议采纳率是多少"

  • "最近一个月智能跟卖效果怎么样"

  • "哪些动作建议最多"

无参数。复盘有效率只统计填写了结论枚举(effective/ineffective)的决策。

get_algorithm_listA

查看智能跟卖算法清单(ALG-01~12)及其启用状态与参数。

用户可能的问法:

  • "现在启用了哪些跟卖算法"

  • "ALG-08 的参数是多少"

  • "系统用哪些规则给我出建议"

无参数。返回 algo_id、名称、是否启用、参数(params)。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 22 tools

Disambiguation4/5

Most tools target distinct resources/actions: monitor listing, price history, alerts, smart-follow batch analysis, and the decision lifecycle are clearly separated by name and description. There is mild overlap among get_monitor_list, get_monitor_overview, and search_my_products (all return slices of the monitor list), and between get_smart_follow_results and list_decisions, but the descriptions distinguish them adequately.

Naming Consistency5/5

Every tool follows a consistent snake_case verb_noun pattern (get_*, add_*, update_*, mark_*, create_*, list_*, review_*, adopt_*, reject_*, run_*, map_*). The verb choice also reflects intent well: get_ for reads, mark_ for state flips, and lifecycle verbs for decisions.

Tool Count4/5

22 tools is on the heavy side, but the server covers several real subsystems (monitoring, pricing, alerts, crawl health, smart-follow analysis, decision lifecycle, algorithm config), so most tools earn their place. A few listings/summary tools could be consolidated to trim the surface.

Completeness3/5

The decision lifecycle is complete (create/list/review/adopt/reject) and price/alert reads are covered, but the monitor lifecycle has notable gaps: there is no delete_monitor and no way to edit monitor settings such as check_interval or alert_threshold after creation, only a status pause/resume. Alerts likewise support mark-read but not delete/dismiss.