@mcp.tool()
def get_weather(location: str) -> dict:
"""Get the current weather for a specified location."""
# (In a real implementation, call an external weather service)
return {
"temperature": 72,
"conditions": "Sunny",
"humidity": 45
}