Skip to main content
Glama
aserper

grubhub-mcp

by aserper

reorder

Create a new cart from a previous Grubhub order by order ID, letting you place the same items again without rebuilding the cart.

Instructions

Create a new cart from a previous order for easy reordering.

Args: order_id: The order ID to reorder

Input Schema

NameRequiredDescriptionDefault
order_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.7

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It never says whether the new cart replaces or coexists with an existing cart, whether authentication/customer context is required, or whether the prior order's items and prices are revalidated. For a mutating tool this is a real 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?

The one-sentence summary is front-loaded and free of padding. The trailing Args block restates the parameter in a slightly redundant way but is short and harmless.

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

Completeness3/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 described, and the tool has only one parameter, keeping complexity low. The missing piece is side-effect behavior on any existing cart, which no structured field covers.

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 0% and the schema's only property is the bare title 'Order Id', so the description's 'The order ID to reorder' does add the meaning that it references a prior order. However, it conveys nothing about format, source of the ID, or what happens if the order is unknown, so it is minimal compensation.

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+resource ('Create a new cart from a previous order') and names its distinguishing input, so an agent can tell it apart from create_cart or add_to_cart. It stops short of explicitly contrasting with those siblings, but the 'from a previous order' scoping is enough to disambiguate.

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?

The phrase 'for easy reordering' implies the intent, but there is no explicit when-to-use, when-not-to-use, or named alternative (e.g., create_cart vs. reorder). Usage is inferable from the resource, not stated.

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