Skip to main content
Glama
umich-dining-mcp

umich-dining-mcp

by esreddy2

Get dining hall hours

get_hours
Read-onlyIdempotent

Retrieve published service periods for a dining hall on a given day plus its regular weekly schedule, for one, several, or all halls; failed halls are reported without blocking others.

Instructions

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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoThe day to read. Defaults to today.
hallNoHalls: one, a list, or none for all.

Output Schema

NameRequiredDescriptionDefault
asOfNo
dateYes
hallsYes
weeklyNo
weekdayNo
failuresYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / properties / hall / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "bursley",
      -      "east-quad",
      -      "markley",
      -      "mosher-jordan",
      -      "north-quad",
      -      "south-quad",
      -      "twigs-at-oxford",
      -      "wolverine-village",
      -      "lawyers-club",
      -      "martha-cook"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "enum": [
      -        "bursley",
      -        "east-quad",
      -        "markley",
      -        "mosher-jordan",
      -        "north-quad",
      -        "south-quad",
      -        "twigs-at-oxford",
      -        "wolverine-village",
      -        "lawyers-club",
      -        "martha-cook"
      -      ],
      -      "type": "string"
      -    },
      -    "maxItems": 10,
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "maxItems": 10,
      +    "type": "array"
      +  }
      +]
  2. Changed17 schema fields changedv0.1.1
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / date / description
      Previous value: -"Calendar date in YYYY-MM-DD. The site publishes menus for today-3 days to today+14 days."New value: +"The day to read. Defaults to today."
    • addedInput schema / properties / hall / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "bursley",
      +      "east-quad",
      +      "markley",
      +      "mosher-jordan",
      +      "north-quad",
      +      "south-quad",
      +      "twigs-at-oxford",
      +      "wolverine-village",
      +      "lawyers-club",
      +      "martha-cook"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "enum": [
      +        "bursley",
      +        "east-quad",
      +        "markley",
      +        "mosher-jordan",
      +        "north-quad",
      +        "south-quad",
      +        "twigs-at-oxford",
      +        "wolverine-village",
      +        "lawyers-club",
      +        "martha-cook"
      +      ],
      +      "type": "string"
      +    },
      +    "maxItems": 10,
      +    "type": "array"
      +  }
      +]
    • addedInput schema / properties / hall / description
      Added value: +"Halls: one, a list, or none for all."
    • removedInput schema / properties / hall / enum
      Removed value: -[
      -  "bursley",
      -  "east-quad",
      -  "markley",
      -  "mosher-jordan",
      -  "north-quad",
      -  "south-quad",
      -  "twigs-at-oxford",
      -  "wolverine-village",
      -  "lawyers-club",
      -  "martha-cook"
      -]
    • removedInput schema / properties / hall / type
      Removed value: -"string"
    • addedOutput schema / properties / asOf
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / failures
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      },
      +      "hall": {
      +        "enum": [
      +          "bursley",
      +          "east-quad",
      +          "markley",
      +          "mosher-jordan",
      +          "north-quad",
      +          "south-quad",
      +          "twigs-at-oxford",
      +          "wolverine-village",
      +          "lawyers-club",
      +          "martha-cook"
      +        ],
      +        "type": "string"
      +      },
      +      "hallName": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "hall",
      +      "hallName",
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / halls / items / properties / asOf
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / halls / items / properties / regular
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "hall": {
      -          "enum": [
      -            "bursley",
      -            "east-quad",
      -            "markley",
      -            "mosher-jordan",
      -            "north-quad",
      -            "south-quad",
      -            "twigs-at-oxford",
      -            "wolverine-village",
      -            "lawyers-club",
      -            "martha-cook"
      -          ],
      -          "type": "string"
      -        },
      -        "name": {
      -          "type": "string"
      -        },
      -        "url": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "weekly": {
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "closed": {
      -                "type": "boolean"
      -              },
      -              "days": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "periods": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "closed": {
      -                      "type": "boolean"
      -                    },
      -                    "label": {
      -                      "type": "string"
      -                    },
      -                    "times": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "label",
      -                    "times",
      -                    "closed"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "days",
      -              "periods",
      -              "closed"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "hall",
      -        "name",
      -        "url",
      -        "weekly"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • changedOutput schema / properties / halls / items / properties / today / items / required
      Previous value: -[
      -  "label",
      -  "times",
      -  "closed"
      -]New value: +[
      +  "label",
      +  "times"
      +]
    • addedOutput schema / properties / halls / items / properties / weekday
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / halls / items / properties / weekly
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / halls / items / required
      Previous value: -[
      -  "hall",
      -  "name",
      -  "date",
      -  "today",
      -  "regular",
      -  "stale"
      -]New value: +[
      +  "hall",
      +  "name",
      +  "date",
      +  "today",
      +  "weekly",
      +  "stale"
      +]
    • addedOutput schema / properties / weekday
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / weekly
      Added value: +{
      +  "additionalProperties": {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "closed": {
      +          "type": "boolean"
      +        },
      +        "days": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "periods": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "closed": {
      +                "type": "boolean"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "times": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "label",
      +              "times"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "days",
      +        "periods"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "date",
      -  "halls"
      -]New value: +[
      +  "date",
      +  "halls",
      +  "failures"
      +]
  3. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations by disclosing partial-failure behavior (unreadable halls land in `failures` while others still return), cache staleness semantics with `stale`/`asOf`, and a re-call policy. That is exactly the behavioral context annotations can't express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense and largely front-loaded, but the sentence 'today is the day's published service periods and regular is the weekly schedule' is ambiguous — it explains response keys but reads as if it describes the date parameter, which defaults to today. A little unearned confusion.

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?

An output schema exists, yet the description still clarifies the meaning of `today`, `regular`, `failures`, `stale` and `asOf`, which removes interpretation risk. Coverage is strong for a two-parameter read tool; the only gap is sibling routing.

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 100%, so the baseline is 3; the description still adds value by spelling out the tri-modal hall argument (single, list, or omitted for all) and the date default. Nothing beyond that is added for format or limits, so not a 5.

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?

States a specific verb and resource: returns published service periods for a dining hall on a given day plus the regular weekly schedule. The scope (multiple halls, partial failure) is clear. It doesn't differentiate from siblings like get_menu or find_open_now, which is the only thing keeping it from a 5.

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?

Gives concrete usage rules: pass one hall, a list, or none for all (with filter_dishes as the analogy), and only re-call when guaranteed-fresh data is required. It stops short of saying when to prefer this over get_menu or find_open_now.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.