Skip to main content
Glama

OpenData Best Web Intelligence (x402 USDC)

iFood Brazil Restaurants and Menus: Restaurants and stores by city, category, keyword or location

ifood_com_br__search
Read-only

[iFood Brazil Restaurants and Menus] Restaurants and stores by city, category, keyword or location. Restaurant/store rows for a city, category or keyword search, a chain, a location (CEP, address or coordinates), the grocery vertical or a known browse page. x402 price: $0.0030/row USDC (max 10 rows; 0 rows / errors are never charged).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ifood_com_br__search"
  }
}

Input Schema

NameRequiredDescriptionDefault
cepNoEight-digit Brazilian postal code, with or without a hyphen. Used to choose the search location.
cnpjNoBrazilian business registration number (14 digits, punctuation optional). Keeps merchants whose iFood merchant details list this CNPJ; merchants are looked up through their iFood merchant metadata, which can add one request per merchant.
modeNoLeave on Auto to select a mode from the target fields. Empty input starts a pizza search in Sao Paulo with at most 3 rows; select a mode explicitly for menus, dishes, reviews or discovery.auto
pageIdNoKnown iFood browse-page identifier. Required for browse mode.
sortByNoOptional sorting value supported by iFood for the selected search.
addressNoBrazilian location or address text used to locate the search area.
citySlugNoCity and state slug, such as sao-paulo-sp or rio-de-janeiro-rj. Supported place-based modes use Sao Paulo when no other location is supplied.
latitudeNoDelivery latitude. Provide longitude as well when specifying coordinates.
chainNameNoChain or brand name to search for, such as Burger King. Used by chain mode.
longitudeNoDelivery longitude. Provide latitude as well when specifying coordinates.
maxResultsNoMaximum rows per start URL, or for the single target in other modes; all row types share that allowance, with requests above 70 collected in parts of at most 70 rows. The default is 70, subject to the run cost limit and Free-plan limits of 200 rows per run and 10 runs.
searchTermNoWords to search for, such as pizza or hamburguer. Use Portuguese terms for local searches.
categorySlugNoCuisine or vertical to search, such as pizza, japonesa or mercado. Used by category mode.
onlyWithCnpjNoKeep only merchant rows whose iFood merchant details list a CNPJ.
includeVerticalsNoKeep merchants matching these vertical keywords, such as mercado or farmacia.
mainCategoryFilterNoKeep merchants whose main category contains this text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds genuinely new behavior: a per-row x402 price of $0.0030 USDC, a hard 10-row cap, and the fact that zero-row results and errors are never charged. That billing/scope disclosure is exactly the extra context worth having beyond annotations, though auth and rate-limit behavior remain unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the resource and facets, then pricing. Nearly every clause earns its place, though the long run-on enumeration in the first sentence is dense and could be split for scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter tool with no output schema, the description says only that 'Restaurant/store rows' are returned, which leaves an agent guessing at the row shape. Cost and row caps are covered well, but return-value content and the mode-selection preconditions deserve more, especially given the schema's self-contradictory maxResults text (default 5/max 10 vs. a stated default of 70 and 200-row limits).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all 16 parameters are already documented in the schema, making 3 the baseline. The description only loosely maps its listed facets (city, category, keyword, location, grocery vertical, browse) onto the mode options, without adding format or interaction details the schema lacks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource (search restaurants/stores) and enumerates the facets it can resolve into: city, category, keyword, chain, location, grocery vertical, and known browse page. An agent can tell what it retrieves, though it never names the sibling it is not (e.g. ifood_com_br__stores or ifood_com_br__reviews), so the boundary against those is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by listing the inputs it accepts, but gives no explicit when-to-use vs when-not guidance and no routing to alternatives. The real routing logic (leave mode on Auto, empty input searches pizza in Sao Paulo) lives in the schema's mode description, not the tool description, so guidance is present but only indirectly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources