Skip to main content
Glama
umich-dining-mcp

umich-dining-mcp

by esreddy2

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UMICH_DINING_BASE_URLNoThe site to read. Default is https://dining.umich.edu.
UMICH_DINING_MIN_GAP_MSNoMinimum gap between requests in milliseconds. Default is 500.
UMICH_DINING_TIMEOUT_MSNoPer-request timeout in milliseconds. Default is 20000.
UMICH_DINING_USER_AGENTNoThe User-Agent to use when requesting dining.umich.edu. Default is python-requests/2.32.3.
UMICH_DINING_MAX_RETRIESNoNumber of retries after the first attempt. Default is 3.
UMICH_DINING_TTL_PAST_MSNoCache lifetime of a past menu in milliseconds. Default is 86400000.
UMICH_DINING_TTL_TODAY_MSNoCache lifetime of today's menu in milliseconds. Default is 900000.
UMICH_DINING_TTL_FUTURE_MSNoCache lifetime of a future menu in milliseconds. Default is 21600000.
UMICH_DINING_MAX_CONCURRENCYNoMaximum number of requests in flight. Default is 2.
UMICH_DINING_TTL_REGULAR_HOURS_MSNoCache lifetime of the weekly schedule in milliseconds. Default is 86400000.

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_locationsA

List the dining halls and their service periods for the day, with whether they are open now. openNow is evaluated at the current campus-local time. The entries are the halls and their service periods for the day. stale means a page was served from an expired cache entry; asOf is the age of the data. Cafes, markets, bakeries, grills, prices and meal plans are out of scope.

get_menuA

Get the menu of one dining hall: meals, stations and dishes. Rows: [name, traits, allergens, mhealthyTier, calories, servingSize, servingSizeGrams] plus nutrients. traits/allergens are codes; read key. With no meal, the meal being served now is returned (or next if closed). Date defaults to today; site publishes today-3..+14. stale means expired cache; asOf data age. Allergens advisory.

filter_dishesB

Filter dining hall menus by allergen, trait, nutrient density, carbon, calories, sodium and name. All params optional. Allergens/traits are slugs; read key for codes. min_mhealthy: keep tiers >= (1-5). max_carbon: keep tiers <= (1 low, 2 medium, 3 high). nutrients: range per nutrient. query: case-insensitive substring. Rows are coded arrays; read key. stale means expired cache; asOf data age. Allergens advisory.

list_nutrition_fieldsA

List the canonical nutrient identifiers, their units, the alternative units a threshold may be written in, and the Daily Value basis of the published micronutrients. A constraint on a nutrient excludes the dishes that publish no value for it, and a value the site writes as "trace" or "< 1%" is missing rather than zero. sortFields includes servingSize, mhealthyTier and ratio syntax "a:b".

get_hoursA

Get the service periods published for a dining hall on the requested day, plus the regular weekly schedule. Accepts one hall, a list, or none for all (like filter_dishes). today is the day's published service periods and regular is the weekly schedule. A hall that cannot be read is reported in the failures and the other halls are still returned. The response carries the weekday name of the requested date. stale means the data is from cache and may be slightly old, but is still the best available; asOf is the age. Re-call only if you need guaranteed-fresh data.

get_dining_occupancyA

Real-time occupancy for monitored dining halls: current count, patron flow, total capacity, and percent full. Only halls with sensors are returned.

find_open_nowA

The dining halls that are serving at the given time of day, and the ids of the ones that are not, with the service periods of the day for the halls that are open. Without arguments the current campus-local time is used, and the response says which time it resolved. open carries the hall details and today's periods; closed carries hall ids only. stale means a page was served from an expired cache entry; asOf is the age of the data.

get_item_nutritionA

Get the full nutrition panel of one dish. Name matched case-insensitively; exact match wins, else unique substring. Dish row uses the same coded layout as the sweep tools. Panel values are numbers with one units map; micronutrient amount is the derived amount, with the published percent behind it. asOf data age. Allergens advisory. Use this only when you need the full panel for a single dish. For multiple dishes, use filter_dishes with include_nutrients instead.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
dining-hallsThe ten supported University of Michigan dining halls, with their code.
taxonomyThe allergen, trait and station vocabularies of the dining site with their codes, the trait implication closure and the caveat that applies to all allergen data.

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation3/5

Three tools (list_locations, get_hours, find_open_now) all return halls with service periods, and their boundaries rely on subtle distinctions like openNow vs. time-of-day filtering vs. weekly schedule. get_menu vs filter_dishes and get_item_nutrition vs list_nutrition_fields are better separated thanks to explicit cross-references in the descriptions, but the hours/location cluster remains overlapping.

Naming Consistency5/5

All eight tools follow a consistent snake_case verb_noun pattern (get_menu, list_locations, filter_dishes, find_open_now), with verb choice reflecting intent (get for single-resource, list for enumeration, filter/find for queries). No naming style mixing.

Tool Count5/5

Eight tools is well-scoped for a dining-hall domain: menu retrieval, filtering, hours, locations, occupancy, and nutrition each get focused coverage without redundancy in count. No tool feels like filler.

Completeness4/5

The surface covers menus, filtering, nutrition fields/panels, hours, location status, and occupancy, with cafes/markets/prices explicitly declared out of scope. Minor gaps: no multi-hall raw menu retrieval (only filter_dishes sweep) and dish lookup is name-based only, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues