Skip to main content
Glama
Paxaver MCP Server

Paxaver MCP Server

Official

Get Lunch Menu

get_lunch_menu
Read-only

Fetch orderable lunch menus with item prices, dietary tags, remaining quantity, and choice groups for a school by date or month, returning menu_item_id values needed to create lunch order drafts.

Instructions

Returns the orderable lunch menu for the user's active school, or for school_slug when the user belongs to another school - item names, prices, dietary tags, remaining quantity, and each item's choice groups (toppings, sizes, ...). Pass date for a single day or month for a per-day listing across the whole month (today if neither is given); if both are passed, date wins. The menu_item_id values returned are required by create_lunch_order_draft; choiceGroups give the group_id and option_id values for selected_choices. For orders already placed, use list_my_lunch_orders.

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_lunch_menu"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoSingle day to show, YYYY-MM-DD; omit when using month
monthNoCalendar month to show, YYYY-MM; omit when using date. Today is used when neither is given
school_slugNoSchool slug (from get_my_context), a school the user belongs to; defaults to the active school

Output Schema

NameRequiredDescriptionDefault
itemsNoItems orderable on the requested date (date queries and the default today)
calendarNoMonth queries only: orderable items grouped by date (YYYY-MM-DD). Choice groups are not included here - query a date for them
closedDaysNoMonth queries only: map of YYYY-MM-DD to the reason the school is closed
orderingWindowNoOrdering lead-time window for the school

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv2.7.8
    • addedInput schema / properties / school_slug
      Added value: +{
      +  "description": "School slug (from get_my_context), a school the user belongs to; defaults to the active school",
      +  "type": "string"
      +}
    • addedOutput schema / properties / calendar
      Added value: +{
      +  "additionalProperties": {
      +    "properties": {
      +      "items": {
      +        "items": {
      +          "properties": {
      +            "availableQty": {
      +              "type": [
      +                "integer",
      +                "null"
      +              ]
      +            },
      +            "id": {
      +              "description": "Menu item ID",
      +              "type": "string"
      +            },
      +            "itemType": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "description": "Item display name",
      +              "type": "string"
      +            },
      +            "orderDeadlineUtc": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "orderable": {
      +              "type": "boolean"
      +            },
      +            "orderableReason": {
      +              "description": "Why the item is not orderable, when orderable is false",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "priceCents": {
      +              "type": "integer"
      +            },
      +            "restaurantName": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "restaurantId": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "description": "Month queries only: orderable items grouped by date (YYYY-MM-DD). Choice groups are not included here - query a date for them",
      +  "type": "object"
      +}
    • addedOutput schema / properties / closedDays
      Added value: +{
      +  "description": "Month queries only: map of YYYY-MM-DD to the reason the school is closed",
      +  "type": "object"
      +}
    • removedOutput schema / properties / date
      Removed value: -{
      -  "description": "Date this menu applies to, YYYY-MM-DD",
      -  "type": "string"
      -}
    • addedOutput schema / properties / items
      Added value: +{
      +  "description": "Items orderable on the requested date (date queries and the default today)",
      +  "items": {
      +    "properties": {
      +      "availableQty": {
      +        "description": "Remaining portions; null means unlimited",
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "calories": {
      +        "description": "Calorie count",
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "choiceGroups": {
      +        "description": "Option groups the item asks for (toppings, sizes, ...). Order picks go in selected_choices on the draft tools; every required group needs a pick",
      +        "items": {
      +          "properties": {
      +            "id": {
      +              "description": "Choice group ID - send as group_id in selected_choices",
      +              "type": "string"
      +            },
      +            "multiple": {
      +              "description": "True when the group accepts several picks",
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "description": "Group display name (e.g. Toppings)",
      +              "type": "string"
      +            },
      +            "options": {
      +              "items": {
      +                "properties": {
      +                  "id": {
      +                    "description": "Option ID - send as option_id in selected_choices",
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "description": "Option display name",
      +                    "type": "string"
      +                  },
      +                  "priceAdjustmentCents": {
      +                    "description": "Price change per pick, in cents; may be negative",
      +                    "type": [
      +                      "integer",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "required": {
      +              "description": "True when the item cannot be ordered without a pick from this group",
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "combo": {
      +        "description": "Combo composition when isCombo is true",
      +        "properties": {
      +          "comboPriceCents": {
      +            "type": "integer"
      +          },
      +          "mainItemId": {
      +            "type": "string"
      +          },
      +          "sideItemIds": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "dailySortOrder": {
      +        "type": "integer"
      +      },
      +      "description": {
      +        "description": "Item description",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "dietaryTags": {
      +        "description": "Dietary labels (e.g. vegetarian, halal)",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "id": {
      +        "description": "Daily-menu entry ID",
      +        "type": "string"
      +      },
      +      "imageUrl": {
      +        "description": "Item image URL",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "isCombo": {
      +        "description": "True when the item is a fixed combo",
      +        "type": "boolean"
      +      },
      +      "isItemAvailable": {
      +        "description": "Whether the item is orderable",
      +        "type": "boolean"
      +      },
      +      "itemType": {
      +        "description": "Item kind (meal, drink, treat)",
      +        "type": "string"
      +      },
      +      "menuItemId": {
      +        "description": "Menu item ID - pass as menu_item_id to the draft tools",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Item display name",
      +        "type": "string"
      +      },
      +      "notes": {
      +        "description": "Kitchen notes for the item",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "orderDeadlineUtc": {
      +        "description": "Order deadline, ISO timestamp",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "priceCents": {
      +        "description": "Menu price in cents before choice adjustments",
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "restaurantName": {
      +        "description": "Restaurant offering the item",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sortOrder": {
      +        "type": "integer"
      +      },
      +      "toppings": {
      +        "description": "Topping picks: plain names (legacy rows and CSV imports) or {name, costCents} objects",
      +        "items": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "properties": {
      +                "costCents": {
      +                  "type": "integer"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / menuItems
      Removed value: -{
      -  "description": "Items orderable on that date",
      -  "items": {
      -    "properties": {
      -      "availableQty": {
      -        "description": "Remaining portions; null means unlimited",
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "dailyMenuId": {
      -        "description": "Daily-menu entry ID",
      -        "type": "string"
      -      },
      -      "dietaryTags": {
      -        "description": "Dietary labels (e.g. vegetarian, halal)",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "menuItemId": {
      -        "description": "Menu item ID for ordering tools",
      -        "type": "string"
      -      },
      -      "menuItemName": {
      -        "description": "Item display name",
      -        "type": "string"
      -      },
      -      "priceCents": {
      -        "description": "Sale price in cents",
      -        "type": "integer"
      -      },
      -      "restaurantName": {
      -        "description": "Restaurant offering the item",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / orderingWindow
      Added value: +{
      +  "description": "Ordering lead-time window for the school",
      +  "properties": {
      +    "maxDate": {
      +      "description": "Latest orderable date, YYYY-MM-DD",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "minDate": {
      +      "description": "Earliest orderable date, YYYY-MM-DD",
      +      "type": "string"
      +    },
      +    "minLeadDays": {
      +      "type": "integer"
      +    },
      +    "orderingPaused": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Addedv2.5.1

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the read-only annotations, the description discloses the returned fields (names, prices, dietary tags, remaining quantity, choice groups) and the downstream contract: menu_item_id is required by create_lunch_order_draft and choiceGroups supply group_id/option_id values. This is substantive behavioral context that annotations alone do not provide.

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?

The purpose and return contents are front-loaded, and every sentence carries useful information. The paragraph is dense with semicolons and could be split for readability, but there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a moderate-complexity read tool with three optional parameters and an output schema, the description covers selection rules, defaults, return contents, and downstream usage. Nothing an agent needs in order to call it correctly or interpret the result is missing.

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, but the description adds real meaning: it clarifies the date/month precedence rule ('if both are passed, date wins') and the today default, which the schema descriptions only partially cover. It also explains the school_slug fallback to the active school.

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?

The description states a specific verb and resource ('Returns the orderable lunch menu'), names the scope (active school or school_slug), and lists exactly what the response contains. It also distinguishes this tool from siblings by naming create_lunch_order_draft for ordering and list_my_lunch_orders for placed orders.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly explains the date-vs-month selection rule, the default when neither is passed, and the precedence when both are passed ('date wins'). It also routes the agent to alternatives: use list_my_lunch_orders for orders already placed, and feed returned menu_item_id/choice groups into create_lunch_order_draft.

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