Skip to main content
Glama

Find students who stopped training

list_inactive_students
Read-only

Active students who have not finished a workout in the last N days (7 by default), with name, phone to reach out (the guardian's for a dependent), last workout date, days since and the app_url of the student profile, longest absence first. Students who never trained come first. has_active_workout false means the trainer never gave this student a workout: open workouts_url (the student's workouts screen) or use create_workout before reaching out. Use it to answer "who disappeared this week?" and then get_student or list_student_sessions for one of them. Read only: nothing is sent to the student.

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

Input Schema

NameRequiredDescriptionDefault
daysNoDays without a finished workout, 1 to 30. Default 7.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations it discloses result ordering (longest absence first, never-trained students first), what each row contains, and the meaning of has_active_workout=false as a remediation path. The "read only: nothing is sent" line largely restates readOnlyHint=true, so it is useful confirmation rather than new information.

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?

Despite being a single dense run-on, every clause carries operational value: the filter, the returned fields, the ordering, the no-workout caveat, and the follow-up tools. Slight deduction for cramming the return-field inventory into the middle rather than separating it from the usage guidance.

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?

There is no output schema, so the description must describe the payload, and it does: name, phone (guardian's for dependents), last workout date, days since, app_url, plus ordering and the never-trained edge case. For a single-parameter read tool, nothing material 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?

The schema already documents days fully (1-30, default 7) at 100% coverage, and the description only restates the default. It doesn't add edge-case semantics such as what happens at the 30-day ceiling or whether days counts calendar or completed-workout days beyond what the schema says.

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 specific resource and predicate: active students with no finished workout in the last N days, sorted longest-absence-first. It is clearly distinguishable from siblings like list_students or get_students_activity, which return a roster or general activity rather than an at-risk subset.

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 names the exact question it answers ("who disappeared this week?") and the follow-up tools (get_student, list_student_sessions). It also gives a branch rule: when has_active_workout is false, open workouts_url or use create_workout before reaching out, which tells the agent when not to act on the result.

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