Skip to main content
Glama

EasyEats Ordering

Build an order and get a checkout link

create_cart

Build the order and get a checkoutUrl for the person. Nothing is charged and no order is placed: the person opens the link, signs in and pays. pickupType asap is only for an event happening now; preorder needs a pickupTime from get_pickup_times. If something is wrong you get a list of problems to fix. The link works for up to 2 hours.

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": {
      "restaurantId": "<restaurantId>",
      "eventId": "<eventId>",
      "pickupType": "<pickupType>",
      "items": "<items>"
    },
    "name": "create_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesEach line is a menu item {menuItemId, quantity} (or {menuItemId, amount} when soldBy is amount), or a combo {comboId, quantity, picks: [{comboPicklistId, menuItemId, optionAnswerIds, note}]} with one pick per picklist.
eventIdYesFrom find_restaurants. Use an event with orderable true.
agentNameNoYour assistant's name, e.g. Claude or ChatGPT. Shown to the restaurant in reports.
pickupTimeNoFor preorder: pickupTimeUtc (or unix) from get_pickup_times.
pickupTypeYes
restaurantIdYesFrom find_restaurants.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations only state readOnlyHint=false and destructiveHint=false; the description adds the crucial lifecycle facts that nothing is charged, no order is placed, the human must open the link and pay, and the link lives for up to 2 hours. It also discloses the failure mode ('you get a list of problems to fix'), which is behavior the annotations cannot convey.

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?

Five short sentences, front-loaded with the outcome and its safety implications, then the pickupType rule, then error shape, then link lifetime. No filler and nothing that repeats the schema verbatim.

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?

With no output schema, the description carries the return-value burden and does so: it names checkoutUrl, the list of problems on failure, and the 2-hour validity window. For a 6-parameter creation tool at 83% schema coverage, an agent has everything needed to call it correctly and set expectations.

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 already 83%, so the baseline is 3; the description still earns credit by explaining the pickupType enum semantics and the source format of pickupTime ('pickupTimeUtc (or unix) from get_pickup_times'). It adds little about restaurantId/eventId beyond the schema, but the enum and time-format guidance is genuine added meaning.

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?

The description opens with a specific verb+resource+outcome: 'Build the order and get a checkoutUrl for the person.' Combined with the immediate clarification that nothing is charged and no order is placed, an agent can distinguish this intent-creating tool from the read-only siblings (get_menu, find_restaurants, get_pickup_times) without opening the schema.

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?

It gives explicit conditional routing: 'pickupType asap is only for an event happening now; preorder needs a pickupTime from get_pickup_times.' That names the prerequisite and the sibling tool that supplies it, so the agent knows exactly which branch to take and where to get the missing value.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources