Skip to main content
Glama

ShearQuery — Barber & Beauty Industry Data

Cancel an appointment

cancel_appointment
DestructiveIdempotent

Cancel an appointment (id from my_schedule), freeing the time. Confirm with the owner first. Anything the client paid at booking, and any tip, is refunded in full — the pro cancelling is never the client's fault. Texts the client only with notify_client: true — ask the owner, especially for a client who booked themselves online or through Claude.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
reasonNo
notify_clientNoText the client that it's cancelled.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already indicate destructive=true, idempotent=true, and readOnly=false, so the safety profile is partially covered. The description adds useful behavior beyond annotations: refunds of booking payments and tips, owner-confirmation requirements, and the conditional client text via notify_client.

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 effect, then adds refund and notification guidance in a compact sequence. Every sentence adds useful context, though the aside about the pro never being at fault is slightly conversational.

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, idempotent cancellation tool with no output schema, the description covers the key behavioral concerns: owner confirmation, refunds, and client notification. The main remaining gap is the unexplained reason parameter, which is minor relative to the overall guidance.

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 only 33%, so the description must compensate. It explains that id comes from my_schedule and clarifies notify_client behavior, but it leaves the reason parameter completely unexplained.

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 description states a specific verb and resource: canceling an appointment, with the id coming from my_schedule, and mentions the effect of freeing the time. It does not explicitly name or distinguish itself from the sibling cancel_my_booking, so it falls short of the highest clarity tier.

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 clear operational guidance: confirm with the owner first, and ask the owner before texting the client via notify_client. It does not explain when to prefer this tool over siblings such as cancel_my_booking or update_appointment_status, but the context is otherwise clear.

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.