Skip to main content
Glama

The classes

list_classes
Read-only

Classes, filtered by branch, level, subject, month and weekday (names or ids). Each has its day, times, months, levels, subjects, teachers, seats and trial rules.

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

Input Schema

NameRequiredDescriptionDefault
levelNoLevel id or name.
monthNoOnly classes running in YYYY-MM.
branchNoBranch id or name.
subjectNoSubject id or name.
weekdayNo1 = Monday ... 7 = Sunday.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, non-destructive, non-open-world operation. The description adds useful context about returned class attributes such as times, teachers, seats, and trial rules, but it does not cover pagination, ordering, or default scope.

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 definition is short and front-loads the filterable resource and return fields. It is efficient, though the opening 'Classes, filtered by...' could be slightly more direct.

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 five-filter list tool with no required parameters and no output schema, the description gives an adequate picture of what is returned and what can be filtered. It omits pagination and default behavior, which are the main remaining gaps.

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%, so the schema already explains each filter including id-or-name semantics and weekday numbering. The description adds little parameter-level meaning beyond listing the same filter concepts.

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 clearly identifies the resource as classes and enumerates the filters, making it distinguishable from singular get_class and unrelated siblings. It lacks an explicit verb like 'list', but the purpose is still easy to infer.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

It mentions available filters but gives no guidance on when to use list_classes versus get_class or other class-related tools. There are no exclusions, prerequisites, or alternative-routing hints.

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