Peckish
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DD_CLI_PATH | No | Path to the dd-cli binary. If not set, Peckish searches PATH and falls back to ~/.local/bin/dd-cli. | |
| PECKISH_PORT | No | Port for the web server. Default is 4747 (not used by MCP server). | 4747 |
| DD_AGENT_MODEL | No | Model to use for reasoning. Default is claude-sonnet-5. | claude-sonnet-5 |
| DD_AGENT_EFFORT | No | Effort level for the agent: low, medium, high, or max. Default is medium. | medium |
| PECKISH_INTENT_VERBATIM | No | Set to '1' to send verbatim prompts to DoorDash in the intent note. Default is unset (privacy mode). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_addressesA | List the user's saved DoorDash delivery addresses (label, printable address, default flag). Use to resolve 'home'/'work' references. Delivery always uses the account default address. |
| set_default_addressA | Change the ACCOUNT-WIDE default delivery address (persists across app/web). Prompts the user y/N in the terminal before applying. Only call when the user asked to deliver somewhere else. |
| find_addressA | Look up a street address the user typed and get back candidate addresses with place_ids. Use ONLY when the user wants to deliver somewhere not already in list_addresses — check that first. Nothing is saved: pass the chosen candidate's place_id to add_address. |
| add_addressA | Save a candidate from find_address to the user's DoorDash account. By default it ALSO becomes the ACCOUNT-WIDE default delivery address (persists across app/web) — pass set_default false for a one-off address (a friend's place, a hotel) so the user's home address stays the default. Prompts the user for approval first. Confirm the exact address with the user — including apartment/suite accuracy — before calling; a wrong address means a lost order. |
| search_restaurantsA | Search nearby restaurants by free-text query. Searches from the user's default saved address unless address_id or lat/lng is given. Returns store_id, name, distance, delivery_time estimate, rating, and pickup availability (offers_pickup, asap/scheduled_pickup_availability, next_open_time_asap_pickup_ms — use these before promising pickup). Stores with is_link_out=true cannot be ordered through this agent. Restaurant-focused — use find_stores for grocery/retail/pharmacy/pets/alcohol. Filters (dashpass_only, price_tier, distance_preference, max_eta_minutes) narrow server-side — prefer them over asking for 30 results and filtering by hand. |
| get_menuA | Fetch a restaurant's menu: returns menu_id (needed for cart adds and item details), store_is_open, the store's active promotions and which items qualify, order-ahead/schedule-ahead windows, and items with item_id, name, description, price, category, has_required_modifiers, orderability, and popularity (is_popular, popularity_rank, popular_modifications). Large menus are capped — pass |
| get_restaurant_item_detailsA | Full details for one restaurant menu item: price, description, any promotion it qualifies for, and extras[] customization groups (each with options[] holding option_id choices, min/max selections). REQUIRED before adding any item with has_required_modifiers. Pass selected options[].option_id values as nested_options when adding to cart (never extra_id). |
| get_store_detailsA | Store business metadata incl. printable_address — use when the user needs to know WHICH physical location a store is ('which Starbucks?'). |
| list_cartsA | List the user's open (unsubmitted) carts: cart_uuid, store, items, timestamps (epoch ms). ALWAYS check this before creating a cart at a store — only one open cart per store is allowed; if one exists, ask the user whether to extend or replace it. |
| add_items_to_cartA | Add items to a cart (creates one if no cart_uuid passed and none open at the store). Also the only way to add for a GUEST — see guest_first_name. APPEND semantics: re-adding an item_id SUMS quantities. Items need item_id + item_name + quantity; customizations go in nested_options[] (entries: id, name, quantity, optional recursive options[]). Weight-priced items (deli, butcher, produce) take a decimal quantity in their own unit — the final charge is by actual weight, so tell the user the price is an estimate. Items the merchant ships with default modifications keep them unless you pass default_handling 'exact'. On required-options failure the response lists required_options[] — ask the user to choose, then retry. Check list_carts first. |
| list_cart_guestsA | Names of the guests Peckish is tracking on a group cart — people with no DoorDash account whose items the host added for them. Use to answer 'who has ordered?' and to check a name before adding again (same name = same sub-cart). Real participants who joined with their own login are not listed; their items show in show_cart. |
| show_cartA | Show cart contents (no pricing — use preview_order for that). items[].id is the cart-LINE id used by remove_cart_item; items[].item_id is the menu item id. Don't swap them. |
| remove_cart_itemA | Remove one line item from a cart. cart_item_id = items[].id from show_cart (NOT the menu item_id). |
| delete_cartA | Empty a cart and abandon it (cart_uuid becomes invalid). Only on user request/consent — e.g. replacing a stale cart at the same store. |
| preview_orderA | Authoritative pricing + logistics for a cart (read-only, no charge): display_summary (show VERBATIM to the user), quote {net_total_before_tip = the real total, line_items fee breakdown, tips_suggestion (cents), delivery_availability ETAs, credits, PIN requirement, work budgets}, and default_card (name it by display_name). Re-run after ANY cart change. Pass include_work_benefits when the user mentions work/office/company/team/expense or delivers to a Work address. Budget checks: compare the user's cap against net_total_before_tip (tip adds on top). |
| submit_orderA | Place the order — charges the user's real payment method. HARD GATE: the terminal asks the user to type 'yes'; a decline returns declined_by_user. Call ONLY after: (1) preview shown, (2) tip explicitly confirmed (delivery; pickup = 0 without asking), (3) payment method named to the user, (4) the user clearly said to place it. NOT idempotent — never retry without checking get_order_status first. Report success only when the response's lifecycle.order_created is true. |
| get_checkout_urlA | Browser checkout URL for a cart — FALLBACK ONLY, for edits the CLI can't make: swap payment method, opt out of credits, change address mid-checkout, enter a promo code, or finish an age-restricted order. Do not offer by default after previews. |
| get_order_historyA | Past orders (default 50 orders / 90 days, max 100 / 365): store, items (item_id, name, quantity), order_date, order_fulfilled_at, order_uuid, is_reorderable, fulfillment_type, is_group_order. Rows carry no total and no per-item price — use get_receipt for money. Use to analyze habits ('my usual'), find reorder targets, or locate a specific past order (scan all results; if page_full, re-query higher/wider). |
| reorderA | Create a NEW cart from a past order. Check list_carts for the store first (one open cart per store). Afterwards ALWAYS preview_order and diff items vs the original — out-of-stock items drop silently; call out any drops before asking about submitting. |
| get_order_statusA | Track a submitted order. The order is under |
| get_receiptA | Itemized receipt for one past order (subtotal, fees, tax, tip, total, card last4). Sensitive — show only to the user. |
| list_payment_methodsA | Saved cards + which is default. Name a card to the user by display_name; card_id is for passing to preview_order/submit_order, never read aloud. Cards ONLY — wallets/gift cards are invisible here; never conclude 'no payment method' from an empty list (offer checkout-url instead). Skip any card with is_expired true. |
| set_default_payment_methodA | Change the ACCOUNT-WIDE default card — persists across the DoorDash app/web and every future order. Use ONLY when the user asks to change their default. To pay for ONE order on another card, pass card_id to preview_order and submit_order instead. Prompts the user at the terminal. Re-preview any existing cart afterwards. Needs dd-cli >= 0.2.6. |
| find_item_across_retailersA | Compare ONE grocery/retail item's price across nearby stores — use when the user asks who has something cheapest. Retail and grocery only, never restaurants. To search inside one store already chosen, use find_items instead. Only compare prices across rows with the same purchase_type AND measurement_unit; rows with unavailable_reason have no confirmed price. Empty results means no nearby store carries it — widen radius before saying it doesn't exist. Needs dd-cli >= 0.2.6. |
| get_meal_manager_calendarsA | Corporate Meal Manager (DoorDash for Work) calendars and their dated group carts. An EMPTY calendars list is the normal result for anyone not on a Meal Manager team — report that plainly, never as an error. Join a listed cart via add_items_to_cart with its cart_id as cart_uuid plus group_cart. Needs dd-cli >= 0.2.6. |
| list_doubledash_optionsA | Stores whose items can join an EXISTING delivery with no extra delivery fee. Offer this after an order is placed — get_order_status carries a |
| search_doubledashA | Search for a specific item across the stores that can join a placed order's delivery, when the suggested items in list_doubledash_options don't cover what the user wants. Placed orders only. Pass the SAME query to add_doubledash_item. Needs dd-cli >= 0.2.6. |
| add_doubledash_itemA | Add ONE item from an offered store to an existing delivery. Returns a cart_id — then preview_order it as cart_uuid, show the user the summary, and submit only on their go-ahead. If the response has link_confirmed false the item did NOT attach: do not preview, do not submit, and do not add it again — tell the user. Needs dd-cli >= 0.2.6. |
| list_promosA | Campaign promos eligible at a store for this user (may be empty — that's normal). To apply one to a cart use apply_promo with all four ids; preview_order shows what's actually discounting a cart. |
| apply_promoA | Apply a promo to a cart. Campaign promos from list_promos need promo_code + campaign_id + ad_group_id + ad_id; user-typed codes need only promo_code. On failure: check subtotal vs the promo's stated minimum. Re-preview after. |
| remove_promoA | Remove an applied promo (pass the same ids used at apply). Re-preview after. |
| find_storesA | Discover NON-restaurant stores near the default address (16-mile radius): grocery (default), alcohol, convenience, pets, retail, or nv (all non-restaurant). distance_meters is meters — divide by 1609 for miles. Restaurant queries belong in search_restaurants. |
| find_itemsA | Search items inside ONE retail/grocery store by name — returns item_ids for cart adds, keyed per query. Empty for restaurants (use get_menu there). |
| get_grocery_item_detailsA | Details for a retail/grocery item (pricing, options) + menu_id fallback source for grocery cart adds. Restaurants: use get_restaurant_item_details. |
| build_grocery_listA | Resolve a grocery/pantry list to real products at one store (raw ingredients only — NOT restaurant food). STATELESS: every call REPLACES the list, so always send the complete list. Weight items take decimal quantity (0.5 = half lb) only when purchase_type is MEASUREMENT; eggs are per dozen. Verify resolved items[].name with the user before carting. Vague asks: cap at 20 items and show your picks. |
| start_signinA | Fix a broken DoorDash sign-in WITHOUT sending the user to a terminal. Call when a tool fails with 'sign-in is missing or expired' AND the user wants to continue: after they approve a confirmation prompt, this launches |
| save_preferenceA | Persist a durable user preference across sessions (dietary rule, allergy, budget habit, tip default). Save when the user states one ('no mushrooms ever', 'I usually tip 20%'). Keep each note short and self-contained. |
| remove_preferenceA | Delete one saved user preference when the user retracts or reverses it ('actually, mushrooms are fine now', 'stop defaulting to pickup'). Pass the note's exact stored text — as listed in the session context or returned by save_preference — since matching is by exact text (case-insensitive). Returns the remaining preferences so you can confirm what's still active. |
| get_session_contextA | Load the user's ordering context: default delivery address, saved dietary/budget preferences, and current local time. Call once at the start of an ordering conversation. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 39 tools
The tools are mostly clearly separated by resource and action, and descriptions explicitly route restaurant vs. retail, one-store vs. cross-store, and cart preview vs. cart contents. A few adjacent pairs remain potentially confusable, such as preview_order vs. show_cart vs. get_checkout_url and add_items_to_cart vs. add_doubledash_item, but the descriptions usually resolve them.
Almost all names use consistent snake_case with a verb_noun pattern, such as list_carts, remove_cart_item, get_order_status, and save_preference. Minor deviations like reorder and a few less explicitly noun-shaped names keep it from perfect consistency.
The domain is broad, but 39 tools is well above a well-scoped surface and crosses into a heavy, fragmented toolset. Many niche variants for retail, DoubleDash, promotions, addresses, and carts multiply the surface area even though each has a stated purpose.
Core ordering lifecycle coverage is strong: search, menus, item details, carts, promos, addresses, payment, submit, status, receipt, history, reorder, and preferences are all present. There are still gaps such as no explicit order-cancellation tool, no address deletion/editing beyond add/default, and no dedicated tip-setting or scheduling operation.