Offers
Merchant offers with validated discounts and no bought rankings; accepting mints a voucher code.
我該用這個嗎
品質與安全性
發現項目(2)
- HIGH
- LOW在 offers_accept 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"offers": {
"url": "https://offers.mattherbert.ca/mcp"
}
}
}遠端端點
https://offers.mattherbert.ca/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢offers_find(query, category, city, country)
Search current offers by free-text query, category, and/or place. Returns active offers with title, pricing (including the reference price a discount is measured against), validity window, and location.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search over title, description, and product"
},
"category": {
"type": "string",
"description": "Offer category, e.g. restaurant, beauty, event"
},
"city": {
"type": "string",
"description": "City name"
},
"country": {
"type": "string",
"description": "Country name or code"
}
}
}🟢offers_get(offer_id)
Get one offer by id: full details, redemption terms, validity, and the merchant's verification record (whether AITWIRE has independently measured the merchant, with accuracy statistics when it has).
輸入結構描述
{
"type": "object",
"properties": {
"offer_id": {
"type": "string",
"description": "The offer id from offers_find"
}
},
"required": [
"offer_id"
]
}🟢offers_accept(offer_id)
Claim a code offer for the user: mints a single-use redemption code they show the merchant in person. Use only once the user has decided to take a specific offer (confirm the details first). Returns the code and how to redeem it.
輸入結構描述
{
"type": "object",
"properties": {
"offer_id": {
"type": "string",
"description": "The offer id from offers_find / offers_get"
}
},
"required": [
"offer_id"
]
}建議的提示詞
offers_getoffers_getoffers_findoffers_getoffers_findoffers_find社群
證據