Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

remove_workout_session_move

Removes all upcoming sets for one session move occurrence from a workout while preserving logged sets, other moves, the saved program, and the running rest clock.

Instructions

Remove all upcoming sets of a session move occurrence from this workout only. Preserve its logged sets, other moves, the saved program and the running rest clock.

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>",
      "move_id": "<move_id>"
    },
    "name": "remove_workout_session_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
move_idYesSession move occurrence ID, not the library's numeric move ID
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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses exactly what is destroyed (upcoming sets) and enumerates what is preserved (logged sets, other moves, saved program, running rest clock). It stops short of covering reversibility, permission requirements, or what happens on a revision conflict, which the schema only partially addresses.

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?

Two sentences, zero waste. The destructive effect is front-loaded in sentence one and the preservation guarantees follow immediately, which is exactly the order an agent needs.

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

Completeness4/5

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

For a five-parameter mutation with no output schema, the description covers the essential semantic risk (partial removal that keeps logged history) and the schema covers IDs and concurrency control. A note on error/conflict behavior or whether the now-empty move occurrence remains in the session would close the remaining gap.

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 all five parameters, including the important 'move occurrence ID, not the library's numeric move ID' distinction, are already documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

The description states a specific verb and resource: removing the upcoming sets of a session move occurrence, scoped to 'this workout only'. The 'upcoming sets' vs 'logged sets' split makes it distinguishable in practice from remove_workout_session_set or archive_workout_move, though no sibling is named explicitly.

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 scope phrases ('this workout only', 'preserve its logged sets'), which tell the agent this is a targeted in-session removal rather than a program edit. However, there is no explicit when-to-use/when-not statement and no named alternative for the adjacent cases (removing a single set, removing the whole move).

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