Skip to main content
Glama

find_menu_items

Search the imported dining-hall menu by date and meal for published per-serving nutrition before estimating a meal. Returns up to 15 matching dishes or notes when no menu is imported.

Instructions

Search the imported dining-hall menu for a date (default today) for published per-serving nutrition. Use it before estimating anything eaten at the dining hall. Returns up to 15 matches, or a note when no menu was imported for that date.

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": {
      "query": "<query>"
    },
    "name": "find_menu_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoLocal date YYYY-MM-DD. Omit for today.
mealNoMeal period as the menu names it, e.g. "Dinner"
queryYesPart of a dish name, e.g. "parm"

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, but it does useful work: it discloses the result cap ('up to 15 matches'), the empty state ('a note when no menu was imported for that date'), and the date default. It does not state whether matching is case-insensitive or substring-based, whether omitting 'meal' searches all periods, or whether the call has any cost — gaps that matter for a no-annotation tool.

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?

Three tight sentences: purpose, usage cue, then return behavior. The most decision-relevant information is front-loaded and nothing is redundant.

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, so return values need not be explained, and the description still summarizes the cap and the no-menu case. For a three-parameter lookup with full schema coverage, the only remaining ambiguity is matching semantics and default meal scope.

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

Parameters3/5

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

Schema coverage is 100% and every parameter is described there, including the date format and meal naming convention, so the schema does the heavy lifting. The description only restates the date default ('default today') and the notion of searching, adding little meaning beyond the structured fields.

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 (search), a specific resource (the imported dining-hall menu), and the target attribute (published per-serving nutrition). An agent can distinguish this read-only lookup from siblings like log_meal or edit_meal purely from the wording.

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 an explicit usage cue: 'Use it before estimating anything eaten at the dining hall,' which pins down when to reach for it in a workflow. It does not name a competing alternative or state when not to use it, so it stops short of a 5.

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