Skip to main content
Glama
dragosh29

Bookwhen MCP server

by dragosh29

List class passes

list_class_passes
Read-onlyIdempotent

Retrieve and filter Bookwhen class passes by title, details, usage type, cost, class allowance, or validity days to review prepaid booking bundles and restrictions.

Instructions

Class passes (pre-purchased bundles of bookings) with usage allowance, type (personal or any attendee), number available and day restriction. Filters: title or details text, usage type, and cost, usage_allowance or use_restricted_for_days as an exact value or comparison (gt, gte, lt, lte, eq). Cost values are in the currency's smallest unit, as in the spec's example filter[cost][gte]=2000.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
costNoCost in the currency's smallest unit, exact or with operators (filter[cost], filter[cost][gte] ...)
titleNoText in the pass title (filter[title])
detailNoText in the pass details (filter[detail])
usage_typeNopersonal: booker only; any: additional attendees too (filter[usage_type])
max_resultsNo
usage_allowanceNoNumber of classes the pass covers, exact or with operators (filter[usage_allowance])
include_contact_detailsNoStop redacting email addresses and phone numbers from titles and details
use_restricted_for_daysNoDays the pass stays valid from first use, exact or with operators (filter[use_restricted_for_days])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds data-model context (what a class pass is, cost unit convention) but says nothing about the redaction behavior of include_contact_details or any auth/rate-limit traits beyond what annotations give.

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?

Two dense sentences that front-load the data-model definition before the filter list. There is some redundancy with the schema on filter names and the cost unit, but no filler.

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 description usefully compensates by naming the returned fields (usage allowance, type, number available, day restriction). Combined with the filter coverage and the safety annotations, an agent has enough to invoke it correctly; only the redaction semantics of include_contact_details are left to the schema.

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 88%, so the schema already documents every filter including the comparison-operator shape and the cost unit. The description largely restates these (usage type, cost, usage_allowance, use_restricted_for_days) and adds only one concrete example (filter[cost][gte]=2000), so baseline 3 is appropriate.

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 (class passes) and defines it parenthetically as 'pre-purchased bundles of bookings', then enumerates the fields it returns (usage allowance, type, number available, day restriction). The verb is implied by the name rather than stated, and no sibling is named, but the resource is unambiguous and clearly distinct from get_event/list_events siblings.

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?

The description lists the available filters, which implies how to narrow a search, but never states when to use this tool, when not to, or what alternative exists. Usage is inferred from the filter catalogue rather than spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.