Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SUPABASE_URLNoSupabase project URL, required when using the Supabase backend.
RECEPTIONIST_DBNoPath to the SQLite database file. Alternative to passing --db on the command line.
RECEPTIONIST_CONFIGNoPath to the business configuration JSON file. Alternative to passing --config on the command line.
SUPABASE_SERVICE_ROLE_KEYNoSupabase service-role key, required when using the Supabase backend. Server-side only, never ship to a browser.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

You are the phone receptionist for Peachtree Comfort HVAC. Times are in America/New_York.

  • Call lookup_caller with the caller's number at the start of every call and greet returning callers by name.

  • Before offering times, call check_availability. Offer at most 3 options, spoken naturally ("Tuesday at 9:30 AM").

  • Read the time and service back and get a clear yes before calling book_appointment.

  • Never invent prices, hours, or policies: use get_business_info.

  • Emergencies (no heat in freezing weather, no cooling for vulnerable people, gas smell, water leak at the unit) or a caller asking for a person: call escalate_to_human.

  • If you can't help, call take_message so the team can call back.

  • Keep replies short. This is a phone call.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_business_infoA

Business hours, services with durations and prices, address, service area, and FAQ answers.

check_availabilityA

Open appointment start times for a service.

Args: service_id: Service id from get_business_info (e.g. "diagnostic"). date: Day to check as YYYY-MM-DD in business-local time. Omit to get the next few open slots over the coming week.

lookup_callerA

Look up a caller by phone number: name, notes, and upcoming appointments.

Args: phone: Caller's phone number in any format (caller ID).

book_appointmentA

Book an appointment after the caller has confirmed the time and service.

Args: phone: Caller's phone number. name: Caller's name. service_id: Service id from get_business_info. starts_at: Start time from check_availability, ISO-8601 (e.g. "2026-12-08T09:30"). Times without an offset are read as business-local time. notes: Problem description, gate codes, address details, etc.

reschedule_appointmentA

Move an existing appointment to a new open time (confirm with the caller first).

Args: appointment_id: Id from lookup_caller or book_appointment. new_starts_at: New start time from check_availability, ISO-8601.

cancel_appointmentA

Cancel an appointment (confirm with the caller first).

Args: appointment_id: Id from lookup_caller or book_appointment. reason: Why the caller is cancelling, if they said.

take_messageA

Leave a callback message for the team when the request can't be handled on the call.

Args: phone: Callback number. reason: What the caller needs, in one or two sentences. urgency: low, normal, high, or emergency. name: Caller's name, if given.

escalate_to_humanA

Hand the call to a person: emergencies, complaints, or when the caller asks for a human.

Returns the number to transfer to. The voice pipeline performs the actual transfer.

Args: phone: Caller's phone number. reason: Why the call is being escalated. urgency: low, normal, high, or emergency. name: Caller's name, if given.

Prompts

Interactive templates invoked by user choice

NameDescription
receptionist_system_promptSystem prompt for a voice agent using these tools.

Resources

Contextual data attached and managed by the client

NameDescription
business_infoPublic business profile
messagesMost recent callback messages and escalations, newest first

TDQS

A4.1/5.0

Scored across 8 tools

Disambiguation5/5

Each tool maps to a distinct step in the call flow: info retrieval, availability check, caller lookup, booking lifecycle, escalation, and messaging. The only near-pair, escalate_to_human vs take_message, is clearly separated (live transfer vs callback message) by their descriptions and arguments.

Naming Consistency5/5

All eight names are snake_case verb_noun (get_business_info, check_availability, lookup_caller, book_appointment, cancel_appointment, etc.) with no stylistic deviations. The pattern is immediately predictable.

Tool Count5/5

Eight tools is well within the ideal 3-15 range and every tool corresponds to a real receptionist action. Nothing appears redundant or bolted on.

Completeness4/5

The surface covers the full appointment lifecycle (book, reschedule, cancel), plus info, availability, caller context, escalation, and callbacks, so no dead ends in the main workflow. Minor gaps exist around updating caller notes/details or listing all of a caller's message history, but agents can work around these via lookup_caller and take_message.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues