Skip to main content
Glama
liftoff-mcp
by mpvii

routine_update

Replace a routine's full exercise list, previewing changes by default and applying them only when confirmation is enabled.

Instructions

Replace a routine's contents (dry-run unless confirm=true).

Liftoff's edit has no partial mode: this replaces the WHOLE exercise list. Call routine_show first, modify that list, and pass all of it back. Set inputs are the same shape as routine_create (kilograms).

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": {
      "name_or_id": "<name_or_id>",
      "exercises": "<exercises>"
    },
    "name": "routine_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
confirmNo
exercisesYes
is_publicNo
name_or_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the safety burden and does disclose the two most important traits: the call is a dry run by default, and it destroys/replaces the entire exercise list rather than patching it. It omits permission requirements, reversibility of a confirmed replace, and whether omitted optional fields (name, is_public) are cleared or preserved.

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?

Four short lines, front-loaded with the destructive/replace nature and the dry-run default. The parenthetical "(kilograms)" is a worthwhile unit clarification; nothing is padded, though the multi-line layout is slightly fragmented.

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?

An output schema exists, so return values need no explanation, and the destructive-replace semantics are clear. The gap is on the input side: for a five-parameter mutation with zero schema documentation, leaving `name` and `is_public` unexplained is a real completeness shortfall.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must explain all five parameters. It covers `confirm` (dry-run toggle), `exercises` (same shape as `routine_create`, weights in kilograms), and implies `name_or_id` via the `routine_show` step, but `name` and `is_public` are never mentioned and their semantics on a replace are genuinely ambiguous.

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 opening sentence gives a specific verb and resource ("Replace a routine's contents") and immediately scopes it as a whole-object replacement with a dry-run default. It also distinguishes itself from siblings by pointing at `routine_show` for reads and `routine_create` for shape expectations.

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 prescribes a concrete workflow: call `routine_show`, modify the list, pass the whole thing back, and set confirm=true to actually commit. The "no partial mode" statement tells the agent there is no lighter alternative, though it never states exclusions or what to do if the routine does not exist.

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