Skip to main content
Glama

Find students whose workout is due for renewal

list_workouts_to_renew
Read-only

Active students who keep training (finished a workout in the last 30 days) but whose workouts and programs have not changed for longer than the trainer's "renew the workout" reminder (Preferences, 6 weeks by default), with name, phone (the guardian's for a dependent), date of the last change, days_on_same_workout, workouts_url (the student's workouts screen, where the trainer renews it) and app_url of the profile, oldest first. Use it to answer "whose workout is overdue?" and then get_student or list_student_programs for one of them. Students who stopped training are list_inactive_students. Read only: nothing changes and nothing is sent.

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_workouts_to_renew"
  }
}

Input Schema

NameRequiredDescriptionDefault
weeksNoWeeks on the same workout, 1 to 12, for this question only. Default: the trainer's Preferences.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false; the description reinforces this and adds the useful nuance that nothing is sent (no messages/notifications). It also discloses the result shape and ordering (name, phone, last-change date, days_on_same_workout, workout/app URLs, oldest first), which annotations alone cannot convey. Minor redundancy with the read-only hint keeps it from a 5.

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?

Front-loaded with the selection criteria, then the returned fields, then routing and safety — a sensible order with little filler. The opening sentence is long and parenthetical-heavy, which slightly impedes scanning, but no sentence is expendable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description takes on the burden of describing return fields and sort order and does so thoroughly, alongside the eligibility rule and per-call threshold override. Nothing an agent needs to call or interpret this tool is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds semantics the schema lacks: it ties the parameter to the trainer's "renew the workout" reminder concept and supplies the concrete default (6 weeks in Preferences), whereas the schema only says "the trainer's Preferences."

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 states a precise selection rule: active students (a workout finished in the last 30 days) whose workouts/programs have not changed for longer than the trainer's renewal threshold. It also names the contrasting sibling (list_inactive_students), 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 Guidelines5/5

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

It gives an explicit trigger question ("whose workout is overdue?") plus concrete next steps — get_student or list_student_programs for a chosen student — and an explicit exclusion routing to list_inactive_students. When-to-use, what-to-do-next, and when-not-to-use are all present.

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