Skip to main content
Glama

Northlight Yoga

get_teacher_schedule

Read-onlyIdempotent

List upcoming open sessions taught by one teacher over the next days days (default 14). Use it when the customer chooses the teacher before the class. Required fields: teacher_id (mem_mira, mem_nadia, mem_karim, or teacher name). Optional: timezone, days (1-30). Example: GET /api/teachers/mem_karim/slots?days=14. Returns { teacher, timezone, sessions: [{ event_type_id, slug, start_ms, start_iso, seats_left, questions, drop_in_price, pricing_model }] }.

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": {
      "teacher_id": "<teacher_id>"
    },
    "name": "get_teacher_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNohow many days ahead to look, 14 unless given
timezoneNooptional attendee display timezone
teacher_idYesteacher id (mem_mira, mem_nadia, mem_karim) or teacher name

Output Schema

NameRequiredDescriptionDefault
teacherYes
sessionsYes
timezoneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare read-only, closed-world, idempotent behavior, so the safety profile is covered. The description adds genuinely useful context (default/limit on days, accepted teacher identifiers, concrete example call), but nothing about the 'open' definition (e.g. seats_left > 0) or how results are ordered/limited.

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?

Single dense paragraph, front-loaded with purpose, then requirements, then the return shape — no filler sentences. The inline sample URL and the repeated 'default 14' are slightly redundant with the schema but cost little.

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?

For a simple three-parameter read tool with annotations and an output schema, the description covers purpose, trigger, required/optional inputs, bounds, and even the response shape. Nothing an agent needs in order to call it correctly 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?

Schema coverage is 100%, so both optional parameters and the teacher_id enumeration are already documented in structured form; the description largely restates them. It adds only the note that a teacher name is accepted in place of an id, which is marginal.

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?

Opens with a specific verb and resource ('List upcoming open sessions'), names the scoping entity (one teacher) and the time window with its default. An agent can distinguish this teacher-first lookup from a generic slot listing without opening the schema.

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?

States the selecting condition clearly: 'Use it when the customer chooses the teacher before the class.' That gives a positive trigger but no explicit when-not rule or named alternative for the flow where the customer picks an event type first.

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