Skip to main content
Glama
jspuij

ijburgeats-mcp

by jspuij

reorder

Adds items from a past order to the cart by matching names against the current menu, flags unavailable items and choices needed, then defers ordering to review_order.

Instructions

Add the items of a past order (order_id from get_order_history) to the cart, matched by name against the current menu. Reports items no longer on the menu (skipped) and items whose required choice could not be matched (needs_choice: ask the user, then use add_to_cart with the matched ids plus their pick). Nothing is ordered; continue with review_order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Discloses non-obvious behavior beyond annotations: partial failures are reported as skipped/needs_choice rather than erroring, and 'nothing is ordered' clarifies the write scope against the readOnlyHint=false annotation. Output schema exists, so the reported result categories are reinforced rather than uniquely required here.

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?

Dense but front-loaded: primary action first, then edge-case handling, then the terminal caveat ('Nothing is ordered'). Every clause carries routing or failure-mode information; only the nested parenthetical is slightly heavy.

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 one-param cart mutation with an output schema, the description covers the full agent workflow (source of input, partial-match handling, next tool to call) and states the operation is not order placement. Nothing needed to call it correctly 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 0% and the single param is undocumented in the schema, but the description compensates by naming its source (order_id from get_order_history). This is the key semantic an agent needs and it is supplied.

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 (add past order's items to cart) plus the matching mechanism (matched by name against the current menu). Clearly distinct from add_to_cart and get_order_history, and it names the latter as its input source.

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?

Explicitly routes: get order_id from get_order_history, handle needs_choice by asking the user and calling add_to_cart with matched ids plus pick, then continue with review_order. Both the trigger and the follow-up alternatives are given.

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