Skip to main content
Glama

Mille-Feuille Bakery — Baking Classes

get_classes_and_availability

Browse baking classes offered by Millefeuille Bakery NYC with real-time availability. Returns each class with description, duration, venue, booking URL, prices, and upcoming openings (date, time in New York time, spots remaining). Each price is the total in US cents for the whole group of "guests" people. An opening can be booked only when its status is "available"; "soldout", "booked_out" and "private" cannot. To book, send the customer to a bookingUrl: an opening's own bookingUrl opens that exact session ready for their details and payment (append "&tickets=N" to preset the group size), the class's bookingUrl opens its calendar to pick a date. Use this as the starting point for questions like "what classes are available?" or "when can I book a croissant class?" Defaults to the next 90 days when no date filter is provided. Use date/dateFrom+dateTo for narrower or further windows.

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

Input Schema

NameRequiredDescriptionDefault
dateNoSpecific date to filter on (YYYY-MM-DD). Cannot be combined with dateFrom/dateTo.
dateToNoEnd of date range (YYYY-MM-DD). Use with dateFrom.
classIdNoFilter by class ID (e.g. "class-croissant-001"). Omit for all classes.
dateFromNoStart of date range (YYYY-MM-DD). Use with dateTo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does substantial work: it discloses return fields, that prices are total US cents for the whole guest group, that only openings with status "available" can be booked, and that soldout/booked_out/private cannot. Remaining gaps are pagination/result-size limits and whether any auth is required.

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 description is front-loaded with purpose and return contents, then moves to booking semantics and filtering defaults; every sentence carries operational information. It is somewhat dense and prose-heavy, but there is no filler or repetition of the tool name.

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, so the description's enumeration of returned fields (description, duration, venue, bookingUrl, prices, upcoming openings with date/time/spots) is essential and present. Booking URL semantics, status gating, price units, and the default date window are all covered, leaving nothing an agent needs in order to call this correctly.

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 description coverage is 100%, so the baseline would be 3, but the description adds meaning the schema does not: the default 90-day range when no date filter is given and the purpose of narrowing or extending the window. That default behavior materially changes how an agent should call the tool with zero 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?

The definition uses a specific verb and resource ("Browse baking classes offered by Millefeuille Bakery NYC with real-time availability") and enumerates exactly what each result carries, so an agent knows precisely what it retrieves. It positions itself as "the starting point" for class/availability questions, which implicitly separates it from the narrower check_availability sibling, but it never names that sibling explicitly.

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?

It gives concrete usage contexts ("what classes are available?", "when can I book a croissant class?") and states the default window of the next 90 days when no filter is passed, plus when to use date vs dateFrom/dateTo for narrower or further windows. It stops short of naming when to prefer check_availability instead, so there is no explicit exclusion rule.

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