Tool reference
Every tool and starter prompt in Dinner Button's MCP server, for any AI assistant that supports MCP connectors: 39 tools and 7 prompts.
Basics
Server: https://dinnerbutton.com/api/mcp (MCP over HTTP, JSON answers).
Sign-in: OAuth 2.1 with PKCE (S256) and dynamic client registration. Scopes dinner.read and dinner.write: the person chooses Read only or Read and change. A read-only connection sees only the Read tools.
Limits: 60 tool calls a minute and 2,000 a day per connection.
Errors: a tool that cannot do something answers with a plain message (an error result) that names the fix, for example an unknown id, an item not on the list, a read-only connection, the store account not connected, or the household's daily AI allowance used up. Nothing is changed when a tool errs.
Background work: recipe imports run in the background; follow them with get_import_status. Dates are YYYY-MM-DD in Mountain Time; the meal plan and shopping list cover the next 7 days.
Who can use it: Dinner Button members, adults 18+ in the United States. The store cart works only with King Soopers and other Kroger-family stores, only adds to the cart, and never charges anything.
Read · 14
Looks only; changes nothing. Available with Read only or Read and change. The assistant asks the person the first time.
Kitchen summary
get_kitchen_summaryReadGets a short overview of the household in Dinner Button: how many people it cooks for and its busy nights, foods it avoids, pantry foods on hand and to use up soon, staples, how many recipes are saved, the planned meals for the next 7 days, how many items are left on the shopping list, and how many of Dinner Button's own recipes they have not tried yet. Use this first to understand the household.
Inputs
None.
Returns: Today's date, household size and busy nights, household preferences, foods avoided, the pantry (on hand, use soon, staples, the soonest use-by dates), how many recipes are saved, how many Dinner Button recipes they have not tried, the next 7 days of meals, and how much is left on the shopping list.
Side effects: None. It only reads.
Search saved recipes
search_recipesReadSearches the household's own saved recipes by words in the title, ingredients, kind of dish or cuisine. Each result has its id, minutes, how much of it the pantry covers, what would need buying, and whether it is a favorite. Leave the query empty to list recipes. Recipes containing foods the household avoids are left out.
Inputs
query(text, optional): Words to look for, for example "chicken" or "soup". Optional.quick_only(true or false, optional): Only recipes of 30 minutes or less with 8 steps or fewer.fewest_to_buy(true or false, optional): Order by fewest new things to buy instead of most covered by the pantry.limit(whole number 1 to 25, optional): How many to return (default 10).
Returns: Matching recipes, each with its id, minutes, how much of it the pantry covers, what would need buying, and whether it is a favorite.
Side effects: None. It only reads.
Get a recipe
get_recipeReadGets one of the household's saved recipes in full: title, servings, minutes, difficulty, ingredient lines and steps, with a link to it in Dinner Button. Also reads one of Dinner Button's own recipes by its id (DB-12) from find_dinner_button_recipes. Give servings to get the amounts for that many people instead of the recipe's own number. Lines marked [AI estimate] were filled in by AI and not checked yet.
Inputs
recipe_id(text, required): The recipe's id from search_recipes or the meal plan, or a Dinner Button recipe's id (DB-12).servings(whole number 1 to 40, optional): Optional: amounts for this many people.
Returns: Title, servings (and the amounts for the servings asked), minutes, difficulty, ingredient lines (AI estimates marked), steps, how many AI estimates are still to check, favorite, times cooked, source link and a link to the recipe. For a Dinner Button recipe not saved yet: its topic, what it is good for, ingredient lines, steps, a picture and how to save it.
Side effects: None. It only reads.
Get the meal plan
get_meal_planReadGets the household's planned meals for seven days, starting today unless another date is given: each day's dinner and any breakfast, lunch or snack, with servings, whether it was made, and whether the day is marked busy.
Inputs
from(text, optional): The first of the seven days, as YYYY-MM-DD. Defaults to today.
Returns: Seven days of planned meals (dinner and any breakfast, lunch or snack), each with its recipe id, servings and whether it was made, and which days are marked busy.
Side effects: None. It only reads.
Get the shopping list
get_shopping_listReadGets the household's shopping list for the next 7 days, grouped by store section. The list is built from the planned meals minus the pantry, plus anything added by hand. Items already ticked off at the store (in the cart, waiting to be put away) are listed separately, and recently bought items are given for buying again.
Inputs
None.
Returns: The items to buy for the next 7 days by store section, with amounts, the items already ticked off at the store (in the cart, waiting to be put away), and recently bought items for buying again.
Side effects: None. It only reads.
Get the list to paste into a store
get_list_for_storeReadGets the shopping list for the next 7 days as plain text ready to paste into another store's app or shopping assistant, such as Sparky in the Walmart or Sam's Club app: one item per line with its amount, using the words stores search by (fresh, frozen, canned). Also gives links to Dinner Button's Walmart and Sam's Club pages, where the person can copy the same list with one tap and tick items off as they go in the cart.
Inputs
None.
Returns: The shopping list as plain text, one item per line with its amount, ready to paste into another store's app or shopping assistant.
Side effects: None. It only reads.
Get the pantry
get_pantryReadGets what the household has at home: foods on hand (with an amount and use-by date when entered) and the store section each is filed in, foods to use up soon (flagged, or within 3 days of their use-by date), staples they always keep, and staples they have run out of.
Inputs
None.
Returns: Foods on hand (with amounts and use-by dates where entered), the same foods by store section, foods to use up soon, staples, and staples that have run out.
Side effects: None. It only reads.
What can I cook tonight
what_can_i_cook_tonightReadFinds up to three of the household's own dinner recipes they can cook right now with what is in the pantry (or missing only one or two things), quickest first, and up to three of Dinner Button's own recipes they could make the same way, as the Make dinner now screen does. Recipes with foods the household avoids are left out.
Inputs
None.
Returns: Up to three of the household's own recipes it can make now, quickest first, with minutes, anything missing, and a link that opens step-by-step cooking mode; and up to three Dinner Button recipes it could make, with links.
Side effects: None. It only reads.
Suggest dinners for empty nights
suggest_dinnersReadPicks a dinner from the household's own recipes for each night in the next 7 days that has no dinner yet (or for the nights given), by the same rules as Dinner Helper's Plan my week: what they have first, quick recipes on busy nights, no repeats, variety from night to night, foods they avoid left out. Each night comes with up to three alternates. Nothing is planned: show the picks, then plan the ones the person agrees to with plan_meal.
Inputs
dates(list of text, optional): Nights to fill, as YYYY-MM-DD. Defaults to the empty nights in the next 7 days.busy(list of text, optional): Nights with time for a quick dinner only, besides the household's usual busy nights.use_what_i_have(true or false, optional): Fewest new things to buy first (default true).
Returns: A suggested recipe for each empty night with alternates and the reason for each. Nothing is planned until plan_meal.
Side effects: None. It only reads.
List special meals
list_special_mealsReadLists the household's special meals (holidays, birthdays, parties) planned ahead, with date and number of guests. Each has its own menu and shopping list; read one with get_special_meal.
Inputs
None.
Returns: Each special meal's id, name, date and number of guests.
Side effects: None. It only reads.
Get a special meal
get_special_mealReadGets one special meal in full: name, date and guests, its menu (each dish with its id, whether it is one of the household's recipes, and who is bringing it), and its own shopping list by store section, plus anything already set aside for it.
Inputs
special_meal_id(text, required): From list_special_meals or add_special_meal.
Returns: Name, date and guests, the menu (each dish with its id, whether it is a saved recipe, and who is bringing it), its own shopping list by store section, and anything set aside for it.
Side effects: None. It only reads.
Check a recipe import
get_import_statusReadChecks a recipe import started with import_recipe_from_link or import_recipe_from_text: whether it is still reading, ready for the person to review and save, saved, or failed (with the reason). When ready, check lists what AI estimated and what is missing, for the person to confirm before saving.
Inputs
import_id(text, required)
Returns: Status (queued, running, ready, saved or failed), title, any error, the saved recipe id, and when ready a check list of AI estimates and missing items, the estimated amounts with reasons, and amounts still missing.
Side effects: None. It only reads.
Preview the store cart
preview_store_cartReadShows what sending the shopping list (the next 7 days) to the household's King Soopers or other Kroger-family store would add: the product picked for each item, package count, current price and an estimated total, plus items with no product found and items the store cannot sell for pickup or delivery right now (those are not sent). When the household's usual product is unavailable, it names the usual and the product standing in for it. Looks up prices at the household's chosen store. Does not change the cart. Give items to preview only some of the list (for example just eggs the person ran out of; add them to the list first). Tell the person about unavailable items and stand-ins before sending.
Inputs
items(list of text, optional): Optional: only these shopping list items (for example ["eggs"]); without it, the whole list.
Returns: The store, whether the person's store account is connected, each item's product, size, packages and price, items the store cannot sell right now, stand-ins for usual products, items with no product found, and an estimated total.
Side effects: None. It only reads.
Write · 24
Adds to or changes the household's Dinner Button data. Only with Read and change. The assistant asks the person the first time.
Plan a meal
plan_mealWriteAdds a recipe to the meal plan on a date, as dinner unless another meal is given: one of the household's saved recipes, or one of Dinner Button's own recipes by its id (DB-12), which is saved to their recipe box first. Its ingredients then go on the shopping list automatically.
Inputs
date(text, required): A date as YYYY-MM-DD (Mountain Time).recipe_id(text, required): A saved recipe's id, or a Dinner Button recipe's id (DB-12).meal(one of: breakfast, lunch, snack, dinner, optional): Defaults to dinner.servings(whole number 1 to 40, optional): Defaults to the household's usual number of people.
Returns: A confirmation with the day and recipe. The shopping list updates by itself.
Side effects: A Dinner Button recipe (DB- id) is saved to the household's recipe box first.
Take a meal off the plan
remove_planned_mealasks firstWriteTakes a planned meal off one date. The recipe stays in the recipe box; only the plan changes, and the shopping list updates to match.
Inputs
date(text, required): A date as YYYY-MM-DD (Mountain Time).recipe_id(text, required)
Returns: A confirmation. The recipe stays in the recipe box.
Side effects: Takes the meal off the plan; the shopping list follows. The assistant asks the person first.
Move a planned meal
move_planned_mealWriteMoves a planned meal to another day, keeping its servings. If a meal of the same kind is already planned on that day, the two trade places, as on Dinner Button's Plan board. The shopping list follows by itself.
Inputs
date(text, required): The day it is planned on now, as YYYY-MM-DD.recipe_id(text, required)to_date(text, required): The day to move it to, as YYYY-MM-DD.
Returns: A confirmation, including when two meals traded places.
Side effects: Changes only what it describes, in this household.
Mark a meal made
mark_meal_madeasks firstWriteMarks a planned meal as made (or not made), as the Made it button does: it counts the cook for the recipe and uses up the pantry amounts it can work out, scaled to the servings. It returns the pantry foods the meal used whose amounts it could not work out (ask_about): ask the person which are used up and mark those with mark_out_of_pantry. Ask the person first.
Inputs
date(text, required): A date as YYYY-MM-DD (Mountain Time).recipe_id(text, required)made(true or false, optional): Defaults to true. False marks it not made (pantry amounts are not put back).
Returns: A confirmation, the pantry amounts it updated, and the pantry foods the meal used whose amounts it could not work out, for the person to say which are used up.
Side effects: Counts the cook for the recipe and updates the pantry amounts it can work out, scaled to the servings. The assistant asks the person first.
Change servings
set_meal_servingsWriteChanges how many servings a planned meal is for. Its amounts on the shopping list follow.
Inputs
date(text, required): A date as YYYY-MM-DD (Mountain Time).recipe_id(text, required)servings(whole number 1 to 40, required)
Returns: A confirmation with the new servings.
Side effects: Changes only what it describes, in this household.
Mark a busy day
set_busy_dayWriteMarks a day as busy (or not). On a busy day Dinner Button offers quick dinners first; suggest_dinners picks quick ones for it.
Inputs
date(text, required): A date as YYYY-MM-DD (Mountain Time).busy(true or false, optional): Defaults to true.
Returns: A confirmation.
Side effects: Changes only what it describes, in this household.
Add to the shopping list
add_to_shopping_listWriteAdds items to the household's shopping list (the next 7 days), for example "paper towels" or "2 lemons". Up to 20 at a time.
Inputs
items(list of text, required)
Returns: The items added.
Side effects: Changes only what it describes, in this household.
Change a shopping list item
update_shopping_list_itemasks firstWriteChanges one item on the household's shopping list (the next 7 days), found by name: "remove" takes it off, "set_amount" sets how much to buy, "have_it" means they already have it at home (it goes into the pantry and leaves the list), "put_back" brings back an item taken off earlier.
Inputs
item(text, required): The item's name as it appears on the list, for example "eggs".action(one of: remove, set_amount, have_it, put_back, required)quantity(number, optional): For set_amount.unit(text, optional): For set_amount, for example "lb" or "cans". Optional.
Returns: What changed on the item.
Side effects: Can take an item off the list, or move it into the pantry. The assistant asks the person first.
Add to the pantry
add_to_pantryWriteAdds foods the household has at home to its pantry, so recipes and the shopping list count them. Give an amount and unit, and a use-by date for food that spoils, when the person knows them (as when putting groceries away). Mark a food as a staple when it is something they always keep (salt, oil, rice). Start a name with frozen, canned or dried for those kinds. Each food is filed in its store section.
Inputs
items(list of object, required)
Returns: The foods added, by the names Dinner Button filed them under.
Side effects: Changes only what it describes, in this household.
Mark foods as used up
mark_out_of_pantryasks firstWriteMarks foods in the household's pantry as used up: a staple is marked out (so it goes on the shopping list), any other food is taken off the pantry. Foods not in the pantry are reported back.
Inputs
names(list of text, required)
Returns: The foods marked out or taken off, and any names not in the pantry.
Side effects: Takes foods off the pantry (staples are marked out and go on the list). The assistant asks the person first.
Put groceries away
put_groceries_awayWritePuts away what was ticked off at the store: the items in the shopping list's cart go into the pantry as on hand (with the list's amount when there is one) and leave the list, as the List's Add all to pantry button does. Give items to put away only those. Add use-by dates afterwards with add_to_pantry. Ask the person first.
Inputs
items(list of text, optional): Optional: only these items, by their names on the list. Defaults to everything in the cart.
Returns: The foods put into the pantry, any names that were not in the cart, and a link to the pantry.
Side effects: Adds the foods to the pantry and takes them off the shopping list's cart. The assistant asks the person first.
Save a recipe
save_recipeWriteSaves a recipe the person asked for into the household's recipe box, labelled as an AI idea. Give the title, ingredient lines (with amounts, one per line) and steps. Only save recipes the person wants kept; do not save copyrighted text copied from other sites or books.
Inputs
title(text, required)servings(whole number 1 to 40, optional)total_minutes(whole number 1 to 1440, optional)ingredient_lines(list of text, required)steps(list of text, required)
Returns: The new recipe's id and a link to it.
Side effects: Adds the recipe to the recipe box, labelled as an AI idea.
Fill in a recipe's missing details
fill_missing_recipe_detailsWriteFills in what a saved recipe leaves out (ingredient amounts, servings, total time, a cooking step's time or heat) with AI, so it can be shopped for and cooked. It never changes what the recipe already says, and every value it fills is marked as an AI estimate until someone checks it. Uses the household's daily AI credits; ask the person first.
Inputs
recipe_id(text, required)
Returns: How many values were filled, the estimated amounts with reasons, servings, total time, the check list, and a link.
Side effects: Uses the household's daily AI allowance and changes only what was missing, each value marked as an AI estimate. The assistant asks the person first.
Mark a recipe's AI estimates as checked
mark_recipe_estimates_checkedWriteClears the AI estimate marks on a saved recipe once the person has looked at the estimated amounts, servings and times and says they are right. The values stay as they are. To change a value, the person edits the recipe in Dinner Button.
Inputs
recipe_id(text, required)
Returns: A confirmation with how many AI estimates were marked checked.
Side effects: Changes only what it describes, in this household.
Set household preferences
set_household_preferencesWriteRemembers what the person tells you about their household, so Dinner Button's suggestions, plans and recipe writing follow it everywhere: how many usually eat, usual busy nights (quick dinners only), young children at the table, keeping costs down, new to cooking, fewer dishes to wash, and cooking once to eat twice. Send only what they told you; anything left out stays as it was. Foods they avoid are set by the person in Dinner Button, not here.
Inputs
people(whole number 1 to 20, optional): How many usually eat dinner.busy_weekdays(list, each one of: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, optional): The full list of usually busy nights (replaces the old list).young_children(true or false, optional)keeping_costs_down(true or false, optional)new_to_cooking(true or false, optional)fewer_dishes(true or false, optional): One-pan, one-pot, sheet-pan or slow-cooker dinners.cook_once_eat_twice(true or false, optional): Enough for leftovers or tomorrow's lunch.
Returns: The household's preferences as now saved.
Side effects: Changes only what it describes, in this household.
Import a recipe from a link
import_recipe_from_linkWriteStarts reading a recipe from a recipe web page or a pin into Dinner Button. Only recipe pages and pins can be imported from a link; for anything else use import_recipe_from_text with the recipe's words. It takes up to a minute; check it with get_import_status, then save it with save_import (or the person can look it over on the review screen).
Inputs
url(text, required): The page's full https address.
Returns: An import id and a review link. The reading runs in the background; follow it with get_import_status.
Side effects: Fetches that one page and reads it with AI (the household's daily AI allowance). Only recipe pages and pins.
Import a recipe from its words
import_recipe_from_textWriteStarts reading a recipe from its words into Dinner Button: a recipe the person types or pastes, or one someone sent them. Nothing is fetched: source_url, when given, is only kept as the recipe's source. Amounts, servings or times the words leave out are filled in and marked as AI estimates. It takes up to a minute; check it with get_import_status (it lists what to check), then save it with save_import once the person agrees.
Inputs
text(text, required): The recipe's words: title, ingredients and steps, as complete as you have them.source_url(text, optional): Where the recipe came from, kept as its source only. Optional.
Returns: An import id and a review link. The reading runs in the background; follow it with get_import_status.
Side effects: Reads the words with AI (the household's daily AI allowance). Nothing is fetched.
Add a special meal
add_special_mealWriteAdds a special meal planned ahead (Thanksgiving, a birthday, a party) on a date, with an optional number of guests. Build its menu next with add_dish_to_special_meal; it gets its own shopping list, kept apart from the weekly one.
Inputs
name(text, required): For example "Thanksgiving" or "Liz's birthday".date(text, required): A date as YYYY-MM-DD (Mountain Time).guests(whole number 1 to 200, optional)
Returns: The new special meal's id and a link to it.
Side effects: Changes only what it describes, in this household.
Save an imported recipe
save_importWriteSaves a recipe import that is ready (started with import_recipe_from_link or import_recipe_from_text) into the household's recipe box exactly as it was read, so the person does not have to open Dinner Button. Check it with get_import_status and get the person's okay first. AI estimates stay marked on the saved recipe until someone checks them in Dinner Button.
Inputs
import_id(text, required)
Returns: The saved recipe's id, title and a link.
Side effects: Adds the recipe to the recipe box; AI estimates stay marked until checked.
Change a special meal
update_special_mealWriteChanges a special meal's name, date or number of guests. Recipes on its menu are rescaled to the new number of guests on its list.
Inputs
special_meal_id(text, required)name(text, optional)date(text, optional): A date as YYYY-MM-DD (Mountain Time).guests(whole number 1 to 200, optional)
Returns: A confirmation.
Side effects: Changes only what it describes, in this household.
Add a dish to a special meal
add_dish_to_special_mealWriteAdds a dish to a special meal's menu: one of the household's recipes (give recipe_id; its ingredients go on the meal's own list, scaled to the guests) or a dish by name such as "pumpkin pie". Give brought_by when a guest is bringing it; it then stays off the list.
Inputs
special_meal_id(text, required)recipe_id(text, optional): One of the household's recipes. Leave out to add a dish by name.dish(text, optional): A dish by name, when it is not one of their recipes.brought_by(text, optional): First name of the guest bringing it. Optional.
Returns: A confirmation with the dish's id.
Side effects: Changes only what it describes, in this household.
Take a dish off a special meal
remove_dish_from_special_mealasks firstWriteTakes one dish off a special meal's menu (dish_id from get_special_meal). A recipe stays in the recipe box; its ingredients leave the meal's list.
Inputs
special_meal_id(text, required)dish_id(text, required)
Returns: A confirmation.
Side effects: Takes the dish and its ingredients off the special meal. The assistant asks the person first.
Add to a special meal's list
add_to_special_meal_listWriteAdds items to a special meal's own shopping list, for example "paper plates" or "2 bags of ice". This list is kept apart from the weekly shopping list. Up to 20 at a time.
Inputs
special_meal_id(text, required)items(list of text, required)
Returns: The items added to the meal's own list.
Side effects: Changes only what it describes, in this household.
Sensitive write · 1
Only with Read and change. The assistant asks the person every time.
Send the list to the store cart
send_list_to_store_cartSensitive writeAdds the shopping list (the next 7 days) to the person's own King Soopers or other Kroger-family store cart, using the products shown by preview_store_cart, and leaves out items the store cannot sell for pickup or delivery right now (named in the answer). It only adds to the cart: it never checks out, chooses a pickup time or pays. The person finishes on the store's website or app, where prices and fees are shown. Show the preview and get a clear yes first. If items were already sent in the last 7 days it stops and says so unless mode is "new" (send only items not sent yet) or "all" (send everything again). Give items to send only some of the list (for example just eggs; preview them the same way first).
Inputs
mode(one of: new, all, optional): Only needed after it reports items already sent in the last 7 days.items(list of text, optional): Optional: only these shopping list items (for example ["eggs"]); without it, the whole list.
Returns: The items added to the cart with quantities, the estimated total, items left out because the store cannot sell them right now, and the next step; or, when items were already sent in the last 7 days, the question of whether to send only new items or everything again.
Side effects: Adds items to the person's own store cart. Add only: it never checks out, chooses a time or pays. The assistant asks every time.
Starter prompts · 7
- What's for dinner tonight?
dinner_tonightUp to three dinners from your own recipes you can make now with what you have. - Plan my week
plan_my_weekA dinner for each empty night in the next 7 days, quick ones on busy nights. - Build my shopping list
shopping_listGo through the list for the next 7 days: what you already have, what is missing. - Send my list to the store
store_cartPreview the King Soopers (or other Kroger store) cart and send it when you say so. - Try one of Dinner Button's recipes
try_something_newA few of Dinner Button's own recipes you could make with what you have. - Put my groceries away
put_groceries_awayMove what you ticked off at the store into your pantry. - Add a recipe I found
add_recipeSave a recipe from a web page, or from its words, into your recipe box.
Questions: support@dinnerbutton.com