foodpanda-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FOODPANDA_LATITUDE | Yes | Latitude of your delivery address. | |
| FOODPANDA_LONGITUDE | Yes | Longitude of your delivery address. | |
| FOODPANDA_SESSION_TOKEN | No | JWT bearer token (optional — use `refresh_token` tool instead). |
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 | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_restaurantsA | Search for restaurants on foodpanda.ph near the configured delivery address. Returns a list of matching restaurants with id (vendor code), name, cuisine, rating, delivery fee, estimated delivery time, and minimum order amount. Chain restaurants (e.g. Jollibee, McDonald's) include chain_code, chain_name, and total_outlets fields. When total_outlets > 1, use list_outlets with the chain_code to see all branches. |
| list_outletsA | List all outlet branches for a restaurant chain. Use the chain_code from search_restaurants results (only available when total_outlets > 1). Returns all outlets with their individual vendor codes, names, delivery fees, and distances so the user can pick a specific branch. |
| get_restaurant_detailsA | Get detailed information about a specific restaurant including address, opening hours, minimum order, and delivery info. |
| get_menuA | Get the menu for a restaurant, organized by category. Returns a compact list with each item's code, name, price, and sold-out status. Use the item code when adding to cart. Use get_item_details if you need topping/customization options for a specific item. |
| get_item_detailsA | Get full details for a menu item including all topping groups and customization options. Use this when you need to know what toppings/variations are available before adding to cart. |
| add_to_cartA | Add one or more items to the cart. If items are from a different restaurant than the current cart, the cart is cleared first. Sends the full cart to foodpanda for price validation and returns updated totals. |
| get_cartA | View the current in-memory cart contents including items, quantities, prices, delivery fee, service fee, and totals. Returns 'Cart is empty.' if no items have been added. |
| remove_from_cartA | Remove an item from the cart by its cart item ID (e.g. 'cart-1'). Re-calculates totals with remaining items. |
| preview_orderA | Preview the current cart as an order. Returns a summary of items, totals, delivery address, and available payment methods. IMPORTANT: After calling this, you MUST show the full summary to the user and ask them to explicitly confirm before calling place_order. Never place an order without user confirmation. |
| place_orderA | Place the current cart as an order. You MUST call preview_order first and get explicit user confirmation before calling this. Only 'payment_on_delivery' (Cash on Delivery) is supported. Credit card and GCash require browser-based payment flows that cannot be completed via MCP. |
| refresh_tokenA | Opens a browser window to foodpanda.ph so the user can log in. Intercepts the session token from network requests and updates the server. Call this when: (1) other tools return a 'session token expired' or 'No session token configured' error, or (2) the user wants to switch accounts. The browser window is visible — the user logs in manually (handling any CAPTCHAs or MFA). Once logged in, the token is captured automatically and saved for future sessions. |
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 11 tools
Each tool maps to a distinct resource+action: restaurant search vs. outlet listing vs. restaurant details are cleanly separated, and get_menu vs. get_item_details is clearly distinguished by the descriptions. Cart operations (add/remove/get/preview/place) have explicit boundaries, with preview_order vs. place_order differentiated by the required confirmation flow.
All tools use snake_case verb_noun (or verb_preposition_noun) patterns: search_restaurants, get_menu, add_to_cart, place_order, refresh_token. No mixing of camelCase or opaque nouns.
11 tools is well within the ideal 3-15 range and each earns its place: discovery, browsing, cart, checkout, and auth are all covered without redundancy.
The browse-to-checkout lifecycle is complete, but post-order operations are absent: no order tracking/status, order history, or cancellation, and no way to update item quantities in the cart (only add or remove). Payment is limited to COD, which is acknowledged but leaves GCash/card users at a dead end.