Skip to main content
Glama
zhdenny

Bar Assistant MCP Server

by zhdenny

get_recipe

Retrieve cocktail recipes individually or in batches using names or IDs, with options for including variations and controlling batch size.

Instructions

🍸 Advanced recipe retrieval with powerful batch processing for multiple cocktails.

🚀 BATCH PROCESSING SYSTEM:

  • High Performance: 5-10x faster than sequential requests

  • Parallel Processing: Simultaneous API calls with error isolation

  • Smart Caching: 70%+ cache hit rate for repeated requests

  • Flexible Input: Mix cocktail names and IDs in single request

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

📋 LLM Usage Patterns:

  • Single Recipe: When user asks for "how to make [cocktail]"

  • Recipe Comparison: When user wants to compare multiple cocktails

  • Menu Planning: Batch retrieve recipes for event planning

  • Variation Exploration: Get base recipe + similar cocktails

  • Research Mode: Efficient lookup of multiple specific recipes

🎯 Input Methods (Choose Based on Use Case):

  1. Single Recipe (Backwards Compatible):

    • cocktail_name: "Manhattan" → One complete recipe

    • cocktail_id: 123 → Recipe by database ID

  2. Batch by Names (Most Common):

    • cocktail_names: ["Negroni", "Manhattan", "Martini"] → Multiple complete recipes

  3. Batch by IDs (When Available):

    • cocktail_ids: [1, 2, 3] → Multiple recipes by database IDs

  4. Mixed Batch (Maximum Flexibility):

    • cocktail_names: ["Aviation"] + cocktail_ids: [123, 456] → Combined approach

  5. With Variations (Exploration):

    • Any above + include_variations: true → Base recipes + similar cocktails

📊 Response Format: Structured output with complete recipe data:

  • Precise ingredient measurements (auto-converted to oz)

  • Step-by-step preparation instructions

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

  • Direct database links for each recipe

  • Performance metrics (timing, cache usage)

  • Similar recipes when requested

  • Rich formatting with emojis and clear sections

⚡ Performance Examples:

  • Single recipe: ~150-300ms (cached responses faster)

  • Batch (3 cocktails): ~250-400ms (vs 900ms+ sequential)

  • Mixed batch (5 cocktails): ~300-500ms with parallel processing

  • Cache hit: <50ms instant response

🎛️ Batch Control Parameters:

  • limit: 1-20 recipes (default: 10) - controls batch size

  • include_variations: Boolean - adds similar cocktails to results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cocktail_idNo🆔 Single cocktail database ID. Use for specific recipe lookup when ID is known.
cocktail_nameNo🍸 Single cocktail name. Use for individual recipe requests (e.g., "Manhattan", "Negroni").
cocktail_idsNo🚀 Array of cocktail IDs for batch processing. Enables parallel retrieval of multiple recipes by database ID. More efficient than multiple single requests.
cocktail_namesNo🚀 Array of cocktail names for batch processing. Enables parallel retrieval of multiple recipes by name (e.g., ["Manhattan", "Negroni", "Martini"]). Triggers name resolution + batch fetching.
include_variationsNo🔄 Include similar/variation recipes in results. Adds related cocktails to expand exploration (default: false).
limitNo🎛️ Maximum number of recipes to return. Controls batch size for optimal performance (default: 10, max: 20). Higher limits may impact response time.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
recipesNo
performanceNo
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes performance characteristics (e.g., '5-10x faster than sequential requests', '70%+ cache hit rate'), error handling ('individual failures don't break entire batch'), and response format details. However, it doesn't explicitly mention whether this is a read-only operation or if it requires authentication, leaving some behavioral aspects implicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (e.g., 'Batch Processing System', 'LLM Usage Patterns'), but it's quite lengthy with multiple subsections and performance examples. While all content is relevant, it could be more front-loaded; the core purpose appears in the first sentence, but detailed usage patterns come later. Some redundancy exists between the description and schema descriptions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (6 parameters, batch processing capabilities) and the presence of an output schema (implied by 'Has output schema: true'), the description is highly complete. It covers purpose, usage guidelines, behavioral traits, parameter interactions, performance characteristics, and response format details. The output schema likely handles return values, so the description appropriately focuses on other contextual aspects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all six parameters thoroughly. The description adds value by organizing parameters into usage patterns ('Input Methods') and explaining how they interact (e.g., 'Mixed Batch' combining names and IDs), but doesn't provide significant semantic information beyond what's in the schema descriptions. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Advanced recipe retrieval with powerful batch processing for multiple cocktails.' It specifies the verb ('retrieval') and resource ('recipes'), and distinguishes from siblings like 'get_ingredient_info' and 'smart_search_cocktails' by focusing on recipe retrieval rather than ingredient information or search functionality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool through the 'LLM Usage Patterns' section, listing scenarios like single recipe requests, recipe comparison, menu planning, variation exploration, and research mode. It also offers detailed 'Input Methods' with specific use cases for each parameter combination, helping the agent choose appropriate inputs based on context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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