Skip to main content
Glama

Northlight Yoga

cancel_my_booking

Idempotent

Optional signed-in member cancellation (OAuth scope bookings:write, requires Poppy operations v3 approver="user"). For guest bookings, use manage_booking with manage_token instead. Use it when the member asks to give up a class booked under their account. Required fields: booking_id. Example: {"booking_id":"book_000001"}. Returns { cancelled: true, credit_refunded, 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": {
      "booking_id": "<booking_id>"
    },
    "name": "cancel_my_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
booking_idYesthe booking id to cancel, from list_my_bookings

Output Schema

NameRequiredDescriptionDefault
bookingYes
cancelledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond annotations, it discloses the required OAuth scope `bookings:write` and Poppy operations v3 `approver="user"`, which are important operational preconditions. It also indicates a credit refund may occur and names the response shape, though the output schema already covers returns.

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 and efficient, moving from purpose to permissions to guest alternative to usage trigger. The repeated required-field example and return-value sentence are mild redundancy against the rich schema and output schema.

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?

For a one-parameter mutation with rich annotations and an output schema, the description covers the missing auth prerequisites, guest routing, usage trigger, and required input. Nothing essential for correct invocation is missing.

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 100%, so the schema already documents `booking_id` and supplies the example `book_000001`. The description repeats the required field and example without adding new parameter constraints or semantics.

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?

The description states a specific verb and resource: cancellation of a booking by a signed-in member. It also explicitly distinguishes guest bookings by naming `manage_booking` with `manage_token` as the alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives both a positive trigger (the member asks to give up a class booked under their account) and an exclusion with the correct alternative for guest bookings. An agent can route correctly without opening sibling schemas.

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