Skip to main content
Glama
dineoncampus-mcp

dineoncampus-mcp

by Pixel2075

get_item_nutrition

Read-only

Retrieve a menu item's full nutrition label—portion, nutrients, ingredients, diet tags, and allergens—with optional meal and date filters to check campus dining details.

Instructions

Full nutrition label for a menu item: portion, every nutrient, ingredients, diet tags and allergens.

Args: item_name: the item's name. Exact matches win; otherwise any item whose name contains this text. meal: optionally restrict to 'breakfast', 'lunch' or 'dinner'. date: YYYY-MM-DD, 'today', 'tomorrow' or a weekday name. Defaults to today.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "item_name": "<item_name>"
    },
    "name": "get_item_nutrition"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
mealNo
item_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds real value by disclosing what the call returns (portion, every nutrient, ingredients, diet tags, allergens), which no output schema provides. It does not describe behavior on multiple matches or empty results, which is the remaining gap.

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?

Front-loaded purpose sentence followed by a compact Args block; every line carries information. The parenthetical enumeration is slightly dense but not wasteful.

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?

Given three parameters, no output schema, and thin annotations, the definition covers selection semantics, formats, defaults, and returned fields. Only the ambiguous case of substring matching hitting multiple items is left unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, and the description compensates fully: it defines item_name matching precedence (exact wins, else substring), the valid meal values, supported date formats including relative forms, and the default. All three parameters gain meaning not present in the schema.

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?

States a specific verb and resource ('Full nutrition label for a menu item') and enumerates the payload: portion, nutrients, ingredients, diet tags, allergens. An agent can distinguish it from search_menu or calculate_meal_totals without opening a schema.

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

Usage Guidelines3/5

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

Usage is implied by the description ('full nutrition label for a menu item'), but there is no explicit when-to-use vs. alternatives such as search_menu or calculate_meal_totals, nor any stated prerequisites. Adequate but leaves routing to inference.

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