Skip to main content
Glama

Cocktail Glass

Random cocktail

random_cocktail
Read-only

Suggest one cocktail picked uniformly at random from the catalogue (or from one family if "family" is given) and return its full recipe — ingredients with measures, preparation steps, garnish, glassware, page URL, and any film or TV appearances. Each call returns an independent draw, so repeated calls give different drinks. The "family" filter matches the family name exactly (case- and diacritic-insensitive); if no cocktail matches that family the call silently falls back to the full catalogue rather than erroring. Use this only when the user wants a suggestion or inspiration with no specific drink in mind. For a named cocktail use get_cocktail_recipe; for "anything with gin" use find_cocktails_by_ingredient; for "what can I make from what I have" use find_makeable_cocktails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
familyNoOptional drink family — one of: Spirit-Forward, Sour, Highball, Fizz & Collins, Spritz, Champagne Cocktail, Tiki, Punch, Flip & Nog, Hot Drink, Shot. Other values fall back to the full catalogue. Omit for an unrestricted random pick.

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses that draws are independent ('repeated calls give different drinks'), the family matching is exact yet case- and diacritic-insensitive, and that an unmatched family silently falls back to the full catalogue. These behaviors are not encoded in annotations and materially influence expectations.

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

Conciseness5/5

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

The description is a compact paragraph where each sentence covers a distinct aspect: action, randomness, filtering, and usage versus alternatives. No filler words or redundant restatements.

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?

The tool is simple (one optional parameter, read-only), and the description covers the full behavior: selection method, return structure, filter semantics, fallback, and use cases. The absence of an output schema is mitigated by explicitly listing the returned recipe fields.

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

Parameters4/5

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

The schema already describes the 'family' parameter and lists valid values plus the fallback. The description adds the case- and diacritic-insensitivity rule and clarifies that omitting the parameter yields an unrestricted pick. This is valuable but not a large increment because the schema already handles most of the documentation.

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 opens with 'Suggest one cocktail picked uniformly at random from the catalogue' and details the return payload (ingredients, measures, steps, garnish, glassware, URL, appearances), making the action and scope explicit. It also distinguishes this tool from siblings by naming alternative tools for specific use cases.

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 explicitly states 'Use this only when the user wants a suggestion or inspiration with no specific drink in mind,' and gives concrete alternatives: 'For a named cocktail use get_cocktail_recipe; for "anything with gin" use find_cocktails_by_ingredient; for "what can I make from what I have" use find_makeable_cocktails.' This is textbook when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.9/5.0
Disambiguation5/5

Each tool has a distinct and non-overlapping purpose: single ingredient search, multi-ingredient makeable search, movie search, recipe retrieval, random suggestion, and name search. No ambiguity between tools.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (find_cocktails_by_ingredient, find_cocktails_in_movie, find_makeable_cocktails, get_cocktail_recipe, random_cocktail, search_cocktails). The verbs clearly indicate the action and the nouns the subject.

Tool Count5/5

With 6 tools, the server is well-scoped for a cocktail discovery and recipe service. It covers all essential interactions without excessive or insufficient tools.

Completeness4/5

The tool surface covers the main workflows: ingredient-based discovery, movie-based discovery, name search, recipe retrieval, and random suggestion. A minor gap is the lack of a tool to list all cocktails without filters, but overall it's complete for a read-only catalogue.

Resources