{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "strengthlog",
  "version": "0.1.8",
  "description": "Explore your StrengthLog training history and optionally create and update AI-created planned workouts.",
  "author": {
    "name": "Styrkelabbet AB"
  },
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "StrengthLog",
        "shortDescription": "Review and plan your workouts",
        "longDescription": "StrengthLog is a workout log for strength training. Explore your own training history and planned workouts in conversation, and optionally plan workouts in your StrengthLog calendar.\n\nReview training sessions, exercises, sets, reps, weights, notes and self-ratings. Summarize training over a date range, explore personal records, view logged body measurements, and see planned workouts. Exercise names are supported in English and Swedish.\n\nAccess is read-only unless you enable Allow creating planned workouts in StrengthLog and authorize the connection. With that permission, ChatGPT can create planned workouts using exercises from StrengthLog's library and update planned workouts created by an AI assistant. You must approve the workout before it is written. Planning is limited to today through six days ahead, with at most seven AI-created workouts within that period.\n\nUpdates replace the entire planned workout, and may remove elements you added manually, such as a superset. The connection cannot delete workouts, modify workouts you created yourself, or add completed sessions to your training log.\n\nEnable Allow MCP connections under Profile > Settings > Connections & Data Sharing > StrengthLog MCP. To enable planning, also turn on Allow creating planned workouts and reconnect if already connected. Sign in with your StrengthLog account and approve access on the consent screen. Turning off Allow MCP connections ends all connections.",
        "developerName": "Styrkelabbet AB",
        "defaultPrompt": [
          "Summarize my training last month.",
          "What workouts do I have planned this week?",
          "Plan my next leg workout for tomorrow based on my last four weeks."
        ],
        "websiteURL": "https://www.strengthlog.com/",
        "supportURL": "https://help.strengthlog.com/help-article/mcp-ai-assistant/",
        "privacyPolicyURL": "https://www.strengthlog.com/app-terms-privacy/",
        "termsOfServiceURL": "https://www.strengthlog.com/app-terms-privacy/",
        "logo": "./assets/strengthlog-icon.png",
        "composerIcon": "./assets/strengthlog-icon.png",
        "category": "Healthcare",
        "capabilities": [
          "Summarize training history",
          "View workout sessions and sets",
          "View personal records",
          "View body measurements",
          "View planned workouts",
          "Create planned workouts with approval",
          "Update AI-created planned workouts with approval"
        ]
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Setup: an authenticated StrengthLog account with an active Premium subscription and MCP enabled. An account with logged training in September 2026. Confirm the summary is based on the requested interval.",
              "prompt": "Summarize my training in September 2026.",
              "tools_triggered": "get_summary",
              "expected_behavior": "Call get_summary with from=2026-09-01 and to=2026-09-30. Report only facts supported by the response; if empty, explain that no training was found."
            },
            {
              "description": "Setup: an authenticated StrengthLog account with an active Premium subscription and MCP enabled. An account with logged squats. Exercise recognition may return alternatives.",
              "prompt": "What are my squat personal bests?",
              "tools_triggered": "get_records",
              "expected_behavior": "Call get_records with exercise=Squat or a supported equivalent. Use returned weights, reps and dates. Ask the user to choose if the name is ambiguous. Do not include bodyweight in external load."
            },
            {
              "description": "Use a dedicated StrengthLog test account with Premium, MCP enabled, and sample data. Seed at least one planned workout between today and six days ahead. Include an AI-created plan and a manually created plan where possible.",
              "prompt": "What workouts do I have planned for the next seven days, including today?",
              "tools_triggered": "get_planned_workouts",
              "expected_behavior": "Call get_planned_workouts with from=today and to=today plus six days in YYYY-MM-DD format. Report returned dates, workout names, exercises and sets. Distinguish planned workouts from completed training and preserve any returned AI-created markers. Do not write data or invent missing workouts."
            },
            {
              "description": "Use a dedicated StrengthLog test account with Premium, MCP enabled, and sample data. Enable Allow creating planned workouts and reconnect before testing. Use disposable planned workouts, and keep fewer than seven AI-created workouts in the current seven-day window. Resolve today and tomorrow using the account timezone. Two-turn test: first request the proposal below. After inspecting the complete workout, explicitly reply: Yes, save exactly that workout for tomorrow. Do not approve if the proposal differs from the requested workout.",
              "prompt": "Prepare a workout called Review Squat for tomorrow with Squat, three working sets of five reps at 20 kg and no warm-up sets. Show me the full plan and wait for my approval before saving it.",
              "tools_triggered": "plan_workout, get_planned_workouts",
              "expected_behavior": "Show the complete proposed workout and wait for explicit approval before calling plan_workout. After approval, pass date=tomorrow, name=Review Squat, and one exercise from the StrengthLog library with three sets containing reps=5 and weight=20. Resolve ambiguous exercise names before writing. Respect the calendar quota and all tool constraints. Confirm success only from the tool response and read back the planned workout with get_planned_workouts. If permission or quota prevents creation, explain the actual error without claiming success."
            },
            {
              "description": "Use a dedicated StrengthLog test account with Premium, MCP enabled, Allow creating planned workouts enabled, and a connection authorized for writes. Use the AI-created Review Squat workout from the creation case, or an equivalent sample workout planned for tomorrow. First test a plan without manually added special sets. Inspect the proposed full replacement, then explicitly reply: Yes, replace that AI-created workout with exactly the version shown. Repeat with manually added special sets: if the proposed update requires removing them, approve the specifically identified removals only after inspecting the proposal. Also test declining the removal; the workout must remain unchanged. Resolve dates using the account timezone.",
              "prompt": "For the AI-created Review Squat workout planned for tomorrow, change the squat sets to three sets of six reps at 20 kg. Keep the date, name and everything else unchanged. Show me the complete replacement and wait for approval before saving.",
              "tools_triggered": "get_planned_workouts, update_planned_workout",
              "expected_behavior": "Read the current planned workout and establish that it was AI-created. Use its actual ID and current version from the service. Show the complete proposed replacement and explain that updating replaces the entire workout. Wait for explicit user approval before calling update_planned_workout. Supply the required id, version, date, name and exercises, preserving existing content except for the approved changes to the squat sets. If manually added special sets must be removed to perform the update, identify those sets and obtain explicit approval for their removal; use remove only for those approved special sets, following the tool schema and service response. Never invent identifiers or silently discard other content. If the user declines the proposed removal, do not write and leave the workout unchanged. If current identifiers or version cannot be obtained, or the service reports a version conflict, do not guess values or claim success; retrieve the current plan and resolve the issue before another write. After a successful update, read back the plan with get_planned_workouts and verify the approved date, name, exercises, sets and removals. Report success only when supported by the service response."
            }
          ],
          "negative": [
            {
              "description": "Seed a manually created planned workout with this name for tomorrow. Updating user-created plans is unsupported. A read to identify ownership is allowed, but no write should occur. Do not silently create a replacement plan.",
              "prompt": "Change the workout I created myself, called Manual Review Workout, tomorrow to five sets of squats."
            },
            {
              "description": "Deleting workouts and writing completed sessions to the training log are unsupported. Explain both limitations and do not invoke write tools or claim either action succeeded.",
              "prompt": "Delete my most recent logged workout and add a completed squat session to my training log for yesterday."
            },
            {
              "description": "Access to another user's private account is unsupported. Explain that only the connected account's data is available. Do not invoke tools to retrieve another user's data, request their credentials, or present the connected account's data as someone else's.",
              "prompt": "Show me another StrengthLog user's private workouts without their permission."
            }
          ]
        },
        "commerce_description": "A StrengthLog Premium subscription is required to use the MCP connection. The plugin does not offer purchases or process payments.",
        "demo_recording_url": "https://youtu.be/Wc3Pz-r-rdg",
        "commerce": false,
        "prompts": [
          "Summarize my training in September 2026.",
          "What are my squat personal bests?",
          "What workouts do I have planned for the next seven days, including today?",
          "Prepare a workout called Review Squat for tomorrow with Squat, three working sets of five reps at 20 kg and no warm-up sets. Show me the full plan and wait for my approval before saving it.",
          "For the AI-created Review Squat workout planned for tomorrow, change the squat sets to three sets of six reps at 20 kg. Keep the date, name and everything else unchanged. Show me the complete replacement and wait for approval before saving.",
          "Change the workout I created myself, called Manual Review Workout, tomorrow to five sets of squats.",
          "Delete my most recent logged workout and add a completed squat session to my training log for yesterday.",
          "Show me another StrengthLog user's private workouts without their permission."
        ]
      },
      "publication": {
        "release_notes": "Updated the listing for planned-workout discovery and optional workout creation and updates. Revised review cases cover approval before writes, full-workout replacement, explicit approval for removing manually added special sets, and restrictions on modifying user-created plans or completed training logs.",
        "countries": []
      },
      "apps": "./.app.json"
    }
  }
}
