Skip to main content
Glama

Cocktail Recipe

CocktailRecipe
Read-only

Cocktail Recipe: Cocktail Recipe retrieves cocktail recipes by drink name or ingredient, providing measured ingredients, preparation instructions, and recommended glassware. Responses include serving categories and ingredient counts, with support for pulling random drinks. (Cost: 2 credits)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "CocktailRecipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe name of the cocktail for which you want to get the recipe (e.g., martini)
randomNoGet a random cocktail recipe
ingredientNoThe ingredient for which you want to get the cocktail recipe (e.g., gin)

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, so the safety profile is covered; the description adds genuinely new behavior in the form of a 2-credit cost and the shape of returned content (serving categories, ingredient counts). It does not address failure behavior for unknown drinks or the no-argument case, which keeps it short of a 5.

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

Conciseness4/5

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

The content is compact and front-loaded with the retrieval capability, but the opening redundantly echoes the tool name and title ("Cocktail Recipe: Cocktail Recipe retrieves...") before getting to substance.

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

Completeness3/5

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

With a full input schema, an output schema, and annotations covering safety, most of the burden is handled elsewhere; the cost note is a helpful addition. However, a tool with zero required parameters and three optional ones needs to say what happens when nothing is provided, and the description is silent on that plus on error behavior for unknown drinks.

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% with clear per-parameter descriptions and examples, so the schema already carries the parameter burden. The description restates the name/ingredient/random modes but adds no precedence rules or interaction semantics beyond what the schema says, matching the baseline 3.

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

Purpose4/5

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

The description states a specific verb and resource: retrieves cocktail recipes by drink name or ingredient, returning measured ingredients, preparation steps, and glassware, plus random-drink support. That is clear enough to distinguish it from generic siblings, but it never acknowledges the nearby RecipeGenerator sibling, so the boundary is left implicit.

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

Usage Guidelines3/5

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

Usage is implied through the two input modes (by name, by ingredient) and the random option, but there is no explicit when-to-use vs. alternatives such as RecipeGenerator, and no guidance on what happens when both name and ingredient are supplied or when no parameter is given at all despite zero required parameters.

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.