Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

get_workout_program

Retrieves a complete workout program and its current revision by program ID, so you can inspect and edit the correct version before making changes.

Instructions

Get the complete program and its current revision before editing it.

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

Input Schema

NameRequiredDescriptionDefault
program_idYesUser-owned resource ID returned by a read tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.8/5.0
Behavior3/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 does usefully reveal that the response includes both the complete program and its current revision, but it says nothing about ownership/permission checks, error behavior for a non-owned or stale program_id, or the size/shape of the payload.

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?

One short sentence with the resource and the timing guidance front-loaded; there is no filler, hedging, or repetition of the tool name.

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 simple one-parameter read tool with no output schema and no annotations, the description covers what is fetched, that a revision is included, and when to call it. The remaining gap is failure/ownership behavior for an invalid program_id, which is minor at this complexity.

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% for the single required program_id, and the schema already explains it is a user-owned resource ID returned by a read tool. The description adds no further meaning about the parameter, which is acceptable given the schema does the work, but nothing is contributed beyond baseline.

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 uses a specific verb ('Get') with a specific resource ('the complete program and its current revision'), which distinguishes it from the plain 'get_workout' sibling by scoping the result to the full program plus revision state. It stops short of naming a sibling explicitly, so an agent must infer the boundary from the resource wording alone.

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

Usage Guidelines4/5

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

The clause 'before editing it' gives a clear read-before-write workflow that routes the agent to this tool ahead of update_workout_program. It does not state when-not to use it (e.g., when only a workout, not a program, is needed), so no explicit exclusions are present.

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