Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

update_workout_one_off

Edit or reschedule a one-off workout by ID and current revision, updating its name, date, moves, sets, or targets while preventing overwrite of newer edits.

Instructions

Edit or reschedule an available one-off. Supply its current revision from the list.

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": {
      "one_off_id": "<one_off_id>",
      "expected_revision": "<expected_revision>"
    },
    "name": "update_workout_one_off"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName shown in the Lift workout picker
movesNoComplete ordered move list and set targets; reuse library move IDs when available
one_off_idYesUser-owned resource ID returned by a read tool
scheduled_onNoDate in the user's DataBody account timezone, YYYY-MM-DD
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

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It says the tool edits or reschedules, but never states whether the move list is replaced wholesale, what happens on a revision conflict, what permissions are needed, or what the call returns.

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

Conciseness4/5

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

Two short, front-loaded sentences with no filler; the verb and resource come first and the prerequisite second. It is tight, though the extreme brevity leaves the second sentence doing more implicit work than it states.

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

Completeness2/5

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

For a nested, multi-parameter mutation with no annotations and no output schema, the description is thin. It omits the most decision-relevant behavior: whether supplying 'moves' overwrites the entire ordered list, how revision mismatches surface, and what a successful edit yields.

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 the schema already documents all five parameters in detail, including expected_revision's conflict-prevention role. The description adds only a light hint about sourcing the revision from the list, which is marginal beyond the schema.

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 pair ('Edit or reschedule') against a specific resource ('an available one-off'), so the agent knows the operation targets an existing one-off rather than creating or removing one. It does not explicitly contrast with nearby siblings such as update_workout, but the resource scope is unambiguous enough to act on.

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?

The second sentence implies a prerequisite workflow: obtain the current revision 'from the list', which points an agent toward the list tool before calling. However, there is no explicit guidance on when to use this versus update_workout or update_workout_move, and no stated exclusions.

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