Skip to main content
Glama

doordash_search_autocomplete

Read-only

Get nearby DoorDash restaurant matches for a partial search query. Upstream-capped at roughly five proximity-ranked stores, and results are not pickup-only.

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_autocomplete"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesPartial restaurant, cuisine, or dish text.
latitudeYesConsumer latitude.
longitudeYesConsumer longitude.

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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and non-idempotency, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: an upstream cap of roughly five results, proximity-based ranking, and the caveat that results are not pickup-only — the last being a real gotcha that prevents misreading results.

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, zero filler, with the core purpose front-loaded and the behavioral caveat following it. Every clause carries information an agent would otherwise have to discover empirically.

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 only three fully documented parameters and an output schema present, the description need not explain return shape. It covers scope, result cap, ranking basis, and a fulfillment caveat, leaving only minor gaps such as empty-result behavior or whether the cap is configurable.

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 coverage is 100% with clear per-field descriptions for query, latitude, and longitude, so the baseline is 3. The description only reinforces that coordinates drive proximity matching; it adds no format, range, or null-handling detail beyond the 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?

The description states a specific verb and resource: retrieve nearby DoorDash restaurant matches for a partial query. The word 'autocomplete' in the name is effectively restated as 'partial search query', which distinguishes it from full-search siblings like doordash_search, though no sibling is named explicitly.

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?

Usage is implied by 'partial search query' — an agent can infer this is a typeahead/prefix lookup rather than a full search. However, there is no explicit when-to-use, when-not-to-use, or pointer to doordash_search for complete queries, and no guidance on required location context.

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.