Toys Hub
Browse Toys Hub: products, prices in ALL, stock, delivery and checkout links. Read-only, no sign-in.
我該用這個嗎
品質與安全性
發現項目(3)
- LOW在 get_product 中
- LOW在 check_availability 中
- LOW在 get_shipping_quote 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"catalog": {
"url": "https://toyshub.al/mcp"
}
}
}遠端端點
https://toyshub.al/mcpstreamable-http它能做什麼
工具清單
工具(7)
🟢search_products(query, category, age, max_price, in_stock_only, ...)
Search Toys Hub's catalogue by words, category, age and price. Returns name, price, availability, photo, product page and a buy-now link for each match.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Words to look for in names and descriptions (Albanian or English). Empty lists popular products."
},
"category": {
"type": "string",
"description": "Category slug from list_categories."
},
"age": {
"type": "integer",
"minimum": 0,
"maximum": 18,
"description": "Child's age in years; returns products suitable for that age."
},
"max_price": {
"type": "number",
"minimum": 0,
"description": "Highest price, in the store currency."
},
"in_stock_only": {
"type": "boolean",
"default": false
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 10
},
"lang": {
"type": "string",
"enum": [
"sq",
"en"
],
"description": "Language of names, descriptions and links: \"sq\" Albanian, \"en\" English.",
"default": "en"
}
},
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"resultCount": {
"type": "integer"
},
"products": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"type": "number"
},
"currency": {
"type": "string"
},
"availability": {
"type": "string"
},
"ageRange": {
"type": [
"string",
"null"
]
},
"category": {
"type": [
"string",
"null"
]
},
"image": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
},
"buyUrl": {
"type": "string"
}
}
}
}
},
"required": [
"resultCount",
"products"
]
}🟢get_product(slug, lang)
Everything about one product: description, price, availability, age range, brand, photos, rating, delivery and payment facts, and a buy-now link.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Product slug (from search_products)."
},
"lang": {
"type": "string",
"enum": [
"sq",
"en"
],
"description": "Language of names, descriptions and links: \"sq\" Albanian, \"en\" English.",
"default": "en"
}
},
"required": [
"slug"
],
"additionalProperties": false
}🟢list_categories(lang)
All product categories with their slug, name, product count and page.
輸入結構描述
{
"type": "object",
"properties": {
"lang": {
"type": "string",
"enum": [
"sq",
"en"
],
"description": "Language of names, descriptions and links: \"sq\" Albanian, \"en\" English.",
"default": "en"
}
},
"additionalProperties": false
}🟢get_store_info(lang)
Who the store is and how buying works: delivery countries, cost and time, payment methods, returns, currency, languages and contact.
輸入結構描述
{
"type": "object",
"properties": {
"lang": {
"type": "string",
"enum": [
"sq",
"en"
],
"description": "Language of names, descriptions and links: \"sq\" Albanian, \"en\" English.",
"default": "en"
}
},
"additionalProperties": false
}🟢check_availability(slug, quantity)
Whether a product can be ordered now in the wanted quantity.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 99,
"default": 1
}
},
"required": [
"slug"
],
"additionalProperties": false
}🟢get_shipping_quote(city, order_total)
Delivery cost and time for a city, and whether the order qualifies for free delivery.
輸入結構描述
{
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "Delivery city, e.g. Tirana or Prishtina."
},
"order_total": {
"type": "number",
"minimum": 0,
"description": "Value of the products, in the store currency."
}
},
"additionalProperties": false
}🟢create_cart_link(items, lang)
Make a link that opens Toys Hub's checkout with these products already in the cart. Give it to the shopper; they confirm and pay on the store's site. Nothing is ordered or stored by this tool.
輸入結構描述
{
"type": "object",
"properties": {
"items": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 1
}
},
"required": [
"slug"
],
"additionalProperties": false
}
},
"lang": {
"type": "string",
"enum": [
"sq",
"en"
],
"description": "Language of names, descriptions and links: \"sq\" Albanian, \"en\" English.",
"default": "en"
}
},
"required": [
"items"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"checkoutUrl": {
"type": "string"
},
"total": {
"type": "number"
},
"currency": {
"type": "string"
},
"items": {
"type": "array"
},
"skipped": {
"type": "array"
}
},
"required": [
"checkoutUrl",
"items"
]
}社群
證據