Skip to main content
Glama

Xona Dental Gateway

Text the patient a link to show their appointments

start_xona_appointment_access

Text a patient one link to see, move or cancel the appointments they already have at a practice connected to Xona, for a conversation with no booking action_id that still works. If the mobile number, name and date of birth match a patient there, Xona texts them the link; after they tap it and press Show my appointments, list_xona_appointments reads their appointments. The answer is the same whether or not the details match.

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": {
      "practice_slug": "<practice_slug>",
      "patient_phone": "<patient_phone>",
      "first_name": "<first_name>",
      "last_name": "<last_name>",
      "date_of_birth": "<date_of_birth>"
    },
    "name": "start_xona_appointment_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
last_nameYes
first_nameYes
date_of_birthYes
patient_phoneYesThe patient's own Canadian or US mobile number, as the practice has it on file
practice_slugYes

Output Schema

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

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",
      +      "status",
      +      "link_expires_at",
      +      "next_step"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "limited": {
      +        "const": true
      +      },
      +      "practice_slug": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "limited",
      +      "note",
      +      "practice_slug"
      +    ]
      +  }
      +]
    • 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",
      -  "status",
      -  "link_expires_at",
      -  "next_step"
      -]
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare the safety profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false), leaving the side effect itself unexplained. The description discloses that an SMS is actually sent, that delivery is gated on phone/name/DOB matching a patient at the practice, and critically that the response is identical whether or not the details match — a privacy behavior an agent could not infer. What is missing is anything about repeat sends, rate limits, or cost of firing texts at a patient.

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?

Front-loaded with the concrete action and effect, and the security-relevant line about identical answers is placed at the end where it lands. Minor waste and awkwardness in 'for a conversation with no booking action_id that still works', which is jargon-heavy and slightly garbled relative to the rest.

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?

With an output schema present, the description correctly avoids re-specifying the response shape and instead spends its words on the side effect, the match requirement, and the handoff to list_xona_appointments. It is essentially complete for a 5-required-param SMS trigger; only practice_slug semantics and repeat-send behavior are absent.

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

Parameters4/5

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

Schema coverage is only 20% (just patient_phone), so the description has to carry the load, and it does: it tells the agent that the mobile number, first/last name and date of birth are matched against a patient record at the practice, which explains why all five fields are mandatory and what a failure looks like. practice_slug is left uninterpreted, which is the main gap.

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?

States a specific verb and resource ('Text a patient one link to see, move or cancel the appointments they already have'), and explicitly separates itself from list_xona_appointments, which is the tool that actually reads the appointments after the patient taps the link. An agent can distinguish this from the read-side sibling without opening either schema.

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?

The phrase 'for a conversation with no booking action_id that still works' gives a concrete condition for reaching for this tool rather than the booking-flow siblings, and the description names list_xona_appointments as the follow-on step. It stops short of stating when NOT to use it (e.g., when a booking action_id does exist, or when change_xona_appointment is the better route), so there is no explicit exclusion.

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