Skip to main content
Glama

Random Cocktail

random_cocktail
Read-onlyIdempotent

Get a random cocktail recipe. Returns ingredients with measurements, instructions, glassware, and garnish details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCocktail ID
nameYesCocktail name
glassYesGlassware type
categoryYesDrink category
alcoholicYesAlcoholic status
thumbnailYesThumbnail image URL
ingredientsYesList of ingredients with measurements
instructionsYesPreparation instructions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "alcoholic": {
      +      "description": "Alcoholic status",
      +      "type": "string"
      +    },
      +    "category": {
      +      "description": "Drink category",
      +      "type": "string"
      +    },
      +    "glass": {
      +      "description": "Glassware type",
      +      "type": "string"
      +    },
      +    "id": {
      +      "description": "Cocktail ID",
      +      "type": "string"
      +    },
      +    "ingredients": {
      +      "description": "List of ingredients with measurements",
      +      "items": {
      +        "properties": {
      +          "ingredient": {
      +            "description": "Ingredient name",
      +            "type": "string"
      +          },
      +          "measure": {
      +            "description": "Measurement/quantity",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "ingredient",
      +          "measure"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "instructions": {
      +      "description": "Preparation instructions",
      +      "type": "string"
      +    },
      +    "name": {
      +      "description": "Cocktail name",
      +      "type": "string"
      +    },
      +    "thumbnail": {
      +      "description": "Thumbnail image URL",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "name",
      +    "category",
      +    "alcoholic",
      +    "glass",
      +    "instructions",
      +    "thumbnail",
      +    "ingredients"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {}
      +]
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, non-destructive, and idempotent, reducing the description's burden. The description adds a brief note about return structure, but it does not disclose any additional behavioral traits (e.g., randomness not being reproducible, absence of filtering). This is adequate but not rich.

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 single, front-loaded sentence with no filler. It immediately states the action and then lists the key output details, earning every word.

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

Completeness4/5

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

Given the simplicity (no params), rich annotations, and presence of an output schema, the description covers the essentials. It could mention how randomness works or explicitly contrast with get_cocktail, but it is largely complete for this low-complexity tool.

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 tool has zero parameters, so the description is not burdened with explaining inputs. Baseline for 0 params is 4, and the description appropriately focuses on the return value.

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 action ('Get') and resource ('random cocktail recipe'), and explicitly lists the return contents (ingredients, measurements, instructions, glassware, garnish). The word 'random' distinguishes it from sibling tools like search_cocktails and get_cocktail, which imply specific lookups.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus the many cocktail-related siblings (e.g., get_cocktail, search_cocktails, cocktails_by_ingredient). No explicit or implicit hints about when 'random' is preferred over a targeted search.

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.