Skip to main content
Glama

Carpenterwala

Cancel Service Booking & Contact Professional (Customer)

cancel_service_booking

[Requires OAuth Authentication] Cancels an active home repair booking in the system and returns the assigned service professional's direct contact number with instructions to call them directly so the on-site technician is informed immediately without disrupting active work.

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": {
      "bookingId": "<bookingId>"
    },
    "name": "cancel_service_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoOptional reason for cancellation (e.g. "Issue resolved myself", "Change of schedule").
bookingIdYesThe unique booking or lead ID to cancel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With only a title annotation, the description carries the burden and does disclose two meaningful traits: an OAuth authentication requirement and the return payload (the professional's contact number plus a call-instruction). It omits consequential behavior — whether cancellation is irreversible, whether any fee or refund applies, and what state the booking ends in — which matters for a destructive mutation.

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?

A single front-loaded sentence that puts the auth requirement first and the primary action immediately after. It is slightly run-on in the trailing clause about notifying the technician, but no sentence is wasted.

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 two-parameter tool with no output schema, the description usefully compensates by explaining what is returned (the pro's contact number and call instruction) and the operational intent. What remains missing — post-cancellation booking state and any irreversibility warning — is a modest gap given the tool's simplicity.

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%, with both bookingId and the optional reason documented in the schema, so the baseline is 3. The description adds no additional meaning about accepted ID formats or how the reason is used (e.g., recorded for the pro or merely logged).

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 ('Cancels an active home repair booking') and adds the non-obvious side benefit of returning the professional's direct contact number. It is clearly distinguishable from reschedule_service_booking or book_service_job, though it never explicitly contrasts itself with those siblings or with get_professional_contact_channel, which appears to overlap on the contact-number capability.

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 phrase 'active home repair booking' implies a precondition (the booking must still be active), and the goal 'so the on-site technician is informed immediately' implies context for choosing this tool. However, there is no explicit guidance on when to cancel versus reschedule, or what to do if the booking is not active, leaving usage to inference.

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.