Skip to main content
Glama

SiteCheck Shop & Social

Grubhub restaurants delivering to a US ZIP code, optionally

ecommerce_grubhub
Read-only

Grubhub restaurants delivering to a US ZIP code (or lat/lng), optionally matching a search such as pizza or sushi: restaurant id, name, cuisines, rating and rating count, price level (1-4), delivery fee and order minimum (USD), delivery time window (minutes), pickup/delivery, open now, phone, address, distance (miles) and Grubhub link. Up to 20 per page. From Grubhub's own diner API through a US proxy. Usually takes about 12 s, up to 20 s on slower calls; allow a 30 s timeout. Related tools on this server, for a different need: ecommerce_aliexpress when you need AliExpress product search from the public search page; ecommerce_backmarket when you need Back Market refurbished-product search on a country site. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not 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": "ecommerce_grubhub"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude (with lng, instead of zip)
lngNoLongitude (with lat, instead of zip)
zipNoUS 5-digit ZIP code, e.g. 10001 (or give lat and lng)
modeNodelivery (default) or pickup
pageNoPage number, 1-10 (default 1)
queryNoOptional search text: cuisine, dish or restaurant name, e.g. pizza

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint it discloses data provenance (Grubhub diner API via a US proxy), pagination cap (up to 20 per page), latency (~12 s, up to 20 s; allow 30 s timeout), and an explicit cost model ($0.002 per successful call via x402, failures not charged). That is far more than the annotations convey and covers exactly the operational facts an agent needs.

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?

Front-loads what the tool returns, then alternatives, then latency and price, with no filler sentences despite the density. Every clause carries operational information.

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

Completeness5/5

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

An output schema exists so return shape needn't be explained, yet the description still names the fields, and it adds the latency, pagination, cost and payment-channel facts an agent needs to invoke it safely. Nothing material is missing for a read-only search tool.

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 zip, lat/lng, mode, page and query are already documented; the description only restates the optional-query idea and the location alternative. Baseline 3 is appropriate since the schema carries parameter meaning.

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 resource and scope: 'Grubhub restaurants delivering to a US ZIP code (or lat/lng), optionally matching a search such as pizza or sushi', plus an explicit enumeration of returned attributes. An agent can distinguish this from sibling marketplace tools without opening the schema.

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

Usage Guidelines4/5

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

Gives explicit routing guidance by naming two alternatives (ecommerce_aliexpress, ecommerce_backmarket) with the need each serves, and the 'US ZIP code' scoping implicitly bounds when this tool applies. It stops short of stating when NOT to use it (e.g., non-US delivery addresses) or any precondition beyond location input.

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