Enshape

v1.0.1
com.enshapeapp/enshape Checked 1 day ago Published 14 days ago

Read your private Enshape diary and log meals through scoped account authorization.

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

get_daily_summary Read Enshape daily nutrition summary

Returns saved daily targets, quantity-weighted logged calories and macros, signed remaining and explicit overages for a strict user-local YYYY-MM-DD date. Missing or invalid nutrition is incomplete, never zero-filled; unknown totals and remaining are null. One shared diary call. No recommendations or writes.

ParameterTypeDescription
date *string

get_nutrition_targets Read saved Enshape nutrition targets

Returns only saved daily calories, protein, carbs, fat and fiber targets, with missing targets explicit. No recommendations or guessed goals. Requires meals:read and consumes one shared diary call.

get_meals Read Enshape food diary

Returns a bounded page of the connected account’s private meals for a local calendar date, including persisted IDs and saved nutrition. When hasMore is true, nextAfterId is the afterId for the next page. Oversized entries are marked for checking in Enshape. Each page consumes one diary call.

ParameterTypeDescription
date *string
afterIdinteger
limitinteger

recent_foods Find recently logged Enshape foods

Returns up to 50 recent private diary entries for the connected account, including their dates and saved nutrition.

get_nearby_meal_suggestions Suggest meals at nearby restaurants

Suggests meals at restaurants near coordinates supplied by the user, from meal combinations saved in Enshape, optionally filtered by query, maxCalories or minProtein. Returns at most 10 suggestions plus nearbyRestaurants chains within the radius with distance, saved nutrition, serving info, component items and a notification-free logFoodReference. Suggest savedTargetMode: "meal_share" with date when personalizing one meal. Menu freshness is unknown, so the user must check the official current menu. Location is not stored. Consumes one shared diary call. Never writes.

ParameterTypeDescription
latitude *numberLatitude of the place to search around, in degrees, given by the user. Never guess it from the device, IP address or a place name.
longitude *numberLongitude of the place to search around, in degrees, given by the user.
datestringWith useSavedTargets, the user’s local calendar date (YYYY-MM-DD). Scores against saved daily targets minus what the diary already holds for that date.
excludedRestaurantsarrayRestaurant chains to leave out, by name. Case and punctuation are ignored; partial names do not match.
limitintegerNumber of meal suggestions to return. Defaults to 5, maximum 10.
maxCaloriesnumberOptional maximum calories per meal.
minProteinnumberOptional minimum protein grams per meal.
querystringOptional dish, cuisine or restaurant filter words (e.g. "grilled chicken" or "Chipotle").
radiusMilesnumberSearch radius in miles. Defaults to 10, maximum 25.
savedTargetModestringWith useSavedTargets: whole_day (default) scores against the daily totals (minus the diary when date is given); meal_share scores against one meal’s share as the Enshape app does: a third of each da…
targetsobjectNutrition goals for this one meal, in calories and grams. All five values are required. Omit for unpersonalized suggestions.
useSavedTargetsbooleanPersonalize with the connected account’s saved DAILY targets. Only true opts in. These are whole-day totals, not a per-meal budget, unless date is also given or savedTargetMode is meal_share.

find_foods Find foods and restaurant menu items in Enshape

Searches Enshape by plain-language name or restaurant mention, without a location: verified restaurant menu items, reviewed restaurant combos (resolved automatically when a known chain appears in query or restaurant), plus the user’s own saved foods and recipes. Returns at most 10 items per page with a ref, per-serving nutrition, provenance and, with meal targets, Enshape’s fit score and reasons; follow nextCursor for more. Check the official current menu before relying on restaurant values. Log a result only after confirmation, with log_food_reference. Consumes one diary call. Never write…

ParameterTypeDescription
query *stringFood or dish words, optionally with the restaurant, e.g. "chicken burrito bowl" or "Chipotle chicken bowl". Filler words are ignored; every remaining word must match.
cursorstringnextCursor from the previous page of this same search.
kindsarrayWhat to search: restaurant (verified menu items and reviewed meals), mine (foods the user saved in Enshape), recipe (the user’s recipes, per serving). Default: all, or restaurant only when restauran…
limitintegerResults per page, at most 10.
restaurantstringRestaurant chain to search within, by name. Case and punctuation are ignored ("chick fil a" matches Chick-fil-A). With a restaurant, query words narrow its menu.
targetsobjectGoals for this one meal (calories and grams; all five required). Ranks results by Enshape’s fit score and explains the fit. Omit to rank by match.

get_usual_meals Find the user’s usual Enshape meals

