Skip to main content
Glama

grubhub_availability

Read-only

Check ordering availability for up to 20 Grubhub restaurants, including channel status, delivery, flags, distance, ETA, fees, minimums, and next orderable time. Use grubhub_search to find restaurants, grubhub_restaurant_menu for items, or grubhub_timepicker for a restaurant's schedule.

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": {
      "restaurant_ids": "<restaurant_ids>",
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "grubhub_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
latitudeYesRequired. Diner location latitude -- availability is relative to it.
longitudeYesRequired. Diner location longitude.
restaurant_idsYesRequired. Comma-separated Grubhub restaurant ids, up to 20.

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/5.0
Behavior3/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 the returned facets and the batch cap, but the cap is already in the schema and there is no mention of auth requirements, rate limits, or how volatile availability results behave between calls.

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 tight sentences: the first front-loads what the tool returns, the second dispatches to alternatives. No redundant restatement of the title or name, and nothing that could be cut without losing meaning.

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?

With a full output schema and fully described parameters, the description needs only to frame purpose and routing, which it does. A small gap remains around batch-size failure behavior and result freshness, neither of which is stated.

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%, with each of the three parameters documented including the 'availability is relative to it' note for coordinates. The description adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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 ('Check ordering availability for up to 20 Grubhub restaurants') and enumerates the returned facets (channel status, ETA, fees, minimums, next orderable time), which makes it immediately distinguishable from menu, search, and schedule tools.

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?

Explicitly routes the agent to three named alternatives with the condition that selects each (search to find restaurants, menu for items, timepicker for schedule). It does not state a when-not case (e.g., don't use it to poll without ids), but the positive routing is clear enough that an agent won't confuse it with siblings.

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.