Skip to main content
Glama
diecoscai

@diecoscai/hevy-mcp

by diecoscai

hevy_update_routine

Update a Hevy routine by sending a full replacement. Omitted fields are dropped; use dry-run mode to preview changes before writing.

Instructions

Full replace of a routine (PUT /v1/routines/{id}). Omitted fields are dropped — to preserve a field, send it back unchanged. Each exercise needs an exercise_template_id (find via hevy_list_exercise_templates). Note: folder_id is NOT accepted on update; the Hevy API rejects it with 400. The routine's folder cannot be changed through this tool. Dry-run by default: returns { dry_run: true, executed: false, ... } unless HEVY_MCP_ALLOW_WRITES=1 is set on the server process.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routineYes
routineIdYes
Behavior5/5

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

With no annotations, the description discloses critical behavioral traits: the full-replace destructive nature, the rejection of folder_id (400 error), and the dry-run safety mechanism. No contradictions.

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?

Three sentences efficiently cover purpose, key constraints, and safety behavior. Critical information is front-loaded. No wasted words.

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?

Covers dry-run behavior, auth env var, and the folder_id limitation. No output schema exists, but description does not specify the success response format (probably returns updated routine). Slight gap, but non-critical.

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 0%, but description adds value by explaining that exercise_template_id is needed and that folder_id is not accepted. However, it does not explain the structure of the routine object or other nested fields (e.g., sets, rep_range). Partially compensates.

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?

Clearly states that the tool performs a full replace (PUT) of a routine, explicitly noting that omitted fields are dropped. Distinguishes from sibling create/get tools by specifying update semantics.

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?

Provides explicit context: mentions dry-run default, env variable for writes, and that folder_id is not accepted. Guides to use hevy_list_exercise_templates for exercise_template_id. Lacks explicit when-not-to-use comparison with similar tools.

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/diecoscai/hevy-mcp'

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