Skip to main content
Glama
Symfomany

Recettes MCP Server

by Symfomany

invent_magical_recipe

Generate magical recipes from specified magical ingredients, with options to customize servings and magic type for culinary enchantments.

Instructions

Invents a magical recipe from magical ingredients.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
magical_ingredientsYes
servingsNo
magic_typeNoenchantement

Implementation Reference

  • main.py:287-290 (registration)
    Registers the 'invent_magical_recipe' tool with the FastMCP framework using the @mcp.tool decorator.
    @mcp.tool(
        name="invent_magical_recipe",
        description="Invents a magical recipe from magical ingredients.",
    )
  • main.py:291-313 (handler)
    The main handler function that generates a magical recipe dictionary including title, servings, ingredients, steps, magic_type, and a tips URI based on input parameters.
    async def invent_magical_recipe(
        magical_ingredients: List[str],
        servings: int = 2,
        magic_type: str = "enchantement"
    ) -> Dict[str, object]:
        """Invente une recette magique à partir d'ingrédients magiques."""
        title = f"Recette Magique de {magic_type}"
    
        steps = [
            "Mélanger les ingrédients magiques sous la lune.",
            "Chanter une incantation appropriée.",
            "Laisser infuser avec de la magie pure.",
            "Servir avec un sort de présentation.",
        ]
    
        return {
            "title": title,
            "servings": servings,
            "ingredients": magical_ingredients,
            "steps": steps,
            "magic_type": magic_type,
            "tips_uri": "recipes://tips/general",
        }

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/Symfomany/mcp-tuto'

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