rakentaja-outlet
Finnish e-commerce for electrical & construction supplies. Read-only MCP with 4 tools.
사용해야 할까요
품질 및 안전성
발견 사항 (4)
- HIGH
- MEDIUMsearch_catalog에서
- MEDIUMsearch_shop_catalog에서
- MEDIUMcreate_cart_link에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"rakentaja-outlet": {
"url": "https://rakentajaoutlet.fi/mcp"
}
}
}원격 엔드포인트
https://rakentajaoutlet.fi/mcpstreamable-http할 수 있는 일
도구 목록
도구 (5)
🟢search_catalog(query, category_id, in_stock_only, sort, limit, ...)
Search Rakentaja Outlet product catalog. Rakentaja Outlet (rakentajaoutlet.fi) is a Finnish online store specializing in electrical and construction supplies at outlet prices (~4000 products). All prices in EUR including 25.5% Finnish VAT. Args: query: Free-text search — matches product name, SKU, EAN code, or category name. Leave empty to browse without a search term. category_id: Filter to products in a specific category (integer ID). The full list of categories is available at https://rakentajaoutlet.fi/api/categories — this is a public REST endpoint, not an MCP tool. Combines with query if both given. in_stock_only: If True (default), only show products currently in stock (either in own warehouse or at supplier). Set to False to include out-of-stock products in results. sort: Sort order — "name" (default), "price_asc", "price_desc", or "newest". Ignored when query is given; search results are ordered by relevance instead. limit: Maximum products to return (1-50, default 10). Use a small limit for interactive queries; larger for bulk listing. page: Page number for paginated results (default 1). Combine with `limit` to page through results larger than the limit. Returns: JSON with keys: - products: list of product summaries with: - id, name, category, brand, sku, ean, unit - price_gross (incl. 25.5% VAT), price_net, currency - description (max 200 chars, description_truncated=true for longer) - available_for_order: boolean — can the customer place an order? (TRUE if in own stock OR supplier stock available) - availability_status: "in_stock" | "supplier_stock" | "out_of_stock" - estimated_delivery_min_days / _max_days: delivery estimate (or null) - in_stock, stock_quantity, supplier_in_stock, supplier_stock_quantity (raw fields — prefer available_for_order + availability_status) - product_url, image_url - total: total matching products across all pages - page: current page number - per_page: products per page (== limit) - total_pages: total pages available - disclaimer: legal notice that prices are indicative and confirmed at checkout Notes: - Prices include Finnish 25.5% VAT (price_gross) and net price (price_net) is shown for VAT-registered business buyers. - product_url is a direct link to the product page — pass this to the user for viewing or adding to cart. - Use `get_product_details(id)` for full description and stock check.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"default": "",
"description": "Free-text search term",
"type": "string"
},
"category_id": {
"anyOf": [
{
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Category ID (see https://rakentajaoutlet.fi/api/categories for the list)"
},
"in_stock_only": {
"default": true,
"type": "boolean"
},
"sort": {
"default": "name",
"enum": [
"name",
"price_asc",
"price_desc",
"newest"
],
"type": "string"
},
"limit": {
"default": 10,
"description": "Max products to return (1-50)",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"page": {
"default": 1,
"description": "Page number (>= 1)",
"minimum": 1,
"type": "integer"
}
}
}출력 스키마
{
"type": "object",
"properties": {
"products": {
"items": {
"$ref": "#/$defs/ProductSummary"
},
"title": "Products",
"type": "array"
},
"total": {
"description": "Total matching products across all pages",
"title": "Total",
"type": "integer"
},
"page": {
"title": "Page",
"type": "integer"
},
"per_page": {
"title": "Per Page",
"type": "integer"
},
"total_pages": {
"title": "Total Pages",
"type": "integer"
},
"disclaimer": {
"title": "Disclaimer",
"type": "string"
},
"suggested_queries": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Alternative queries that would return results — populated when total=0",
"title": "Suggested Queries"
}
},
"required": [
"products",
"total",
"page",
"per_page",
"total_pages",
"disclaimer"
],
"$defs": {
"ProductSummary": {
"description": "search_catalog-tulosten yksi tuote (lyhyt description).",
"properties": {
"id": {
"description": "Product ID (use with get_product_details for full info)",
"title": "Id",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Sku"
},
"ean": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ean"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Brand"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Category"
},
"price_gross": {
"description": "Gross price incl. 25.5% Finnish VAT",
"title": "Price Gross",
"type": "number"
},
"price_net": {
"description": "Net price for VAT-registered business buyers",
"title": "Price Net",
"type": "number"
},
"vat_percent": {
"default": 25.5,
"title": "Vat Percent",
"type": "number"
},
"currency": {
"const": "EUR",
"default": "EUR",
"title": "Currency",
"type": "string"
},
"available_for_order": {
"description": "Whether customer can order this — TRUE if in own stock OR supplier stock available",
"title": "Available For Order",
"type": "boolean"
},
"availability_status": {
"description": "Detailed status: in_stock = own warehouse, supplier_stock = from supplier",
"enum": [
"in_stock",
"supplier_stock",
"out_of_stock"
],
"title": "Availability Status",
"type": "string"
},
"estimated_delivery_min_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Nopein toimitusarvio arkipäivinä (null = ei saatavilla)",
"title": "Estimated Delivery Min Days"
},
"estimated_delivery_max_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Hitain toimitusarvio arkipäivinä (null = ei saatavilla)",
"title": "Estimated Delivery Max Days"
},
"in_stock": {
"title": "In Stock",
"type": "boolean"
},
"stock_quantity": {
"title": "Stock Quantity",
"type": "integer"
},
"supplier_in_stock": {
"title": "Supplier In Stock",
"type": "boolean"
},
"supplier_stock_quantity": {
"title": "Supplier Stock Quantity",
"type": "integer"
},
"weight_kg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Weight Kg"
},
"unit": {
"default": "kpl",
"title": "Unit",
"type": "string"
},
"image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Image Url"
},
"product_url": {
"description": "Direct link to product page — pass this to the user",
"title": "Product Url",
"type": "string"
},
"description": {
"description": "Product description (max 200 chars — check description_truncated for full text availability)",
"title": "Description",
"type": "string"
},
"description_truncated": {
"default": false,
"description": "If TRUE, full description is longer — use get_product_details to fetch it",
"title": "Description Truncated",
"type": "boolean"
}
},
"required": [
"id",
"name",
"price_gross",
"price_net",
"available_for_order",
"availability_status",
"in_stock",
"stock_quantity",
"supplier_in_stock",
"supplier_stock_quantity",
"product_url",
"description"
],
"title": "ProductSummary",
"type": "object"
}
},
"description": "Return type for search_catalog.",
"title": "SearchCatalogResult"
}🟢search_shop_catalog(query, category_id, in_stock_only, sort, limit, ...)
Search Rakentaja Outlet product catalog. Rakentaja Outlet (rakentajaoutlet.fi) is a Finnish online store specializing in electrical and construction supplies at outlet prices (~4000 products). All prices in EUR including 25.5% Finnish VAT. Args: query: Free-text search — matches product name, SKU, EAN code, or category name. Leave empty to browse without a search term. category_id: Filter to products in a specific category (integer ID). The full list of categories is available at https://rakentajaoutlet.fi/api/categories — this is a public REST endpoint, not an MCP tool. Combines with query if both given. in_stock_only: If True (default), only show products currently in stock (either in own warehouse or at supplier). Set to False to include out-of-stock products in results. sort: Sort order — "name" (default), "price_asc", "price_desc", or "newest". Ignored when query is given; search results are ordered by relevance instead. limit: Maximum products to return (1-50, default 10). Use a small limit for interactive queries; larger for bulk listing. page: Page number for paginated results (default 1). Combine with `limit` to page through results larger than the limit. Returns: JSON with keys: - products: list of product summaries with: - id, name, category, brand, sku, ean, unit - price_gross (incl. 25.5% VAT), price_net, currency - description (max 200 chars, description_truncated=true for longer) - available_for_order: boolean — can the customer place an order? (TRUE if in own stock OR supplier stock available) - availability_status: "in_stock" | "supplier_stock" | "out_of_stock" - estimated_delivery_min_days / _max_days: delivery estimate (or null) - in_stock, stock_quantity, supplier_in_stock, supplier_stock_quantity (raw fields — prefer available_for_order + availability_status) - product_url, image_url - total: total matching products across all pages - page: current page number - per_page: products per page (== limit) - total_pages: total pages available - disclaimer: legal notice that prices are indicative and confirmed at checkout Notes: - Prices include Finnish 25.5% VAT (price_gross) and net price (price_net) is shown for VAT-registered business buyers. - product_url is a direct link to the product page — pass this to the user for viewing or adding to cart. - Use `get_product_details(id)` for full description and stock check.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"default": "",
"description": "Free-text search term",
"type": "string"
},
"category_id": {
"anyOf": [
{
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Category ID (see https://rakentajaoutlet.fi/api/categories for the list)"
},
"in_stock_only": {
"default": true,
"type": "boolean"
},
"sort": {
"default": "name",
"enum": [
"name",
"price_asc",
"price_desc",
"newest"
],
"type": "string"
},
"limit": {
"default": 10,
"description": "Max products to return (1-50)",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"page": {
"default": 1,
"description": "Page number (>= 1)",
"minimum": 1,
"type": "integer"
}
}
}출력 스키마
{
"type": "object",
"properties": {
"products": {
"items": {
"$ref": "#/$defs/ProductSummary"
},
"title": "Products",
"type": "array"
},
"total": {
"description": "Total matching products across all pages",
"title": "Total",
"type": "integer"
},
"page": {
"title": "Page",
"type": "integer"
},
"per_page": {
"title": "Per Page",
"type": "integer"
},
"total_pages": {
"title": "Total Pages",
"type": "integer"
},
"disclaimer": {
"title": "Disclaimer",
"type": "string"
},
"suggested_queries": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Alternative queries that would return results — populated when total=0",
"title": "Suggested Queries"
}
},
"required": [
"products",
"total",
"page",
"per_page",
"total_pages",
"disclaimer"
],
"$defs": {
"ProductSummary": {
"description": "search_catalog-tulosten yksi tuote (lyhyt description).",
"properties": {
"id": {
"description": "Product ID (use with get_product_details for full info)",
"title": "Id",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Sku"
},
"ean": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ean"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Brand"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Category"
},
"price_gross": {
"description": "Gross price incl. 25.5% Finnish VAT",
"title": "Price Gross",
"type": "number"
},
"price_net": {
"description": "Net price for VAT-registered business buyers",
"title": "Price Net",
"type": "number"
},
"vat_percent": {
"default": 25.5,
"title": "Vat Percent",
"type": "number"
},
"currency": {
"const": "EUR",
"default": "EUR",
"title": "Currency",
"type": "string"
},
"available_for_order": {
"description": "Whether customer can order this — TRUE if in own stock OR supplier stock available",
"title": "Available For Order",
"type": "boolean"
},
"availability_status": {
"description": "Detailed status: in_stock = own warehouse, supplier_stock = from supplier",
"enum": [
"in_stock",
"supplier_stock",
"out_of_stock"
],
"title": "Availability Status",
"type": "string"
},
"estimated_delivery_min_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Nopein toimitusarvio arkipäivinä (null = ei saatavilla)",
"title": "Estimated Delivery Min Days"
},
"estimated_delivery_max_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Hitain toimitusarvio arkipäivinä (null = ei saatavilla)",
"title": "Estimated Delivery Max Days"
},
"in_stock": {
"title": "In Stock",
"type": "boolean"
},
"stock_quantity": {
"title": "Stock Quantity",
"type": "integer"
},
"supplier_in_stock": {
"title": "Supplier In Stock",
"type": "boolean"
},
"supplier_stock_quantity": {
"title": "Supplier Stock Quantity",
"type": "integer"
},
"weight_kg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Weight Kg"
},
"unit": {
"default": "kpl",
"title": "Unit",
"type": "string"
},
"image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Image Url"
},
"product_url": {
"description": "Direct link to product page — pass this to the user",
"title": "Product Url",
"type": "string"
},
"description": {
"description": "Product description (max 200 chars — check description_truncated for full text availability)",
"title": "Description",
"type": "string"
},
"description_truncated": {
"default": false,
"description": "If TRUE, full description is longer — use get_product_details to fetch it",
"title": "Description Truncated",
"type": "boolean"
}
},
"required": [
"id",
"name",
"price_gross",
"price_net",
"available_for_order",
"availability_status",
"in_stock",
"stock_quantity",
"supplier_in_stock",
"supplier_stock_quantity",
"product_url",
"description"
],
"title": "ProductSummary",
"type": "object"
}
},
"description": "Return type for search_catalog.",
"title": "SearchCatalogResult"
}🟢get_product_details(product_id)
Get full details for a single Rakentaja Outlet product. Fetches both the product record and a real-time availability check in parallel. Use this after `search_catalog` returns a product ID to show the user complete information (full description, all images, current stock). Args: product_id: Product ID from `search_catalog` results (integer). Returns: JSON with product details: - id, name, sku, ean, brand, category - description (full HTML/text), description_short - price_gross (incl. 25.5% VAT), price_net, vat_percent, currency - available_for_order (bool), availability_status ("in_stock" | "supplier_stock" | "out_of_stock"), estimated_delivery_min_days, estimated_delivery_max_days - in_stock, stock_quantity, supplier_in_stock, supplier_stock_quantity (raw fields — prefer available_for_order + availability_status) - weight_kg, unit - product_url (direct link to product page) - image_url (main image), images (list of all image URLs) - availability: fresh stock check result (may be more current than stock_quantity if inventory changed since catalog was cached) - disclaimer: legal notice that prices are indicative On error, raises MCP ToolError → response has isError:true with structured JSON: {"error": {"code": "not_found" | "invalid_argument" | "backend_unavailable", "message": "...", "field": null|str, "retryable": true|false}}. The StructuredErrorMiddleware ensures the format is consistent across all tools. Notes: - Prices include Finnish 25.5% VAT. Business buyers see price_net for VAT-registered net price. - Pass `product_url` to the user for viewing or adding to cart — do not attempt to add to cart via this tool (use create_cart_link).
입력 스키마
{
"type": "object",
"properties": {
"product_id": {
"description": "Product ID from search_catalog results",
"minimum": 1,
"type": "integer"
}
},
"required": [
"product_id"
]
}출력 스키마
{
"type": "object",
"properties": {
"id": {
"description": "Product ID (use with get_product_details for full info)",
"title": "Id",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Sku"
},
"ean": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ean"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Brand"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Category"
},
"price_gross": {
"description": "Gross price incl. 25.5% Finnish VAT",
"title": "Price Gross",
"type": "number"
},
"price_net": {
"description": "Net price for VAT-registered business buyers",
"title": "Price Net",
"type": "number"
},
"vat_percent": {
"default": 25.5,
"title": "Vat Percent",
"type": "number"
},
"currency": {
"const": "EUR",
"default": "EUR",
"title": "Currency",
"type": "string"
},
"available_for_order": {
"description": "Whether customer can order this — TRUE if in own stock OR supplier stock available",
"title": "Available For Order",
"type": "boolean"
},
"availability_status": {
"description": "Detailed status: in_stock = own warehouse, supplier_stock = from supplier",
"enum": [
"in_stock",
"supplier_stock",
"out_of_stock"
],
"title": "Availability Status",
"type": "string"
},
"estimated_delivery_min_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Nopein toimitusarvio arkipäivinä (null = ei saatavilla)",
"title": "Estimated Delivery Min Days"
},
"estimated_delivery_max_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Hitain toimitusarvio arkipäivinä (null = ei saatavilla)",
"title": "Estimated Delivery Max Days"
},
"in_stock": {
"title": "In Stock",
"type": "boolean"
},
"stock_quantity": {
"title": "Stock Quantity",
"type": "integer"
},
"supplier_in_stock": {
"title": "Supplier In Stock",
"type": "boolean"
},
"supplier_stock_quantity": {
"title": "Supplier Stock Quantity",
"type": "integer"
},
"weight_kg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Weight Kg"
},
"unit": {
"default": "kpl",
"title": "Unit",
"type": "string"
},
"image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Image Url"
},
"product_url": {
"description": "Direct link to product page — pass this to the user",
"title": "Product Url",
"type": "string"
},
"description": {
"description": "Full product description (may contain HTML)",
"title": "Description",
"type": "string"
},
"description_short": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description Short"
},
"images": {
"description": "All product image URLs",
"items": {
"type": "string"
},
"title": "Images",
"type": "array"
},
"availability": {
"anyOf": [
{
"$ref": "#/$defs/AvailabilityInfo"
},
{
"type": "null"
}
],
"default": null,
"description": "Fresh availability check (may be more current than stock_quantity)"
},
"disclaimer": {
"title": "Disclaimer",
"type": "string"
}
},
"required": [
"id",
"name",
"price_gross",
"price_net",
"available_for_order",
"availability_status",
"in_stock",
"stock_quantity",
"supplier_in_stock",
"supplier_stock_quantity",
"product_url",
"description",
"disclaimer"
],
"$defs": {
"AvailabilityInfo": {
"description": "Reaaliaikainen saatavuus (get_product_details:in `availability`-kentässä).",
"properties": {
"product_id": {
"title": "Product Id",
"type": "integer"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"in_stock": {
"title": "In Stock",
"type": "boolean"
},
"stock_quantity": {
"title": "Stock Quantity",
"type": "integer"
},
"supplier_in_stock": {
"title": "Supplier In Stock",
"type": "boolean"
},
"supplier_stock_quantity": {
"title": "Supplier Stock Quantity",
"type": "integer"
},
"unit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Unit"
}
},
"required": [
"product_id",
"in_stock",
"stock_quantity",
"supplier_in_stock",
"supplier_stock_quantity"
],
"title": "AvailabilityInfo",
"type": "object"
}
},
"description": "get_product_details -tuloksen tuote (täysi description + kuvat + availability).",
"title": "ProductDetails"
}🟢create_cart_link(items, checkout)
Create a pre-filled shopping cart URL for Rakentaja Outlet. Given a list of product IDs and quantities, returns a URL that the user can open in their browser. When they open the link, the items are added to their browser cart session, and they are redirected either to the cart page (default) or directly to checkout. This tool is FULLY SIDE-EFFECT-FREE: it does not create the cart on the server, does not touch any database, and does not modify any state. The cart materializes only when the user chooses to open the URL. This is a deliberate security design — the user always approves cart contents visibly before the state change happens. Args: items: List of {"product_id": int, "quantity": int} dicts. Maximum 20 items, maximum quantity 50 per line. Use `search_catalog` + `get_product_details` to find IDs first. checkout: If True, the link takes the user directly to checkout (skipping the cart review page). Default False — user sees the cart first, which is safer and more transparent. Returns: JSON with: - url: the browser URL to give the user. Contains all cart items as query parameters. Opening it will populate their cart. - items: deduplicated items list that will be added (same product_id appearing multiple times is merged with combined quantity) - total_lines: number of unique products in the link - total_quantity: sum of quantities across all products - checkout: echoed checkout flag - disclaimer: legal notice about approval flow On error, raises MCP ToolError → response has isError:true with structured JSON: {"error": {"code": "empty_items" | "too_many_items" | "invalid_item" | "quantity_too_large" | "products_not_found" | "backend_unavailable", "message": "...", "field": null, "retryable": true|false}}. The StructuredErrorMiddleware ensures consistent format across all tools. Example: create_cart_link(items=[ {"product_id": 9437, "quantity": 2}, {"product_id": 4927, "quantity": 1}, ]) → {"url": "https://rakentajaoutlet.fi/mcp-backend/lisaa-kori?items=9437:2,4927:1", ...}
입력 스키마
{
"type": "object",
"properties": {
"items": {
"description": "Cart items (1-20 lines)",
"items": {
"description": "One line in the cart URL.",
"properties": {
"product_id": {
"description": "Product ID from search_catalog results",
"minimum": 1,
"type": "integer"
},
"quantity": {
"description": "Quantity to add (1-50)",
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"required": [
"product_id",
"quantity"
],
"type": "object"
},
"maxItems": 20,
"minItems": 1,
"type": "array"
},
"checkout": {
"default": false,
"description": "If True, link goes directly to checkout; otherwise to cart review page",
"type": "boolean"
}
},
"required": [
"items"
]
}출력 스키마
{
"type": "object",
"properties": {
"url": {
"description": "Browser URL to give the user — opening it populates their cart",
"title": "Url",
"type": "string"
},
"items": {
"description": "Deduplicated cart items",
"items": {
"$ref": "#/$defs/CartItemRef"
},
"title": "Items",
"type": "array"
},
"total_lines": {
"description": "Number of unique products in link",
"title": "Total Lines",
"type": "integer"
},
"total_quantity": {
"description": "Sum of quantities across all products",
"title": "Total Quantity",
"type": "integer"
},
"checkout": {
"description": "If true, link takes user directly to checkout",
"title": "Checkout",
"type": "boolean"
},
"disclaimer": {
"title": "Disclaimer",
"type": "string"
}
},
"required": [
"url",
"items",
"total_lines",
"total_quantity",
"checkout",
"disclaimer"
],
"$defs": {
"CartItemRef": {
"description": "Yksi kori-linkin tuoterivi (normalisoitu, deduplikoitu).",
"properties": {
"product_id": {
"title": "Product Id",
"type": "integer"
},
"quantity": {
"title": "Quantity",
"type": "integer"
}
},
"required": [
"product_id",
"quantity"
],
"title": "CartItemRef",
"type": "object"
}
},
"description": "Return type for create_cart_link (successful case).",
"title": "CreateCartLinkResult"
}🟢search_shop_policies_and_faqs(query, limit)
Search Rakentaja Outlet shop policies, FAQ, and store info. Searches across 8 pages: About Us (tietoa-meista), FAQ (usein-kysyttya), Delivery terms (toimitusehdot), Privacy Policy (tietosuoja), Terms of Use (kayttoehdot), Return Form (peruutuslomake), Payment Methods (maksutavat), AI Agent Guide (ai). Use this tool when the user asks about: - Delivery times and costs ("toimitusaika", "toimituskulu") - Returns and refunds ("palautus", "peruutus", "hyvitys") - Payment methods ("maksutavat", "lasku") - Privacy or GDPR ("tietosuoja", "GDPR") - Terms of use ("käyttöehdot") - Company information ("Sanere Oy", "yhteystiedot", "Y-tunnus") - Any general question about buying from the store Args: query: Free-text search term (Finnish). Case-insensitive. Leave empty to get an overview of all policy pages. limit: Maximum sections to return (1-10, default 5). Each section is a paragraph or Q&A pair; longer content is truncated. Returns: JSON with: - sections: list of matching sections, each with: - page_slug: e.g. "usein-kysyttya" - page_title: e.g. "Usein kysyttyä" - page_url: full URL to the page - heading: section heading if any - text: matching text content (may be truncated) - is_faq: True if this is a Q&A from the FAQ page - total_matches: total sections matched - query: echoed query - available_pages: list of all policy page slugs - disclaimer: legal reminder to check the full page Notes: - Policies are the authoritative source; if unclear, direct the user to the page_url for the full text. - Some FAQ entries are marked with FAQPage schema.org markup — these show up as Google rich results.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"default": "",
"description": "Free-text search term (Finnish)",
"type": "string"
},
"limit": {
"default": 5,
"description": "Max sections to return (1-10)",
"maximum": 10,
"minimum": 1,
"type": "integer"
}
}
}출력 스키마
{
"type": "object",
"properties": {
"sections": {
"description": "Matching sections (limited by `limit`)",
"items": {
"$ref": "#/$defs/PolicySection"
},
"title": "Sections",
"type": "array"
},
"total_matches": {
"description": "Total sections matched (may be > len(sections) if limited)",
"title": "Total Matches",
"type": "integer"
},
"query": {
"description": "Echoed query",
"title": "Query",
"type": "string"
},
"available_pages": {
"description": "All 8 policy page slugs",
"items": {
"type": "string"
},
"title": "Available Pages",
"type": "array"
},
"disclaimer": {
"title": "Disclaimer",
"type": "string"
}
},
"required": [
"sections",
"total_matches",
"query",
"available_pages",
"disclaimer"
],
"$defs": {
"PolicySection": {
"description": "Yksi kauppaehto/FAQ-sektio.",
"properties": {
"page_slug": {
"description": "Page identifier (e.g. \"usein-kysyttya\")",
"title": "Page Slug",
"type": "string"
},
"page_title": {
"title": "Page Title",
"type": "string"
},
"page_url": {
"title": "Page Url",
"type": "string"
},
"heading": {
"description": "Section heading or FAQ question",
"title": "Heading",
"type": "string"
},
"text": {
"description": "Section text or FAQ answer (may be truncated to 500 chars)",
"title": "Text",
"type": "string"
},
"is_faq": {
"description": "TRUE if this is a Q&A pair from the FAQ page",
"title": "Is Faq",
"type": "boolean"
}
},
"required": [
"page_slug",
"page_title",
"page_url",
"heading",
"text",
"is_faq"
],
"title": "PolicySection",
"type": "object"
}
},
"description": "Return type for search_shop_policies_and_faqs.",
"title": "PolicySearchResult"
}커뮤니티
증거