Returns up to 10 distinct foods the user logs most, from their newest 300 diary entries on or before a local date, ranked by meal slot (when given), how often and how recently, with the latest portion, saved per-serving nutrition and a diary ref for log_food_reference. Nothing is logged: confirm the food, portion, slot and date first. Each call consumes one diary call.

ParameterTypeDescription
date *stringUser’s local calendar date (YYYY-MM-DD). Only entries on or before it are read.
limitinteger
mealSlotstringRank foods usually logged in this slot first.

update_nutrition_targets Update saved Enshape nutrition targets

Changes only explicitly confirmed daily calories, protein, carbs, fat or fiber targets for the connected account. Omitted fields are preserved. Requires separate targets:write consent, at least one whole-number target, and confirmed:true. Returns the exact saved targets read back under the account lock. No automatic recommendations, profile, micronutrient or diary changes. Each valid attempt uses one shared diary call. After an uncertain outcome read targets before repeating an explicitly confirmed patch.

ParameterTypeDescription
confirmed *booleanUser explicitly confirmed these exact target values. Unspecified targets are preserved.
caloriesinteger
carbsinteger
fatinteger
fiberinteger
proteininteger

log_meal Log a meal in Enshape

Creates one private diary entry for the connected account after the user confirms the portion, per-serving nutrition, local date and meal slot. Requires all five nutrition values and their source. Approved estimates are labeled. After an uncertain save, check the diary before retrying with the same requestId. Identical retries return the existing entry. Changed payloads are rejected.

ParameterTypeDescription
calories *number
carbs *number
confirmed *booleanUser explicitly requested logging these values, portions and date, and accepted any estimates.
date *stringUser’s local calendar date in YYYY-MM-DD format.
fat *number
fiber *number
mealSlot *string
name *string
nutritionSource *stringSource of per-serving nutrition: user-provided, food label, official menu, or an explicitly user-approved estimate.
protein *number
requestId *stringIdempotency key for one intended meal. Identical retries return the original meal; different payloads using this key are rejected.
estimatedbooleanTrue if any nutrition value is an estimate approved by the user.
quantitynumber
servingSizestring

log_food_reference Log a food from Enshape by reference

Creates one confirmed private diary entry from a ref returned by find_foods (verified menu item, reviewed restaurant meal or the user’s own food), get_nearby_meal_suggestions (combo) or get_usual_meals, get_meals and recent_foods (diary entry); own foods and diary entries need meals:read too. Enshape resolves and saves the per-serving nutrition, including micronutrients when known, and, when the grant includes meals:read, returns the saved values and totals to read back. Requires quantity, local date, meal slot and confirmed:true after the user confirms. Identical retries with the same reque…

ParameterTypeDescription
confirmed *booleanUser explicitly confirmed this food, portion, meal slot and date.
date *stringUser’s local calendar date in YYYY-MM-DD format.
mealSlot *string
ref *object
requestId *stringIdempotency key for one intended entry. A retry with the same reference, quantity, slot and date returns the original entry; anything else under this key is rejected.
quantitynumberServings of the referenced food (per-serving values are multiplied by it).

delete_meal Delete a meal from Enshape

Permanently deletes one private diary entry belonging to the connected account after the user explicitly confirms that exact entry. Use its saved diary ID from Enshape and verify ambiguous or stale entries before deleting. If the outcome is uncertain, check the diary before retrying with the same ID. A deleted:false result means the entry is absent and does not identify who removed it. Each valid attempt, including retries and missing entries, consumes one shared diary call. Only the private diary is affected.

ParameterTypeDescription
confirmed *booleanUser explicitly confirmed deletion of this exact diary entry.
mealId *integerPersisted private diary entry ID, not a catalog ID.

request_restaurant Request a restaurant for Enshape review

Stores a restaurant request in a private moderation inbox after explicit user confirmation. Requires restaurant name, a short message, and a stable requestId; optionally a coarse town or city. Never provide precise location, private contact details or diary content. Never creates restaurants or imports menu data, and makes no promise of addition or a reply. Uses one shared assistant allowance attempt; submissions also share a stricter 3 per rolling 24 hours limit per account across web, mobile and assistants. Reuse requestId after uncertain outcomes.

ParameterTypeDescription
confirmed *boolean
message *string
requestId *string
restaurantName *string
restaurantCitystring

get_account_status Check Enshape plan and assistant usage

Returns server-verified Premium status, diary tool usage, remaining Free allowance, UTC reset time and request caps for the connected account. An unavailable entitlement check reports unknown, never Premium. This lookup does not consume the diary allowance and remains subject to request rate limits. Does not sell or upgrade subscriptions.