Skip to main content
Glama

Read routines

list_routines
Read-only

Read the routines the person saved: workouts to do again, each with its exercises, how many sets and how much rest. Read this before planning a workout or a programme, so a plan follows how the person already trains. A set without figures follows what was done last time, which list_workouts shows. A routine of kind superset is a superset kept on its own. A workout the person repeats under one name also reads as a routine in the app without being listed here.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_routines"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoThe most routines to return
offsetNoSkip this many results. Pass the nextOffset of the previous page to read on; a null nextOffset means there are no more.

Output Schema

NameRequiredDescriptionDefault
routinesYes
nextOffsetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive and closed-world, so the description focuses on content semantics instead. It adds non-obvious behavior: a set without figures inherits the last performance, a superset-kind routine is a standalone superset, and a repeated workout may appear as a routine in the app without being listed here — a caveat the agent could not infer. It does not mention pagination behavior, though the output schema covers the response shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first sentence, which is good. However, the closing sentences are dense and the final one ('a workout the person repeats under one name also reads as a routine... without being listed here') is ambiguously worded and takes effort to parse for what should be a simple edge-case note.

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 two-parameter read tool with an output schema, the description supplies what structured fields cannot: what a routine contains, how to interpret sets without figures, and a listing caveat. Return values need not be explained since the output schema exists, so nothing critical is missing.

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 (limit, offset) are fully documented in the schema, including the nextOffset continuation pattern. The description adds no meaning beyond that for either parameter, so the baseline of 3 applies.

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?

States a specific verb and resource ('Read the routines the person saved') and then defines what a routine actually is — saved workouts to repeat, each with exercises, sets and rest. It distinguishes itself from list_workouts by naming it explicitly for last-time figures, so an agent can separate the two without opening either schema.

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?

Gives a concrete trigger: read this before planning a workout or programme, so a plan matches existing training habits. It also routes to list_workouts for historical set figures. It stops short of stating when not to use it (e.g. for creating or deleting routines), but the positive guidance is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources