Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

complete_workout_session

Finalize workouts by saving only logged sets, leaving pending sets unlogged, and creating one linked activity summary.

Instructions

Save only logged sets, leaving pending sets unlogged. Creates one linked activity summary.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session_id": "<session_id>",
      "expected_revision": "<expected_revision>"
    },
    "name": "complete_workout_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
client_idNoStable caller-generated ID; reuse the same ID when retrying the same operation
session_idYesUser-owned resource ID returned by a read tool
occurred_atNoOptional original event time with UTC offset, for offline replay
healthkit_uuidNoOptional HealthKit UUID for the same workout
expected_revisionYesCurrent revision returned by the resource; prevents overwriting a newer edit

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

Score is being calculated.

Deploy Server

Other Tools