Skip to main content
Glama
aserper

grubhub-mcp

by aserper

get_restaurant

Retrieve restaurant details including menu, hours, ratings, and delivery estimates by ID; optional coordinates and order type support delivery or catering lookups.

Instructions

Get restaurant details including menu, hours, ratings, and delivery info.

Args: restaurant_id: The Grubhub restaurant ID latitude: Optional latitude for delivery estimates longitude: Optional longitude for delivery estimates order_type: Order type - standard, catering (default standard)

Input Schema

NameRequiredDescriptionDefault
latitudeNo
longitudeNo
order_typeNostandard
restaurant_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.7

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read operation and notes that latitude/longitude affect delivery estimates, but it says nothing about authentication requirements, whether the restaurant must be discovered first, or behavior when lat/long are omitted. This is a significant gap for a no-annotation tool.

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?

Purpose is front-loaded in the first sentence, followed by a scoped Args block. It is appropriately sized for a four-parameter tool with no wasted filler, though the Args formatting is slightly verbose.

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?

An output schema exists so return values need not be described, and the description still lists the main data returned. However, the absence of usage/routing guidance and of any auth or delivery-estimate caveats leaves the definition adequate but incomplete for a tool sitting among many restaurant and cart siblings.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate and it largely does: it explains restaurant_id as the Grubhub ID, latitude/longitude as delivery-estimate inputs, and order_type values (standard, catering) with default. It stops short of marking latitude/longitude as optional or noting order_type is a constrained set, but it adds real meaning beyond the bare schema.

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?

States a specific verb and resource ('Get restaurant details') and enumerates the returned data (menu, hours, ratings, delivery info), so an agent knows exactly what this retrieves. It does not name siblings like search_restaurants or get_menu, so it fails to fully differentiate from adjacent tools.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance. Given siblings such as search_restaurants and get_menu, the description should explain when an agent reaches for get_restaurant rather than those, but it offers no routing or prerequisites (e.g., where restaurant_id comes from).

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