Skip to main content
Glama

doordash_search_items

Read-only

Search menu items across nearby DoorDash merchants. Selects nearby candidate stores, then reads each store's menu and returns items whose name or description matches the query. At most five proximity-ranked stores are inspected per request and a store whose menu cannot be read is skipped, so results are best-effort; an empty result means no candidate store menu matched, not that no nearby merchant sells the item.

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

Input Schema

NameRequiredDescriptionDefault
tagNoOptional cuisine or store tag.
queryYesSearch text.
asapOnlyNoKeep only stores currently available ASAP.
latitudeYesConsumer latitude.
longitudeYesConsumer longitude.
pickupOnlyNoKeep only pickup-enabled stores.
dashPassOnlyNoKeep only DashPass-eligible stores.
maxDistanceMilesNoMaximum displayed distance in miles.

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.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, non-idempotent), the description discloses the concrete internal limits: at most five proximity-ranked stores are inspected per request, unreadable menus are skipped, and coverage is best-effort. It also pre-empts the most likely misreading of empty results, which is exactly the behavioral context an agent cannot get from the structured fields.

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?

Three sentences, front-loaded with purpose followed by mechanism and then the caveat. The middle sentence is long and packs several constraints together, but every clause carries information an agent needs; there is no filler or restatement of the name.

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 8 parameters at full schema coverage and an output schema present, the description only needs to cover behavior and caveats, which it does well. The one gap is that it does not indicate any cap or ordering on the returned items themselves, only on how many stores are inspected.

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 eight parameters are already documented in the schema. The description adds a little semantic framing ('proximity-ranked' relates to maxDistanceMiles, 'name or description matches' relates to query) but says nothing about tag, asapOnly, pickupOnly, or dashPassOnly behavior, so the baseline 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?

The description names a specific verb and resource ('Search menu items across nearby DoorDash merchants') and then explains the retrieval mechanism: candidate stores are selected, each menu is read, and items matching by name or description are returned. That distinguishes it from a store-level search or a single-store menu tool without the agent needing another schema.

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?

It gives useful operational context for interpreting negative results ('an empty result means no candidate store menu matched, not that no nearby merchant sells the item') and sets a best-effort expectation. However, it never states when to prefer this over related tools such as a general DoorDash search or a single-store menu lookup, so the guidance is implied rather than explicit.

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.