Skip to main content
Glama

order_lunch

Places a lunch order for a student the authenticated user is a guardian of. Requires menu_item_id (from get_daily_menu) and menu_date (YYYY-MM-DD). Optionally specify student_id (defaults to the user's first student if only one). Payment is deducted from the wallet. This is a FINANCIAL + WRITE operation - always confirm the order details (student, item, date, quantity) with the user before calling. Idempotent: duplicate calls with the same idempotency context will not create duplicate orders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quantityNoNumber of servings (default 1)
menu_dateYesYYYY-MM-DD
student_idNoStudent ID (must be your own student; from get_user_info)
menu_item_idYesMenu item ID from get_daily_menu

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
itemsNo
statusNo
menuDateNo
studentIdNo
schoolSlugNo
itemTotalCentsNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description reveals that this is a financial write operation, payment is deducted from the wallet, the agent must confirm details with the user before calling, and duplicate calls with the same idempotency context are safe. This is rich, actionable behavioral context and does not contradict the annotations.

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

Conciseness5/5

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

The description is three focused sentences with no filler. It front-loads the action, then covers required data, optional parameters, side effects, confirmation requirements, and idempotency — every sentence earns its place.

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?

For a financial write tool with an output schema present, the description covers everything needed to invoke it correctly: required parameters, where to get them, default behavior, side effects, confirmation obligation, and idempotency behavior. No critical gap remains.

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?

The schema already documents all parameters with 100% coverage, so the baseline is 3. The description adds value above the schema by explaining where menu_item_id and student_id come from and the student_id default behavior, making it more helpful than the schema alone.

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?

The description uses a specific verb ('Places') and resource ('a lunch order') and defines the guardian scope clearly. It does not explicitly distinguish itself from siblings like create_draft_order or finalize_order, so it falls short of 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?

The description gives clear prerequisites and data provenance: menu_item_id must come from get_daily_menu, menu_date is YYYY-MM-DD, and student_id defaults to the user's first student if only one. It does not explicitly state when-not-to-use or name alternatives, so it misses the top score.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.6/5.0
Disambiguation3/5

Most tools target distinct resources, but get_wallet_balance and get_wallet_status overlap heavily, and create_draft_order/order_lunch offer two order-creation paths that could be confused. get_orders/get_daily_orders/get_monthly_orders also share retrieval territory, though role/date filters help.

Naming Consistency4/5

Snake_case verb_object naming is used throughout and most names are predictable (create_*, update_*, get_*, list_*). Minor inconsistencies exist: list_ vs get_ for menu reads, order_lunch vs create_draft_order, and sign_up_to_volunteer breaks the simple verb_object pattern.

Tool Count3/5

25 tools is on the heavy end, and several could be merged, such as get_wallet_balance/get_wallet_status and some order-retrieval variants. The broad school-lunch/event/wallet domain justifies much of the surface, but it still feels slightly over-scoped.

Completeness4/5

The lunch order lifecycle (draft, finalize, cancel, view) and admin menu/event workflows are well covered. Minor gaps: no direct event-detail or shift-list tool is provided for sign_up_to_volunteer, and restaurants lack update/delete operations.