Skip to main content
Glama

My classes

list_my_classes
Read-only

Show upcoming classes for the signed-in member or a linked child in one of their clubs. Not for children who are not linked to the account. Returns dates, availability and the subject's current RSVP status.

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": {
      "branch_id": "<branch_id>",
      "week_start": "<week_start>"
    },
    "name": "list_my_classes"
  }
}

Input Schema

NameRequiredDescriptionDefault
child_idNoOptional linked child's subject_id from list_my_subjects; omit for the signed-in member.
branch_idYesClub UUID from the member's list_my_subjects result; access is checked for this club.
week_startYesStart date for the requested calendar week in YYYY-MM-DD format, in the club's timezone.

Output Schema

NameRequiredDescriptionDefault
classesYes
branch_idYes
subject_idYes
week_startYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / branch_id / description
      Added value: +"Club UUID from the member's list_my_subjects result; access is checked for this club."
    • addedInput schema / properties / child_id / description
      Added value: +"Optional linked child's subject_id from list_my_subjects; omit for the signed-in member."
    • addedInput schema / properties / week_start / description
      Added value: +"Start date for the requested calendar week in YYYY-MM-DD format, in the club's timezone."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "MemberClass": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "date": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Date"
      +        },
      +        "duration_min": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Duration Min"
      +        },
      +        "kind": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Kind"
      +        },
      +        "location_name": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Location Name"
      +        },
      +        "my_status": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "My Status"
      +        },
      +        "occurrence_key": {
      +          "title": "Occurrence Key",
      +          "type": "string"
      +        },
      +        "remaining_capacity": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Remaining Capacity"
      +        },
      +        "start_time": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Start Time"
      +        },
      +        "title": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Title"
      +        }
      +      },
      +      "required": [
      +        "occurrence_key"
      +      ],
      +      "title": "MemberClass",
      +      "type": "object"
      +    }
      +  },
      +  "additionalProperties": true,
      +  "properties": {
      +    "branch_id": {
      +      "title": "Branch Id",
      +      "type": "string"
      +    },
      +    "classes": {
      +      "items": {
      +        "$ref": "#/$defs/MemberClass"
      +      },
      +      "title": "Classes",
      +      "type": "array"
      +    },
      +    "subject_id": {
      +      "title": "Subject Id",
      +      "type": "string"
      +    },
      +    "week_start": {
      +      "title": "Week Start",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "branch_id",
      +    "subject_id",
      +    "week_start",
      +    "classes"
      +  ],
      +  "title": "MemberClasses",
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing subject scoping (member vs linked child) and that access is validated against the member's own clubs, which is a meaningful authorization trait.

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?

Three short sentences with the primary purpose front-loaded and the exclusion stated immediately after. The final sentence overlaps somewhat with the existing output schema, but it is brief and not wasteful.

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 annotations covering safety, an output schema covering return values, and 100% parameter coverage, the description needs only to establish scope and exclusions, which it does. The only gap is the absence of any redirect for the excluded cases.

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 coverage is 100%, so every parameter is already documented in detail, including child_id's provenance from list_my_subjects. The description reinforces the child-linking constraint and the "one of their clubs" restriction on branch_id but adds no format or validation detail beyond the schema, so the 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?

"Show upcoming classes" is a specific verb+resource, and the scope is narrowed to the signed-in member or a linked child within their own clubs. That phrasing implicitly separates it from list_public_classes, though no sibling 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 Guidelines3/5

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

The description gives one concrete exclusion ("Not for children who are not linked to the account"), which is genuinely useful routing information. However, it never points to an alternative tool for the excluded case or for public/non-member browsing, so the when-to-use guidance is implied rather than complete.

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