Skip to main content
Glama

justeat_search

Read-only

Fetch the full Just Eat restaurant listing for a UK postcode, with ratings, images, delivery windows, and open status; results follow the site's best-match order unless sort_by is set. No-coverage postcodes return an empty list. Use justeat_search_filters for accepted filters or justeat_restaurant for one store.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "postcode": "<postcode>"
    },
    "name": "justeat_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRestaurants to return, clamped to 100. Default 20.
filterNoOptional, repeatable. Just Eat's own area-page filter slugs, passed through as-is and OR'd together (e.g. "pizza" and "chinese" together return restaurants matching either cuisine, not both). Also reaches Just Eat's non-restaurant categories -- groceries, alcohol, pharmacy, electronics, flowers, gifts, and more -- via the same mechanism (e.g. filter=groceries); these use /justeat/restaurant/menu's shop-type-store fallback. See notes/justeat-maintenance.md's 'Filters' section for the confirmed 150+ slug list. An unrecognized slug is not rejected client-side; it narrows to a smaller or empty result rather than erroring, matching the upstream's own behavior.
sort_byNoOptional. One of best_match (default), review_rating, distance, delivery_time, minimum_order_value, delivery_fee.
postcodeYesUK postcode to search near (required).

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds behavior beyond that: default best-match ordering that only changes when `sort_by` is set, and an empty list rather than an error for uncovered postcodes. It does not explain why the tool is non-idempotent or mention any rate limiting, so it stops just short of a 5.

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

Conciseness5/5

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

Two sentences, front-loaded with purpose and scope, then sibling routing. No filler; every clause carries operative information and the semicolon keeps the ordering caveat attached to the main claim.

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

Completeness4/5

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

An output schema exists, so the description need not detail return values, and parameter semantics are fully covered by the schema. For a read-only search of modest complexity, the remaining gaps (pagination behavior when `limit` is hit, how the non-restaurant shop fallback affects results) are minor.

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%, including the OR-semantics of `filter`, the 100 clamp on `limit`, and the enum-like `sort_by` values, so the schema already does the heavy lifting. The description only adds the ordering default tied to `sort_by`, which the schema also states, making 3 the correct baseline.

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

Purpose5/5

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

States a specific verb and resource ('Fetch the full Just Eat restaurant listing') scoped to a UK `postcode`, and immediately lists what comes back (ratings, images, delivery windows, open status). That is enough for an agent to tell it apart from `justeat_search_filters` and `justeat_restaurant` without opening any schema.

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

Usage Guidelines5/5

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

Routes the agent explicitly: use `justeat_search_filters` to discover accepted filter slugs, and `justeat_restaurant` when a single store is wanted. The empty-result condition ('No-coverage postcodes return an empty list') also tells the agent what an apparently failed call means, so it does not retry uselessly.

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.