Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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 a Purdue dining assistant that helps the user decide what to eat. You learn their preferences over time — what they like, where they eat, how they feel.

IMPORTANT: On first interaction, ALWAYS call get_started first.

  • If it says the user is new (no preferences or ratings), walk them through setup conversationally — ask about allergies, food they love, food they hate, where they usually eat, and any diet goals. Use set_preference to save each answer.

  • If it says the user is AWAY FROM CAMPUS, do NOT proactively call dining tools. Just chat normally. Only use dining tools if they explicitly ask about menus or dining. Mention they can say "I'm back on campus" to re-enable proactive dining suggestions.

When they say "I'm hungry" or "I'm at Wiley", use the what_should_i_eat tool. When they say "I'm leaving campus" or "going on vacation", use set_campus_status(false). When they say "I'm back" or "back on campus", use set_campus_status(true). When they tell you what they ate or rate food, use log_meal or rate_item. Be casual and helpful. You know the Purdue dining courts.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
set_campus_statusA

Toggle whether the user is currently on/near Purdue campus.

Use this when someone says "I'm leaving campus", "going on break",
"I'm back at Purdue", etc. When off-campus, the assistant won't
proactively suggest dining tools.

Args:
    on_campus: True if at/near Purdue, False if away (vacation, break, etc.)
get_startedA

Check if the user is new and needs onboarding setup.

ALWAYS call this on the first interaction in a conversation.
Returns the user's current profile status — if they're new (no preferences,
no ratings), the assistant should walk them through a friendly setup chat.

The setup should feel conversational, not like a form. Ask about:
1. Any food allergies or dietary restrictions
2. Foods they love (favorites)
3. Foods they hate (dislikes)
4. Which dining courts they usually go to
5. Any diet goals (high protein, vegetarian, etc.)

Then use set_preference to save each answer.
check_timeA

Get current time context for dining decisions.

Returns the current time, day, meal period, and any urgency notes. Use this to factor time into food recommendations — it matters whether it's 7 AM on a Monday or 8 PM on a Saturday.

whats_openA

Check what Purdue dining locations are currently open.

Returns a list of open locations with their current meal period and hours. Use this when someone asks "what's open?" or "where can I eat right now?"

get_menuA

Get today's menu for a specific dining location.

Args:
    location: Dining location name (e.g. "wiley", "ford", "earhart", "hillenbrand",
              "windsor", "1bowl", "petes za", "sushi boss", or full names)
    meal: Optional meal filter — "breakfast", "lunch", or "dinner"

Use this when someone asks "what's at Wiley?" or "show me the Ford menu".
what_should_i_eatA

Get personalized food recommendations based on your preferences and what's available.

This is THE main tool. Use it when someone says "I'm hungry", "what should I eat?",
"I'm at Wiley", or anything about deciding what to eat.

Args:
    location: Optional — specific dining location. If not given, checks all open locations.
    mood: Optional — how the user feels (e.g. "tired", "stressed", "great", "lazy")
    hunger_level: Optional — 1 (snack) to 5 (starving)
log_mealA

Log a meal you ate. This builds your taste profile over time.

Use this when someone says "I had the chicken at Wiley" or "just ate at Ford, it was great".

Args:
    item_name: What you ate (e.g. "Grilled Chicken", "Pasta Primavera")
    location: Where you ate (e.g. "wiley", "ford")
    meal_type: "breakfast", "lunch", or "dinner" (auto-detected if not given)
    mood: How you're feeling (e.g. "tired", "great", "stressed")
    hunger_level: 1 (snack) to 5 (starving)
    rating: 1-5 rating of the food
    notes: Any additional notes
rate_itemA

Rate a food item from 1-5. Quick way to build your taste profile.

Use this when someone says "the chicken was great" or "that pasta was a 2".

Args:
    item_name: Name of the food item
    rating: 1 (terrible) to 5 (amazing)
    location: Optional — where you had it
set_preferenceA

Set a dietary preference, allergy, or food preference.

Use this to set up the user's profile. Examples:
- set_preference("allergy", "peanuts")
- set_preference("dislike", "tofu")
- set_preference("favorite", "grilled chicken")
- set_preference("favorite_location", "wiley")
- set_preference("vegetarian", "true")
- set_preference("diet", "high protein")

Args:
    key: Preference type — "allergy", "dislike", "favorite", "favorite_location",
         "vegetarian", "diet", or any custom key
    value: The preference value
remove_preferenceB

Remove a preference.

Args:
    key: Preference type to remove
    value: Specific value to remove. If not given, removes ALL preferences with this key.
get_preferencesA

View your current food preference profile.

Shows allergies, dislikes, favorites, dietary preferences, etc.

get_historyB

View your recent meal history and ratings.

Args:
    limit: Number of recent entries to show (default 10)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 12 tools

Disambiguation4/5

Most tools have clearly distinct purposes: menu lookup, open-status, recommendations, preferences CRUD, and history are all separable. The one real overlap is log_meal vs rate_item, since log_meal already accepts a rating and both build the taste profile, which could cause an agent to pick the wrong one. get_started also brushes against get_preferences as a profile-status check.

Naming Consistency4/5

The set is overwhelmingly snake_case with a verb_noun shape (set_preference, get_menu, log_meal, rate_item, remove_preference, get_history). The two question-style names (whats_open, what_should_i_eat) break the pattern but remain readable and self-explanatory.

Tool Count5/5

Twelve tools is well-scoped for a dining assistant: one per core capability (status, time, open, menu, recommend, log, rate, prefs, history). No obvious filler or redundancy that would warrant consolidation.

Completeness4/5

The surface covers the full dining lifecycle: onboarding, context (time/campus), discovery (open/menu/recommend), logging/rating, and preference management with add/get/remove. Minor gaps exist: no way to edit or delete a mistaken meal log, and no tool to list all dining locations independent of open status.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues