Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

set_workout_set_weight

Updates the planned weight for a pending workout set and can apply the change to remaining sets of the same exercise.

Instructions

Change a pending set's planned weight, optionally including remaining sets of the same move.

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>",
      "weight": "<weight>"
    },
    "name": "set_workout_set_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
set_idYesStable session set ID from get_workout_session
weightYesActual load in this set's recorded unit
client_idNoStable caller-generated ID; reuse the same ID when retrying the same operation
remainingNoAlso update remaining pending sets of this move
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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It usefully discloses that the edit applies only to pending sets and that 'remaining' fans the change out to other sets of the same move — a real behavioral consequence. It says nothing, however, about what happens when the set is already logged, reversibility, revision-conflict behavior, or the response shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the target (pending set's planned weight) before the optional modifier (remaining sets). No filler, no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter mutation with no annotations and no output schema, this is the minimum viable: intent and propagation are clear, but eligibility failures, revision conflicts, idempotency intent, and the result of the call are left entirely to the schema and annotations that do not exist.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so set_id, weight, remaining, client_id, expected_revision, and occurred_at are all documented in the schema. The description only echoes the 'remaining' propagation semantics already stated there, adding no format, unit, or precedence detail beyond the structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('change') and resource ('a pending set's planned weight'), plus the propagation scope ('optionally including remaining sets of the same move'). The 'pending' qualifier effectively separates it from logging an actual set, but no sibling (e.g., update_workout_set, log_workout_set) is named to make the boundary explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the word 'pending' — this is the tool for editing planned weight on sets not yet performed — but there is no explicit when-to-use, when-not, or named alternative among the many sibling setters (update_workout_set, log_workout_set, remove_workout_session_set). The agent must infer the routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools