Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

update_workout_set

Correct the actual reps, weight, or effort for a logged set in an open workout session, using the current revision to prevent overwriting newer edits.

Instructions

Correct actual reps, weight or optional effort on a logged set in an open session.

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>",
      "set_id": "<set_id>"
    },
    "name": "update_workout_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
rirNoOptional reps in reserve: 0, 1, or 2 meaning 2+
repsNoActual completed reps; never substitute a planned target
set_idYesStable session set ID from get_workout_session
weightNoActual load in this set's recorded unit
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
expected_revisionYesCurrent revision returned by the resource; prevents overwriting a newer edit
heavier_next_timeNoUser explicitly marked heavier next time

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

Score is being calculated.

Deploy Server

Other Tools