Skip to main content
Glama

Bar Assistant MCP Server

by zhdenny
MIT License

smart_search_cocktails

Search and discover cocktail recipes using natural language queries, ingredient filters, flavor preferences, and similarity matching to find complete drink recipes with measurements and preparation instructions.

Instructions

πŸš€ PREFERRED TOOL: Advanced cocktail search with intelligent batch processing and complete recipes.

🎯 BATCH PROCESSING SYSTEM:

  • High Performance: Parallel processing with 5-10x speed improvement

  • Smart Caching: Automatic caching for 70%+ faster repeated searches

  • Error Resilience: Individual failures don't break entire batch operations

  • Flexible Limits: Configure result count (default: 20, max: 50)

πŸ“‹ Use Cases:

  • General searches: "gin cocktails", "winter drinks", "classic cocktails"

  • Similarity queries: "cocktails like Manhattan", "similar to Negroni"

  • Ingredient-based: "cocktails with bourbon", "drinks using Campari"

  • Flavor profiles: "bitter cocktails", "sweet drinks", "herbal spirits"

  • Complex filtering: combine ingredients, ABV ranges, glass types, methods

  • Batch comparisons: Multiple ingredient searches simultaneously

πŸ”„ Batch Processing Examples:

  • Single search: {query: "Manhattan"} β†’ Complete recipe + similar cocktails

  • Multi-ingredient: {ingredient: "gin", must_include: ["vermouth", "bitters"]}

  • Similarity batch: {similar_to: "Negroni", limit: 10} β†’ 10 similar cocktails

  • Complex filter: {preferred_flavors: ["bitter"], abv_min: 25, limit: 15}

πŸ“Š Response Format: Returns structured data with complete recipes including:

  • Ingredients with precise measurements in oz (auto-converted from ml)

  • Step-by-step preparation instructions

  • Cocktail specifications (ABV, glass, method, garnish)

  • Direct links to cocktail database pages

  • Performance metrics (processing time, cache hits)

  • Similar cocktail recommendations with full recipes

⚑ Performance Features:

  • Parallel API processing for multiple results

  • Intelligent caching system with TTL management

  • Batch fetching of complete recipe details

  • Error isolation and fallback handling

Input Schema

NameRequiredDescriptionDefault
queryNoπŸ” Natural language search query (e.g., "Negroni", "gin cocktails", "bitter drinks")
similar_toNoπŸ”„ Find cocktails similar to this name (e.g., "Manhattan", "Negroni"). Triggers similarity batch processing.
similar_to_idNoπŸ†” Find cocktails similar to this ID. Use similar_to (by name) unless you have the specific ID.
ingredientNoπŸ₯ƒ Primary ingredient filter (e.g., "gin", "whiskey", "campari"). Combines with other filters for batch processing.
must_includeNoβœ… Required ingredients array. Batch processes cocktails containing ALL these ingredients.
must_excludeNo❌ Excluded ingredients array. Filters out cocktails with ANY of these ingredients.
preferred_flavorsNo🎯 Flavor profile preferences: ["bitter", "sweet", "sour", "spicy", "herbal"]. Improves batch ranking.
preferred_strengthNoπŸ’ͺ Alcohol strength preference. Filters batch results by ABV ranges.
abv_minNoπŸ“Š Minimum ABV percentage. Lower bound for batch filtering.
abv_maxNoπŸ“Š Maximum ABV percentage. Upper bound for batch filtering.
glass_typeNoπŸ₯‚ Required glassware (e.g., "coupe", "rocks", "martini"). Filters entire batch.
preparation_methodNoπŸ”§ Required method (e.g., "shake", "stir", "build"). Filters batch by technique.
limitNoπŸŽ›οΈ Maximum results to return (default: 20, max: 50). Controls batch size for optimal performance.

Input Schema (JSON Schema)

{ "properties": { "abv_max": { "description": "πŸ“Š Maximum ABV percentage. Upper bound for batch filtering.", "type": "number" }, "abv_min": { "description": "πŸ“Š Minimum ABV percentage. Lower bound for batch filtering.", "type": "number" }, "glass_type": { "description": "πŸ₯‚ Required glassware (e.g., \"coupe\", \"rocks\", \"martini\"). Filters entire batch.", "type": "string" }, "ingredient": { "description": "πŸ₯ƒ Primary ingredient filter (e.g., \"gin\", \"whiskey\", \"campari\"). Combines with other filters for batch processing.", "type": "string" }, "limit": { "default": 20, "description": "πŸŽ›οΈ Maximum results to return (default: 20, max: 50). Controls batch size for optimal performance.", "maximum": 50, "minimum": 1, "type": "number" }, "must_exclude": { "description": "❌ Excluded ingredients array. Filters out cocktails with ANY of these ingredients.", "items": { "type": "string" }, "type": "array" }, "must_include": { "description": "βœ… Required ingredients array. Batch processes cocktails containing ALL these ingredients.", "items": { "type": "string" }, "type": "array" }, "preferred_flavors": { "description": "🎯 Flavor profile preferences: [\"bitter\", \"sweet\", \"sour\", \"spicy\", \"herbal\"]. Improves batch ranking.", "items": { "type": "string" }, "type": "array" }, "preferred_strength": { "description": "πŸ’ͺ Alcohol strength preference. Filters batch results by ABV ranges.", "enum": [ "light", "medium", "strong" ], "type": "string" }, "preparation_method": { "description": "πŸ”§ Required method (e.g., \"shake\", \"stir\", \"build\"). Filters batch by technique.", "type": "string" }, "query": { "description": "πŸ” Natural language search query (e.g., \"Negroni\", \"gin cocktails\", \"bitter drinks\")", "type": "string" }, "similar_to": { "description": "πŸ”„ Find cocktails similar to this name (e.g., \"Manhattan\", \"Negroni\"). Triggers similarity batch processing.", "type": "string" }, "similar_to_id": { "description": "πŸ†” Find cocktails similar to this ID. Use similar_to (by name) unless you have the specific ID.", "type": "number" } }, "type": "object" }

Other Tools from Bar Assistant MCP Server

Related Tools

    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/zhdenny/bar-assistant-mcp-server'

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