Skip to main content
Glama
aserper

grubhub-mcp

by aserper

remove_from_cart

Remove a specific line item from a Grubhub cart using the cart ID and line item ID to update an order before checkout.

Instructions

Remove an item from the cart.

Args: cart_id: The cart ID line_item_id: The line item ID to remove

Input Schema

NameRequiredDescriptionDefault
cart_idYes
line_item_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.7

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden. It implies a mutation but says nothing about required permissions, whether the line item must exist, whether removal is reversible, or what errors to expect.

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

Conciseness3/5

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

The description is short and front-loaded with the purpose, which is good. However, the Args block duplicates the input schema verbatim without adding information, so part of the text does not earn its place.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating tool with no annotations and 0% schema description coverage, the definition is too thin. An output schema exists so return values need not be explained, but nothing covers permissions, preconditions, or failure modes an agent would need.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate and only supplies bare labels ('The cart ID', 'The line item ID to remove'). This is essentially name restatement with no format, origin, or sourcing detail for either required parameter.

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 gives a specific verb+resource ('Remove an item from the cart'), which clearly distinguishes it from siblings like add_to_cart and update_cart_item. It is clear but does not explicitly name those alternatives.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no routing to alternatives such as update_cart_item (for quantity changes) versus remove_from_cart. The agent must infer the choice from the verb alone.

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