Skip to main content
Glama

Workout Plan

render_workout

Turn a JSON workout plan into an interactive dashboard with dark theme, metrics, tips, video links, and progress tracking. Visualize weekly routines and monitor performance.

Instructions

Render an interactive workout plan with dark theme, summary metrics, expandable exercise cards with tips and video links, progress tracking, and history. Pass plan as a JSON array of week objects. IMPORTANT: Each exercise MUST include video_url with a real YouTube link to a proper form demonstration video. Also include estimated_calories, duration_minutes, and tips (array of form cue strings).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planYesJSON array: [{"week":"Week 1","days":[{"day":"Monday","focus":"Upper Body","exercises":[{"name":"Bench Press","sets":3,"reps":"10","rest":"90s","muscle_group":"chest","estimated_calories":80,"duration_minutes":8,"tips":["Keep elbows at 45 degrees","Drive feet into floor"],"video_url":"https://youtube.com/..."}]}]}]
titleNoPlan title
estimated_total_caloriesNoEstimated total calories for the full program
estimated_total_durationNoEstimated total duration in minutes
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It details rendering features and required fields (video_url, estimated_calories, etc.), but it does not explicitly state whether the tool has side effects (e.g., if progress tracking/history involves saving data) or whether it is read-only. This leaves some ambiguity, but the description adds value beyond the tool name.

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?

The description is three sentences, front-loaded with the primary purpose, and every sentence earns its place. It efficiently covers features, input format, and critical requirements without redundancy or fluff.

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?

Given no output schema, the description compensates by describing the output behavior (interactive, dark theme, expandable cards). It thoroughly covers input structure and required fields. However, it lacks details on error handling, edge cases, or specifics of progress tracking/history features, making it slightly incomplete for a tool with this many features.

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?

The schema already provides 100% coverage of all parameters with descriptions, so the baseline is 3. The description reinforces the importance of certain fields (video_url, estimated_calories, duration_minutes, tips) but does not add new semantic meaning beyond what's in the schema. It does highlight a validation requirement, but that's not new parameter semantics.

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

Purpose5/5

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

The description clearly states a specific verb ('Render') and resource ('interactive workout plan') with detailed features (dark theme, summary metrics, expandable cards, progress tracking). It is immediately distinguishable from sibling render_* tools like render_budget or render_comparison, which target different domains.

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?

It provides explicit input instructions: 'Pass plan as a JSON array of week objects.' This gives clear context on usage. However, it does not explicitly mention when to use this tool versus alternatives like save_workout_log or get_workout_log, nor does it state exclusions, so it stops short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rushildharhakim/mcp-apps-starter-kit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server