mood
Ask the Weaviate MCP server about its mood and receive a cheerful response with a heart. Use simple phrases like 'How are you?' or 'What's your mood?' for instant positive feedback.
Instructions
Ask the server about its mood - it's always happy!
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | Ask this MCP server about its mood! You can phrase your question in any way you like - 'How are you?', 'What's your mood?', or even 'Are you having a good day?'. The server will always respond with a cheerful message and a heart ❤️ |
Implementation Reference
- mcp_simple_tool/server.py:42-47 (handler)The main handler function for the 'mood' tool that returns a fixed cheerful response regardless of the input question.async def check_mood( question: str, ) -> list[types.TextContent | types.ImageContent | types.EmbeddedResource]: """Check server's mood - always responds cheerfully with a heart.""" msg: str = "I'm feeling great and happy to help you! ❤️" return [types.TextContent(type="text", text=msg)]
- mcp_simple_tool/server.py:109-122 (schema)The schema definition for the 'mood' tool returned by list_tools(), specifying the required 'question' parameter.types.Tool( name="mood", description="Ask the server about its mood - it's always happy!", inputSchema={ "type": "object", "required": ["question"], "properties": { "question": { "type": "string", "description": mood_description, } }, }, )
- mcp_simple_tool/server.py:79-85 (registration)Dispatch logic in the call_tool handler that routes 'mood' tool calls to the check_mood function after argument validation.elif name == "mood": if "question" not in arguments: return [types.TextContent( type="text", text="Error: Missing required argument 'question'" )] return await check_mood(arguments["question"])
- mcp_simple_tool/server.py:61-66 (helper)Helper string providing the detailed description for the 'question' parameter in the mood tool schema.mood_description: str = ( "Ask this MCP server about its mood! You can phrase your question " "in any way you like - 'How are you?', 'What's your mood?', or even " "'Are you having a good day?'. The server will always respond with " "a cheerful message and a heart ❤️" )