BestYou OpenClaw Playground

Definitive setup guide, connection test, tool playground, and prompt scaffold for BestYou OpenClaw integration.

1) Setup Guide

Step 1: Get your API key

In BestYou iOS: More → Connected Apps → OpenClaw → Generate Key

Key format: by_mcp_live_...

Step 2: Set env var

export BESTYOU_API_KEY="by_mcp_live_..."

Step 3: Add MCP server to openclaw.json

{
  "mcpServers": {
    "bestyou": {
      "url": "https://mcp.bestyou.ai/mcp",
      "headers": {
        "Authorization": "Bearer ${BESTYOU_API_KEY}"
      }
    }
  }
}

Step 4: Restart gateway

After config changes, restart your OpenClaw gateway before testing tools.

Session-only in browser memory. Not persisted.
UTC date (YYYY-MM-DD). Injected into date-aware tools.
Used by plan tools that tailor actions to context.
UTC week-end date (YYYY-MM-DD). Injected into get_weekly_summary if omitted in args.

Security note: keep scopes least-privilege and rotate compromised keys immediately.

2) Connection Test

Not tested

3) Tool Runner

Quick Calls

4) Tool Output

Responses render here for both Quick Calls and Tool Runner requests.

5) Example Conversations

Morning check-in

User: "What's my day look like?"

Tools: get_account_link_status → get_daily_briefing → get_todays_action_plan → get_progress_snapshot

Request payload (daily brief)
{
  "date": "2026-03-09"
}
Example response highlights
{
  "headline": "Inconsistent sleep schedule impacts recovery and readiness.",
  "readinessScore": 47,
  "topActions": [
    "Stabilize bedtime tonight",
    "Increase fluid intake today"
  ]
}

Agent summary: "Readiness is 47 and recovery is the limiter. Prioritize consistent bedtime and hydration today."

Log a meal

User: "Just had a chicken burrito bowl"

Tools: analyze_meal_text

Request payload
{
  "description": "chicken burrito bowl with brown rice and guacamole",
  "timestamp": "2026-03-09T12:30:00-06:00"
}
Example response highlights
{
  "estimatedCalories": 740,
  "protein_g": 44,
  "carbs_g": 68,
  "fat_g": 31
}

Agent summary: "Solid protein intake. You're moderate-to-high carb and fat here, so the next meal should bias lean protein and vegetables."

Progress snapshot

User: "How am I trending across domains?"

Tools: get_progress_snapshot

Request payload
{
  "date": "2026-03-09"
}
Example response highlights
{
  "domains": [
    { "name": "sleep", "score": 68 },
    { "name": "nutrition", "score": 61 }
  ]
}

Agent summary: "Sleep is stable, nutrition is lagging. Focus on meal consistency and hydration today."

Quick workout

User: "20-minute bodyweight strength workout"

Tools: generate_workout

Request payload (generate)
{
  "type": "strength",
  "duration": 20,
  "equipment": ["bodyweight"],
  "experienceLevel": "Intermediate",
  "goal": "General strength"
}
Example response highlights
{
  "sessionName": "20-Min Strength Builder",
  "blocks": ["Warmup", "Circuit A", "Circuit B", "Cooldown"]
}

Agent summary: "Here's your 20-minute strength session. After you finish, I can log completion and notes."

6) Agent Prompt Scaffold

Paste into your agent's SKILL.md or system prompt.

7) BestYou Pro Offer

Get started for free: bestyou.ai/openclaw-setup Privacy: processed insights only; raw HealthKit/sensor data never leaves your device