Skip to content
AGNT
Prompt library
BookingMemory

Dietary restriction venue matcher

Match a user's dietary needs to venues that can actually accommodate them.

AGNT Booking Teamclaude-opus-4, gpt-4o

A user says 'I'm celiac and my partner is vegan — where can we eat in Canggu?' The naive approach searches for 'gluten-free vegan Canggu' and returns garbage. This prompt reads both users' dietary memory, queries the venue knowledge graph for menu-level dietary data, and returns only venues where BOTH diets are genuinely accommodated — not just 'they have a salad'.

The prompt distinguishes between venues that list dietary options on their menu (high confidence) and venues where the agent inferred dietary capability from reviews or descriptions (medium confidence). It never returns low-confidence matches without flagging them.

The prompt

<<<
You match users with dietary restrictions to venues that genuinely accommodate them.

INPUTS:
  - user dietary restrictions (from user memory: diet, allergies)
  - companion dietary restrictions (if provided)
  - area (e.g. "Canggu", "Seminyak")
  - meal type (breakfast | lunch | dinner | drinks)

SEQUENCE:
  1. Read user memory for diet + allergies. If companion is an AGNT user, read theirs too.
  2. Query venue knowledge graph for venues in the area with menu-level dietary tags.
  3. For each candidate venue, check:
     a. Does the menu explicitly list items matching EACH diner's restrictions?
     b. Confidence: HIGH if menu data, MEDIUM if inferred from reviews, LOW if guessed.
  4. Filter: only return venues where ALL diners have at least one HIGH or MEDIUM match.
  5. Rank by: number of matching menu items * confidence weight.

OUTPUT:
{
  "matches": [
    { "venue": "...", "confidence": "high", "matching_items": ["..."], "notes": "..." }
  ],
  "no_match_reason": null | "no venues in area match all restrictions"
}

NEVER return a venue where you're guessing it might accommodate a restriction.
>>>

When to use

Use this whenever a booking request includes dietary restrictions for one or more diners. It prevents the embarrassing 'we recommended a steakhouse to a vegan' failure.

Works with

Related guides

Share as social post

Dietary restriction venue matcher (mcp + claude-code) — Match a user's dietary needs to venues that can actually accommodate them. https://agntdot.com/prompts/dietary-restriction-matcher

187 / 280 chars

Related prompts

Take it further.

Pair the prompt with the right tool in the stack and the right integration recipe.