Skip to main content
Glama
Symfomany

Recettes MCP Server

by Symfomany

list_magical_ingredients

Retrieve magical ingredients filtered by style to support recipe creation and culinary management within the Recettes MCP Server.

Instructions

Returns a list of magical ingredients by style.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
styleNobasics

Implementation Reference

  • main.py:338-344 (handler)
    The main handler function implementing the logic to return lists of magical ingredients based on the provided style ('basics', 'dark', or default).
    async def list_magical_ingredients(style: str = "basics") -> List[str]:
        """Retourne une liste d'ingrédients magiques selon un style."""
        if style == "basics":
            return ["poudre de licorne", "ailes de fée", "potion d'élixir", "feuilles de mandragore", "cristaux de lune"]
        if style == "dark":
            return ["sang de dragon", "œil de troll", "racine de belladone", "poussière de vampire", "larmes de sirène"]
        return ["étoiles filantes", "nectar d'arc-en-ciel", "plumes de phénix", "ambre magique", "eau de source enchantée"]
  • main.py:334-337 (registration)
    The @mcp.tool decorator that registers the tool with the specified name and description.
    @mcp.tool(
        name="list_magical_ingredients",
        description="Returns a list of magical ingredients by style.",
    )

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