Skip to main content
Glama

Xona Dental Gateway

Choose a time to book at a clinic

choose_public_booking_time

For a public_provider_booking action: keeps one time from list_public_booking_slots (or a soonest search row's earliest) and returns continue_url, Xona's page where the patient enters their own details and presses Book. Xona then books that time in the clinic's own scheduler. It takes the action and the time (service_id, slot_id, starts_at) only, reads that time again and keeps it only if it is still open; the page collects the patient's details.

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": {
      "action_id": "<action_id>",
      "service_id": "<service_id>",
      "slot_id": "<slot_id>",
      "starts_at": "<starts_at>"
    },
    "name": "choose_public_booking_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
slot_idYesThe chosen time's id from list_public_booking_slots (slot_id on a soonest row's earliest).
action_idYes
starts_atYesThe chosen time's starts_at, exactly as returned.
service_idYesThe chosen time's service_id.

Output Schema

NameRequiredDescriptionDefault
noteNoOn a limited answer: where a person sees the full page, and how an AI tool gets full facts.
bookingNo
limitedNoPresent only on an answer without proof: this answer holds the practice's public directory record, not its facts.
next_stepNo
continue_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "limited"
      +      ]
      +    },
      +    "required": [
      +      "booking",
      +      "continue_url",
      +      "next_step"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "action_id": {
      +        "type": "string"
      +      },
      +      "limited": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "limited",
      +      "note",
      +      "action_id"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / limited
      Added value: +{
      +  "const": true,
      +  "description": "Present only on an answer without proof: this answer holds the practice's public directory record, not its facts.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "On a limited answer: where a person sees the full page, and how an AI tool gets full facts.",
      +  "type": "string"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "booking",
      -  "continue_url",
      -  "next_step"
      -]
  2. Changed5 schema fields changed
    • addedInput schema / properties / service_id
      Added value: +{
      +  "description": "The chosen time's service_id.",
      +  "maxLength": 160,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / slot_id / description
      Previous value: -"The id of one time from this action's latest list_public_booking_slots result."New value: +"The chosen time's id from list_public_booking_slots (slot_id on a soonest row's earliest)."
    • changedInput schema / properties / slot_id / maxLength
      Previous value: -160New value: +256
    • addedInput schema / properties / starts_at
      Added value: +{
      +  "description": "The chosen time's starts_at, exactly as returned.",
      +  "format": "date-time",
      +  "maxLength": 64,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "action_id",
      -  "slot_id"
      -]New value: +[
      +  "action_id",
      +  "service_id",
      +  "slot_id",
      +  "starts_at"
      +]
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (which only say this is not read-only, not idempotent, not destructive), the description discloses the crucial behavioral trait: it re-reads the time and keeps it only if it is still open. It also explains the two-phase handoff — the patient enters details and presses Book on Xona's page, and Xona books in the clinic's scheduler. It does not say what happens or is returned when the slot is no longer open, which is the main gap.

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?

It is front-loaded with the action and the source of the time, but the run-on sentence with stacked parentheticals and a repeated mention of the patient entering details makes it denser than needed. Trimming the restated patient-details clause would tighten it without losing meaning.

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 four-required-parameter tool that hands off to a hosted page, the description covers sourcing, re-validation, the redirect target, and who supplies patient data; the output schema carries the return shape. The remaining hole is the failure path when the time is no longer open, which an agent would want to know about.

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?

With 75% schema description coverage, the schema already documents slot_id, starts_at, and service_id, and the description largely restates that these three carry the chosen time. action_id, the one undocumented parameter, is only referred to obliquely as 'the action', so the description adds little meaning beyond the schema.

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 names a concrete verb and resource — it keeps one time and returns a continue_url for a public_provider_booking action — and explicitly ties the input to list_public_booking_slots. It is distinguishable from listing tools, but the 'keeps one time' phrasing and Xona jargon make the core action slightly harder to parse than it needs to be.

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?

It states where the time comes from (list_public_booking_slots, or the earliest row of a soonest search), which implies when to call it. It never says when not to use it or how it relates to hold_xona_booking_slot, confirm_xona_booking, or abandon_xona_booking, so an agent must guess at the sequence in the booking flow.

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