Skip to main content
Glama

Xona Dental Gateway

Ask to move or cancel an appointment

change_xona_appointment

Move or cancel one of the patient's appointments. Xona texts the patient a link to a page that shows the exact change. When they press its button (or type the code from the text on book.xonark.com/code) the practice's schedule changes, or, at a practice that confirms changes itself, the practice receives the request. Calling again with the same arguments returns the result, read live from the practice's schedule.

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>",
      "appointment_ref": "<appointment_ref>",
      "kind": "<kind>"
    },
    "name": "change_xona_appointment"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoFor a reschedule: the new time's date exactly as list_xona_reschedule_times returned it
kindYes
action_idYes
appointment_refYes
slot_fingerprintNoFor a reschedule: the new time's slot_fingerprint from list_xona_reschedule_times

Output Schema

NameRequiredDescriptionDefault
kindNo
noteNoOn a limited answer: where a person sees the full page, and how an AI tool gets full facts.
stateNo
limitedNoPresent only on an answer without proof: this answer holds the practice's public directory record, not its facts.
practiceNo
action_idNo
next_stepNo
appointment_refNo
link_expires_atNo
requested_start_localNo
appointment_start_localNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "limited"
      +      ]
      +    },
      +    "required": [
      +      "action_id",
      +      "practice",
      +      "appointment_ref",
      +      "state",
      +      "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: -[
      -  "action_id",
      -  "practice",
      -  "appointment_ref",
      -  "state",
      -  "next_step"
      -]
  2. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only declare readOnly=false, destructive=false, idempotent=false, openWorld=false; the description adds materially more — an asynchronous, patient-mediated confirmation loop, two practice behaviors (auto-apply vs practice confirms), and a documented retry path that reads the live result from the practice's schedule. That retry statement sits somewhat awkwardly against idempotentHint=false, but it is plausibly describing result retrieval rather than a repeated mutation, so it reads as nuance rather than a hard contradiction.

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?

Three sentences, front-loaded with the action, then the mechanism, then the retry rule. Nothing is padding, though the middle sentence's parenthetical about typing the code and the confirming-practice clause is dense and slows parsing slightly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The async patient-confirmation model and retry semantics are covered, and the output schema carries return values, so the description is reasonably complete. It is still incomplete on the two required-but-undocumented identifiers, which an agent needs in order to call the tool at all.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%: date and slot_fingerprint are documented in the schema, while action_id and appointment_ref are bare. The description does not compensate — it never explains what action_id is, where it comes from, or what appointment_ref identifies, and it mentions reschedule parameters only indirectly via "same arguments." For a tool with two undocumented required parameters, this is a real gap.

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 first sentence gives a specific verb pair and resource: "Move or cancel one of the patient's appointments." That is enough to separate it from list_xona_appointments and list_xona_reschedule_times, which are read-only lookups. It stops short of naming the sibling that supplies reschedule times, so the differentiation is implicit rather than explicit.

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 description conveys the essential workflow context: the tool sends the patient a text, the change only lands when the patient presses the button or enters the code, and at confirming practices it becomes a request rather than an immediate change. What it never states is when to prefer this over the surrounding siblings (e.g. that reschedule times must come from list_xona_reschedule_times first), so the agent must infer call ordering from the schema.

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