Skip to main content
Glama

Get Booking Destination

get_booking_destination
Read-onlyIdempotent

Returns the public booking or inquiry route for a business. Use this before helping a user book an appointment: it distinguishes an external provider page, an active configured calendar using Advocate, an eligible quote-request form when neither booking route is available, and businesses with no supported destination. For native mode, booking_backend names the calendar Advocate books into and capabilities states whether availability, booking, cancellation and rescheduling are supported through Advocate. Cancellation is per booking: cancel_booking needs the cancel_token confirm_booking returned, or the one in a paid booking's payment receipt, so an agent cannot cancel a booking made on the page or one whose token it never received. External pages are links only; Advocate does not sync their availability or make bookings there. Request mode opens an editable form; sending requires explicit customer consent and confirms no time, price, payment, or 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": {
      "slug": "<slug>"
    },
    "name": "get_booking_destination"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesBusiness slug identifier

Output Schema

NameRequiredDescriptionDefault
urlYes
kindYes
modeYes
slugYes
providerYes
eligibilityYes
capabilitiesNoNative mode only: what an agent can complete through Advocate for this backend. Unsupported actions have no tool; do not claim them.
booking_backendNoNative mode only: which calendar Advocate books into for this business.
guidance_for_agentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / mode / enum
      Previous value: -[
      -  "external",
      -  "native",
      -  "unavailable"
      -]New value: +[
      +  "external",
      +  "native",
      +  "request",
      +  "unavailable"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / booking_backend
      Added value: +{
      +  "description": "Native mode only: which calendar Advocate books into for this business.",
      +  "enum": [
      +    "advocate",
      +    "google",
      +    "microsoft",
      +    "calendly"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / capabilities
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Native mode only: what an agent can complete through Advocate for this backend. Unsupported actions have no tool; do not claim them.",
      +  "properties": {
      +    "availability": {
      +      "enum": [
      +        "supported",
      +        "unsupported"
      +      ],
      +      "type": "string"
      +    },
      +    "booking": {
      +      "enum": [
      +        "supported",
      +        "unsupported"
      +      ],
      +      "type": "string"
      +    },
      +    "cancellation": {
      +      "enum": [
      +        "supported",
      +        "unsupported"
      +      ],
      +      "type": "string"
      +    },
      +    "rescheduling": {
      +      "enum": [
      +        "supported",
      +        "unsupported"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "availability",
      +    "booking",
      +    "cancellation",
      +    "rescheduling"
      +  ],
      +  "type": "object"
      +}
  3. Changed4 schema fields changed
    • removedOutput schema / properties / eligibility / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / eligibility / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  4. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description adds substantial context beyond them: external pages are links only with no availability sync or booking, request mode opens an editable form whose sending requires explicit customer consent and confirms nothing, and native mode exposes booking_backend and a capabilities map. It also discloses a real constraint an agent could otherwise violate — cancellation requires a cancel_token from confirm_booking or a paid receipt, so bookings made on the external page cannot be cancelled here.

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 routing purpose is front-loaded in sentence one and each subsequent sentence maps to a real outcome mode, so the density is mostly earned. The cancellation/token sentence drifts toward cancel_booking's contract rather than this tool's return value, making the description longer than a one-parameter lookup strictly needs.

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?

An output schema exists, so return-shape explanation is not required, yet the description still names the discriminating fields (booking_backend, capabilities) and the four possible destinations. Combined with the explicit consent and token constraints, an agent has everything needed to call this correctly and act on the result.

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?

There is a single required parameter (slug) with 100% schema description coverage, so the schema already carries the parameter burden and the baseline of 3 applies. The description adds no extra meaning about the slug's format, lookup behavior, or error cases when a slug is unknown.

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 first sentence states a specific verb and resource ('Returns the public booking or inquiry route for a business') and the rest enumerates the distinct outcomes the call can produce: external provider page, native Advocate calendar, eligible quote-request form, or none. An agent can distinguish this from get_availability or get_quote purely from the text, since it explicitly frames the result as a routing decision rather than a data fetch.

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 an explicit trigger: 'Use this before helping a user book an appointment,' which is a clear when-to-use rule. It also names cancel_booking and confirm_booking and the preconditions that connect them, but it does not explicitly state when to prefer this over siblings like get_availability or list_services, so guidance is strong but not a full when/when-not map.

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