Skip to main content
Glama

Free times

find_free_slots
Read-only

Free start times for one service, in the studio's time zone. Days from tomorrow up to 90 days ahead, at most 14 days per call. A time with a promotion field has a discount of the studio (percent, discounted price); it applies automatically when booked. Only the listed start times can be booked (they follow a fixed grid); show them as they are, not as a time range, and pass one of them exactly to prepare_booking.

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": {
      "studio_id": "<studio_id>",
      "service_id": "<service_id>"
    },
    "name": "find_free_slots"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of days, default 7, at most 14
from_dateNoYYYY-MM-DD, default tomorrow
studio_idYesstudio_id from search_studios (or the handle from a profile link)
service_idYes
employee_idNoOnly this employee (group studios)
latest_timeNoHH:mm, only times starting at or before
earliest_timeNoHH:mm, only times starting at or after

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare a safe read, and the description adds substantial context beyond them: the studio time zone, the tomorrow-to-90-days horizon, the 14-day-per-call cap, the fixed booking grid, and the meaning of the promotion field (percent discount, discounted price, applied automatically). These are behavioral facts an agent could not get from the schema or annotations.

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?

Three dense sentences, front-loaded with the core purpose, then constraints, then the booking handoff. No filler, and each sentence carries information the agent needs.

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?

There is no output schema, and the description compensates by explaining what comes back: start times on a fixed grid, optionally with a promotion field carrying percent and discounted price. Combined with the range limits and the prepare_booking handoff, an agent has everything needed to call and use the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 86%, so the schema already documents most parameters. The description still adds value by stating the 90-day horizon and the 14-day-per-call limit, which are not in the schema, and by framing results in the studio's time zone. It does not clarify employee_id or the earliest/latest time filters beyond the schema.

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?

States a specific verb and resource ('Free start times for one service') plus the time-zone scope, which an agent cannot infer from the name alone. It is clearly distinct from prepare_booking, which it names as the downstream consumer.

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?

Gives explicit downstream guidance: only the listed start times can be booked, they must be shown as-is rather than as a range, and one must be passed exactly to prepare_booking. It lacks an explicit 'when not to use' or a note on what to do when no slots are returned, so it falls short of a 5.

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