Skip to main content
Glama

Classes

get_classes
Read-only

Classes (university or school timetable) in a date range: subject, time, room, teacher, homework, materials (links); subjects the user marked closed, with their result; and materials attached to whole subjects.

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": "get_classes"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD, at most 92 days after from. Default: a week from "from"
fromNoFirst day, YYYY-MM-DD. Default: today

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 safety is covered; the description goes further by disclosing the payload's content, including closed subjects with their result and subject-level materials. It does not mention volume limits or pagination, though the 92-day cap is carried by the schema.

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?

A single front-loaded sentence that opens with the resource and scope before listing contents; nothing is redundant. The semicolon-chained field list is dense but still scannable.

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 no output schema, the enumeration of returned items (including the non-obvious closed subjects and subject materials) is what makes the tool callable without surprises. Combined with a fully described parameter schema, only pagination or result-size behavior is left unstated.

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 the date format, defaults, and the 92-day maximum are already fully documented in the schema. The description contributes only the general notion of a date range, adding no new meaning to the two parameters.

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?

States a specific resource with a disambiguating gloss, "Classes (university or school timetable) in a date range," then enumerates the fields returned: subject, time, room, teacher, homework, materials. An agent can tell what data this yields, but the description never distinguishes it from siblings like get_day, which appears to overlap in returning dated calendar content.

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?

Usage is only implied by the phrase "in a date range" and by the defaults documented in the schema (from=today, to=a week later). There is no explicit statement of when to choose this over get_day or get_tasks, and no exclusions are given.

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