Parsley MCP by usefulapi

v1.20.1
io.usefulapi/parsley Checked 3 days ago Published 2 days ago

Read Parsley menu items, nutrition, allergens, ingredients and events; record event sales and waste.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

parsley_list_menu_items List menu items

List the recipes, sub-recipes and ingredients in the Parsley account that can be used on events: id, name, item number, price, tags, active flag, chef and last-modified time. Use the ids with parsley_get_menu_item for nutrition, allergens and ingredients, and on events. The API returns the whole list at once; search/limit/offset slice it here (25 per page by default; page with next_offset). GET /menu_items.

ParameterTypeDescription
limitintegerResults to return, 1-500 (default 25).
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.
searchstringOnly menu items whose name contains this text (case-insensitive).
tagstringOnly items carrying this tag (exact, case-insensitive).
typestringOnly this kind of item.

parsley_get_menu_item Get menu item (nutrition, allergens, ingredients)

One menu item in full: names, description, price, cost, shelf life, serving size, nutrition facts (nutrients), the allergen flags and allergen text, dietary characteristics (meat, pork, corn, poultry) and the ingredient list. The photo link is returned without its access token. GET /menu_items/{id}.

ParameterTypeDescription
menu_item_id *integerParsley menu item id (from parsley_list_menu_items).

parsley_list_menus List menus

List the menus (menu plans) in the account: id, name and last-modified time. Use the id with parsley_get_menu or when creating an event. GET /menus.

ParameterTypeDescription
limitintegerResults to return, 1-500 (default 100).
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.
searchstringOnly menus whose name contains this text (case-insensitive).

parsley_get_menu Get menu

One menu with its sections and the menu items in each section, and its serving stations. GET /menus/{id}.

ParameterTypeDescription
menu_id *integerParsley menu id (from parsley_list_menus).

parsley_list_ingredients List ingredients

List the ingredients that can be used in recipes: id, parent id, name, label name, item number, supported units, and whether a recipe uses it. The API returns the whole list at once; search/limit/offset slice it here. GET /ingredients.

ParameterTypeDescription
limitintegerResults to return, 1-500 (default 100).
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.
searchstringOnly ingredients whose name contains this text (case-insensitive).
used_by_recipebooleantrue: only ingredients used by a recipe; false: only unused ones.

parsley_get_ingredient Get ingredient (costing and suppliers)

One ingredient in full: unit conversions, supported units, tags, the supply options (supplier, SKU, pack size, cost) used for costing and the preparations with yield. Parsley limits this call to 1 request every 3 seconds, so fetch ingredients one at a time. GET /ingredients/{id}.

ParameterTypeDescription
ingredient_id *integerParsley ingredient id (from parsley_list_ingredients).

parsley_list_events List events

List events (a workday, shift, service or catering event) that fall in a date window: id, name, type (standard, cafe-hot-bar, sale, forecast), date, start and end time, menu id. A bare date means the whole day in the account timezone. GET /events.

ParameterTypeDescription
end *stringWindow end (inclusive): yyyy-mm-dd (to the end of that day) or an ISO 8601 date-time.
start *stringWindow start (inclusive): yyyy-mm-dd or an ISO 8601 date-time. Without a timezone the account timezone applies.
limitintegerResults to return, 1-500 (default 100).
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.
searchstringOnly events whose name contains this text (case-insensitive).
typestringOnly this event type.

parsley_get_event Get event

One event with its metadata and all line items (menu item, amount, unit, station, section). GET /events/{id}.

ParameterTypeDescription
event_id *integerParsley event id (from parsley_list_events).

parsley_list_serving_stations List serving stations

List the serving stations (id, name) that menu items and event line items can be assigned to. GET /tags/serving_stations.

ParameterTypeDescription
limitintegerResults to return, 1-500 (default 100).
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.

parsley_list_chef_tags List chef tags

List the chef tags (id, name) that recipes are attributed to. Only meaningful for accounts with Chef IDs enabled. GET /tags/chefs.

ParameterTypeDescription
limitintegerResults to return, 1-500 (default 100).
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.

parsley_list_chef_users List chef users

List the chef users of the account: id, email, join date, active flag, permission level and the chef tag they are tied to. Only meaningful for accounts with Chef IDs enabled. GET /users/chefs.

ParameterTypeDescription
limitintegerResults to return, 1-500 (default 100).
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.
searchstringOnly chef users (matched on email or chef name) whose name contains this text (case-insensitive).

parsley_create_event Create event

WRITE: create an event (a workday, shift, service or catering event) in Parsley with its menu items. This changes the account's production plan and is NOT idempotent: calling it twice creates two events. Returns the new event id. Use parsley_list_events first to avoid duplicates. POST /events.

ParameterTypeDescription
date *stringThe day of the event, yyyy-mm-dd.
line_items *arrayThe menu items and amounts to produce or sell (may be empty).
name *stringEvent name, e.g. 'Brunch'.
type *stringEvent type: standard, cafe-hot-bar, sale or forecast.
descriptionstring
end_timestringTime of day, HH:mm (24 hour).
menu_idintegerParsley menu id the event uses (from parsley_list_menus).
privatebooleanMark the event private.
start_timestringTime of day, HH:mm (24 hour).

parsley_update_event_covers Update event covers

WRITE: set the forecast and/or actual number of covers (guests served) on an event. Only the fields you pass change. actual_covers works only on cafe/hot bar events. Setting the same values again has no further effect. PATCH /events/{id}.

ParameterTypeDescription
event_id *integerParsley event id.
actual_coversintegerReal number of covers (cafe/hot bar events only).
forecast_coversintegerPredicted number of covers.

parsley_record_event_sales Record event sales

WRITE: push sold quantities per menu item to a cafe/hot bar event, which feeds Parsley's cost and usage reports. Other event types are refused by Parsley, as is a menu item with no made quantity on the event. Sending the same quantities again overwrites rather than adds. PUT /events/{id}/sales.

ParameterTypeDescription
event_id *integerParsley event id of a cafe/hot bar event.
sales *arraySold amount per menu item.

parsley_record_waste_leftover Record waste and leftover

WRITE: push waste and/or leftover quantities per menu item to a cafe/hot bar event. If no sold quantity exists, Parsley derives it as made minus waste minus leftover. Parsley refuses amounts above what was made minus sold. Sending the same quantities again overwrites rather than adds. PUT /events/{id}/waste_leftover.

ParameterTypeDescription
event_id *integerParsley event id of a cafe/hot bar event.
items *array