Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

archive_workout_program

Archive a saved workout program to retain historical sessions, using the program ID and expected revision to prevent overwriting newer edits.

Instructions

Archive a saved program; retain historical sessions.

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": {
      "program_id": "<program_id>",
      "expected_revision": "<expected_revision>"
    },
    "name": "archive_workout_program"
  }
}

Input Schema

NameRequiredDescriptionDefault
program_idYesUser-owned resource ID returned by a read tool
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.3/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 behavioral burden. It discloses one important trait — that historical sessions survive the archive — but says nothing about reversibility (can the program be unarchived?), effect on in-progress or scheduled sessions, required ownership/permissions, or the response.

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 short sentence with the verb front-loaded and the data-retention caveat immediately after. Nothing is redundant or padded.

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 state-mutating tool with no annotations and no output schema, the description covers the core effect but omits the questions an agent would ask before calling: is archiving reversible, what happens to active sessions, and what does the call return? Adequate, but with clear gaps.

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% and both parameters document their own meaning, including the optimistic-concurrency role of expected_revision. The description adds no additional semantics about program_id or expected_revision, so the schema does all the work (baseline 3).

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?

Uses a specific verb ('Archive') on a specific resource ('a saved program'), so the operation is unambiguous. It stops short of differentiating itself from sibling mutations like update_workout_program or delete_workout, relying on the word 'archive' alone to carry that distinction.

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 clause 'retain historical sessions' implies the intended use case (retire a program without losing session history), which hints at an archive-vs-delete choice. However, no alternative tool is named and there is no explicit statement of when to prefer this over updating or deleting.

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