Tandoor MCP server has 13 tools with complete JSON Schema definitions and descriptions for all tools and parameters. Naming follows verb_noun conventions consistently (create_, get_, add_, update_, remove_). However, descriptions are generic and lack operational context (e.g., no guidance on when to use get_recipes vs get_recipe_details, no indication of API prerequisites). Parameter descriptions exist but are terse (avg ~40 chars vs production baseline of 72 chars). Output schemas are not documented, critical for downstream tool chaining. Error handling exists but provides no recovery guidance. No tool annotations (readOnlyHint/destructiveHint/idempotentHint) despite clear WRITE/DESTRUCTIVE risk labels in the spec.
No output schema documentation for any tool. LLMs cannot predict what fields will be returned, blocking downstream tool chaining and forcing context-costly exploratory calls.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk labels in tool definitions (READ_ONLY, WRITE, DESTRUCTIVE). Modern MCP servers must declare tool safety via annotations in inputSchema.
Document output schemas for all tools. Include example return objects and note chaining IDs (e.g., recipe_id returned by create_tandoor_recipe must be accepted by add_shopping_list_item's recipes parameter). Reference: https://arcade.dev/patterns/response-shaper
Add tool annotations to inputSchema: set 'readOnlyHint: true' for get_* tools, 'destructiveHint: true' for remove_shopping_list_item, 'idempotentHint: true' for update_* tools if they are idempotent. Modern MCP spec (2026-07-28) requires these for safe agent planning.
Expand tool descriptions to 50-150 chars, following the pattern: 'WHAT it does, WHEN to use it instead of similar tools, what it returns.' Example: 'Search recipes by name, rating, or ingredient tags. Call this to discover recipes before adding to meal plan. Returns paginated list with recipe_id and name only (call get_recipe_details for full info).'
For create_tandoor_recipe, clarify ingredients_block format: 'Multi-line string where each line is: AMOUNT UNIT FOOD [optional note]. Example: 1 cup flour\n2 large eggs\n1/2 tsp salt.' Validate and reject malformed input with specific error guidance.
For create_tandoor_meal_plan, add error guidance: 'If meal_type is invalid, call get_meal_types() first to list available types (e.g., Breakfast, Lunch, Dinner).' Make this non-retryable via error classification.
For add_shopping_list_item and get_shopping_list, clarify pagination: 'Returns max 100 items per call. Use checked filter to paginate: first call with checked="recent", then check "true" or "false" for archived items.' Document total count or next_cursor in response.
Descriptions lack operational context and decision-guidance. E.g., 'Search for recipes in Tandoor based on various criteria' does not explain when to use get_recipes vs get_recipe_details, or what 'keywords' and 'foods' refer to. Baseline for production is 50-200 chars of LLM-actionable guidance.
Parameter descriptions are minimal (avg ~40 chars). 'Optional description for the recipe' (create_tandoor_recipe) does not clarify format, length, or when it is useful. Production baseline is 72 chars average.
No error recovery guidance. Error responses (McpError) are thrown but do not indicate retryability, user-fixable vs fatal, or next steps. E.g., if meal_type does not exist, the error should suggest 'Call get_meal_types() to see available types.'
ingredients_block and instructions_block parameters expect free-form strings but lack format specification. No guidance on multi-line parsing, ingredient syntax (e.g., '1 cup flour' vs '1, cup, flour'), or instruction structure.
food_name_or_id and unit_name_or_id in add_shopping_list_item accept 'string | number' but lack guidance on resolution order. Does the API check IDs first or names? If a food is named '123', will the API treat it as an ID?
Pagination guidance missing. Tools like get_recipes and get_shopping_list accept a 'limit' parameter but do not document max limit, whether 'total' or 'next_cursor' is returned, or how to iterate large result sets.
Tool descriptions do not distinguish overlapping tools. E.g., get_recipe_details vs get_recipes both return recipes but the distinction (by ID vs by search) is buried in parameter names, not in descriptions.
get_recipesget_recipe_details
Add clear distinctions in descriptions: 'get_recipes searches by criteria and returns summary list; get_recipe_details fetches full recipe (instructions, ingredient details) for a single recipe_id. Call get_recipes first to find ID, then get_recipe_details for full info.'
For food_name_or_id resolution (add_shopping_list_item), document: 'If integer, treated as food ID; if string, resolved by exact name match first, then substring search. Returns error with suggestions if ambiguous.' Provide clear error: 'Ambiguous: "flour" matches flour, almond flour. Use food ID instead or call get_foods(query="flour") first.'
Implement input validation with actionable error messages. E.g., invalid status in update_shopping_list_item should return 'Invalid checked: got true. Must be boolean (true/false)' rather than a 400 error.
Add 'dependency hints' to parameter descriptions where tools must be called in sequence. E.g., 'recipes param accepts recipe names or IDs. If you only have a name, call get_recipes(query=name) first to get the recipe_id.'