Skip to main content
Glama
Huppa MCP Server

Huppa MCP Server

by maxzw

cancel_booking

Cancel an existing gym class booking by providing the organization ID and class occurrence ID, removing the reservation from your schedule.

Instructions

Cancel an existing gym class booking.

Args:
    organization_id: Organization identifier for the booking.
    occurrence_id: Class occurrence identifier for the booking.

Returns:
    Cancellation response payload when present, otherwise ``None``.

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": {
      "organization_id": "<organization_id>",
      "occurrence_id": "<occurrence_id>"
    },
    "name": "cancel_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
occurrence_idYes
organization_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It says nothing about irreversibility, whether cancellation of a booked class has side effects (credit refund, waitlist promotion), permission requirements, or what happens when the booking is already cancelled or absent.

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 one-line purpose is front-loaded and the Args/Returns structure is easy to scan with no filler. The repeated "for the booking" clauses are mildly redundant but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive mutation tool with no annotations and a low-coverage schema, yet the description supplies only parameter labels and a return note; an output schema already covers the return payload. Key facts for correct invocation, such as failure behavior for invalid or nonexistent bookings and any irreversible consequences, are absent.

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 0%, so the Args block is the only source of parameter meaning; it labels both parameters and ties them to the booking context, slightly beyond the bare schema titles "Organization Id" and "Occurrence Id". It still omits format (ID type/example) and where the caller obtains occurrence_id, e.g. from get_my_bookings.

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 ("Cancel an existing gym class booking"), which distinguishes it from book_class and join_waitlist by scope. It never names leave_waitlist or another sibling explicitly, so differentiation is inferred rather than stated.

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 word "existing" implies the caller must already hold the booking, which is the only precondition offered. There is no statement of when to prefer this over leave_waitlist or what to do when no booking exists, so usage must be inferred.

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