Skip to main content
Glama

See latest finished workouts

list_recent_sessions
Read-only

Latest workouts finished by all the trainer's students at once in the last 30 days, newest first, with rating (1-5) and notes. with_feedback true keeps only workouts where the student rated 1 to 3 or wrote a comment, to answer "did anyone complain about a workout this week?"; then get_student(student_id) gives the phone and the app_url of the student profile. Read only.

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

Input Schema

NameRequiredDescriptionDefault
limitNo1 to 30. Default 10.
with_feedbackNoOnly workouts rated 1 to 3 or with a comment from the student.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "1 to 30. Default 10.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / with_feedback
      Added value: +{
      +  "description": "Only workouts rated 1 to 3 or with a comment from the student.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and non-destructive, so the trailing 'Read only.' is redundant but not harmful. The description adds genuinely non-schema behavior: the hard 30-day window, newest-first ordering, that results aggregate across all students, and the follow-up call chain for contact data. It does not mention pagination behavior or how many students may appear, but the essentials are covered.

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?

The core scope, ordering, and returned fields are front-loaded, and every clause carries information except the closing 'Read only.' which duplicates the annotations. The single long sentence with a semicolon-joined follow-up is slightly awkward to parse but not bloated.

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?

With only two optional parameters, no output schema, and safe-read annotations, this is nearly enough: it describes the shape of returned data (rating, notes, student_id implied by the get_student pointer) and the filter semantics. Minor gaps remain around result size and whether students with no feedback still appear when the filter is off, but nothing blocks a correct call.

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 the description's explanation of with_feedback (rated 1-3 or a comment) restates what the schema already says. The only added value is the intent behind the flag, while limit — including its 1-30 range and default — is left entirely to the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete verb and resource (latest finished workouts), scopes it to all of the trainer's students at once over the last 30 days, and states the sort order (newest first) plus returned fields (rating 1-5, notes). The phrase 'by all the trainer's students at once' implicitly separates it from per-student session listings, but no sibling such as list_student_sessions is named explicitly.

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 gives a concrete trigger for the filtered mode — answering 'did anyone complain about a workout this week?' — and a next step after the call (get_student for phone and app_url). It stops short of saying when to prefer a different sibling tool instead, so an agent still has to infer the boundary against list_student_sessions or get_workout_session.

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