Skip to main content
Glama

Cancel class

cancel_class
Destructive

Cancel an entire class session in MarianaTek (every booking is cancelled and the membership/credit returned) and notify everyone who was booked. By default each attendee also gets the studio's standard $1 apology credit via the emergency-cancel flow. Irreversible: confirm with the user first. [requires scope: book]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notifyNoEmail every booked attendee
apology_creditNoAdd the standard $1 comp credit to each attendee (existing studio policy)
class_session_idYes
confirm_class_nameYesMust match the class name exactly, as a safety check

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Adds substantial context beyond the destructiveHint/readOnlyHint annotations: irreversibility and the required user confirmation, the side effect of cancelling every booking and returning membership/credit, default attendee notification, the $1 apology credit via emergency-cancel flow, and the required 'book' scope. This is exactly the behavioral detail annotations do not carry.

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 sentences, front-loaded with the core action, followed by side effects and the irreversibility caution. The scope requirement tag is compact and useful; no filler or repetition.

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?

For a destructive tool with no output schema, the description thoroughly covers what happens to bookings, credits, notifications, and the confirmation workflow. The only gap is that it does not state what a successful call returns, so an agent must infer how to confirm completion.

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 75%, so the schema already documents notify, apology_credit, and confirm_class_name. The description adds marginal context (the 'standard $1' credit and emergency-cancel flow) but does not document class_session_id, which lacks a schema description, so it stays at the baseline.

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: 'Cancel an entire class session in MarianaTek'. The word 'entire' plus 'every booking is cancelled' distinguishes it from per-client tools like remove_client_from_class and from cancel_membership, even though no sibling is named explicitly.

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 implies when to use it (when the whole session must be cancelled) and provides workflow guidance, but it never names alternatives or states when-not conditions. The agent must infer the boundary against siblings such as cancel_membership and remove_client_from_class on its own.

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.

TDQS

A3.7/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, and the descriptions carefully separate operations like attendance_report, list_classes, and get_class_roster. A few reads overlap conceptually (get_client, get_reservation_history, get_credit_history, get_client_notes all return client-related data), but each has a specific output that an agent can distinguish with reasonable effort.

Naming Consistency5/5

Tool names overwhelmingly follow a consistent action_object pattern: add_client_note, cancel_class, freeze_membership, refund_order, set_client_tag, unfreeze_membership. The get_/list_ prefix distinction is used predictably, and auth tools (login, logout, whoami) are standard exceptions rather than inconsistent naming.

Tool Count2/5

41 tools is well beyond the 25+ threshold for a heavy tool set. Although each tool appears to serve a real studio-operations need, the sheer number creates a large surface for an agent to navigate and places significant burden on selection accuracy.

Completeness4/5

The tool set covers the core lifecycle well across clients, classes, memberships, orders, payments, and communications, with no obvious dead ends. Minor gaps exist, such as no update_client profile tool and no class-scheduling creation, but staff workflows can generally be completed.

Resources