Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IFOOD_BASE_URLNoOverride the API base URL (staging/sandbox). Defaults to https://merchant-api.ifood.com.br.
IFOOD_CLIENT_IDYesOAuth client ID.
IFOOD_TOKEN_URLNoOverride the token endpoint. Defaults to <base>/authentication/v1.0/oauth/token.
IFOOD_TIMEOUT_MSNoPer-request timeout in milliseconds. Defaults to 15000.
IFOOD_MAX_ATTEMPTSNoTotal attempts (initial + retries) for transient failures. Defaults to 3.
IFOOD_CLIENT_SECRETYesOAuth client secret.

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_ordersA

Poll iFood order events (one GET per ~30s). Returns new events (PLACED/CONFIRMED/...) or none. Each event MUST be passed to acknowledge_events or it is redelivered forever.

acknowledge_eventsA

Acknowledge polled events so iFood stops redelivering them. WARNING: endpoint path is best-guess — verify against live iFood docs.

get_orderA

Get full order detail by ID. May 404 briefly right after PLACED — retry with backoff.

confirm_orderA

Confirm/accept an order (first transition after PLACED; orders auto-cancel if not confirmed in time).

start_preparationA

Mark an order as in preparation (optional, recommended between confirm and dispatch/pickup).

ready_to_pickupA

Mark an order ready for pickup (REQUIRED for TAKEOUT/DINE_IN).

dispatch_orderC

Mark a DELIVERY order as dispatched.

get_cancellation_reasonsA

Get valid cancellation codes for an order at its current state (feed into cancel_order).

cancel_orderA

Request cancellation of an order using a code from get_cancellation_reasons. WARNING: request body is best-guess — verify against live iFood docs.

list_merchantsA

List merchants the token can access (paginated; size default 100).

get_merchantA

Get full detail for one merchant (name, address, operations).

get_merchant_statusB

Get merchant availability per operation/sales-channel (open/closed, reasons).

get_opening_hoursC

Get a merchant's configured weekly opening hours.

set_opening_hoursB

Replace a merchant's ENTIRE weekly schedule (days not sent are removed).

list_interruptionsA

List active/future store interruptions (temporary pauses).

create_interruptionA

Temporarily PAUSE a store for a time window (correct pause mechanism, not opening-hours).

delete_interruptionB

RESUME a store by removing an interruption.

update_item_statusC

Set a menu item AVAILABLE/UNAVAILABLE.

update_item_priceB

Update a menu item's price (reais).

update_option_statusC

Set a complement/option AVAILABLE/UNAVAILABLE.

update_option_priceC

Update a complement/option price (reais).

list_catalogsA

List a merchant's catalogs (step 1 of catalog discovery).

list_categoriesA

List categories in a catalog (use include_items=true to get item IDs).

list_items_by_categoryC

List items/products/options in a category.

list_productsA

List catalog products (paginated; response wrapped in elements).

upsert_itemA

Create or fully replace an item with its products/optionGroups/options (idempotent).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 26 tools

Disambiguation4/5

Most tools target distinct resources and actions, with clear separation between order lifecycle, merchant, interruption, and catalog operations. A few catalog tools overlap conceptually (list_products vs. list_items_by_category) and item update vs. upsert_item may require careful selection, but descriptions largely clarify the boundaries.

Naming Consistency4/5

Almost all tools use snake_case verb_noun naming consistently (e.g., list_merchants, get_order, cancel_order, update_item_price). The main deviation is ready_to_pickup, which is a status-like name rather than a verb_noun action, but the overall pattern remains predictable.

Tool Count3/5

The server exposes 26 tools, which is heavy for a single MCP surface, though the count is distributed across several real subdomains: orders, merchants, interruptions, and catalogs. Each tool maps to a plausible operation, but the set is borderline large and could benefit from consolidation or grouping.

Completeness4/5

Order lifecycle coverage is strong, including polling, acknowledgement, confirmation, preparation, dispatch, pickup, cancellation reasons, and cancellation. Merchant, interruption, and catalog discovery/upsert coverage is also solid, though category/merchant update-delete operations and some endpoints flagged as best-guess represent minor gaps.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues