Skip to main content
Glama

Sonki (public catalog)

Get a teacher's open times

get_availability
Read-onlyIdempotent

Times a teacher can start a lesson of the given length, as UTC start/end pairs (plus the local time when you pass timezone). Lessons need at least a few hours' notice.

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": "<teacher>"
    },
    "name": "get_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days from `from` to look at.
fromNoEarliest start (default: now).
limitNoHow many to return (at most 50).
cursorNonextCursor from the previous result, to get the next page.
teacherYesThe teacher's slug from search_teachers (e.g. "ana-gomez"), or their profile URL.
timezoneNoIANA timezone to show local times in, e.g. America/Mexico_City.
durationMinNo

Output Schema

NameRequiredDescriptionDefault
slotsNo
totalNo
nextCursorNo
durationMinNo
teacherTimezoneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, so the bar is lower. The description still adds genuinely new behavior: a minimum-notice rule that shrinks the returned set, and the fact that local times only appear when timezone is supplied. It does not discuss pagination beyond cursor being in 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence, front-loaded with what the tool computes, followed by the output form and the one constraint that changes results. Nothing redundant or padded.

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 an output schema present, return values need not be spelled out, and annotations carry the safety profile; the description plus schema covers the 7 parameters adequately. The only shortfall is the absence of routing guidance to sibling tools for a booking-adjacent lookup.

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 86%, so the schema already documents nearly every parameter. The description only reinforces two of them (lesson length and timezone-based local output) without adding format or default details beyond what the schema carries, which is the baseline case.

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 verb and resource: computes the times a teacher can start a lesson of a given length, and specifies the return shape (UTC start/end pairs). That is enough to separate it from get_teacher and search_teachers, though it never names a sibling outright.

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?

The only guidance is the implicit constraint that lessons need a few hours' notice. There is no statement of when to call this versus start_booking or get_teacher, and no mention of prerequisites such as looking up the teacher slug 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