Skip to main content
Glama

get_today_resilience_data

Retrieve today's resilience metrics from Oura Ring data to monitor stress recovery and physical adaptation for health analysis.

Instructions

Get resilience data for today. Returns: Dictionary containing resilience data for today

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_today_resilience_data' MCP tool. Decorated with @mcp.tool() for automatic registration. Retrieves today's resilience data using the Oura client, with error handling for uninitialized client.
    @mcp.tool() def get_today_resilience_data() -> dict[str, Any]: """ Get resilience data for today. Returns: Dictionary containing resilience data for today """ if oura_client is None: return {"error": "Oura client not initialized. Please provide an access token."} try: today = date.today() return oura_client.get_resilience_data(today, today) except Exception as e: return {"error": str(e)}

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/YuzeHao2023/MCP-oura'

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