Skip to main content
Glama

datasets_doordash_stores_facets

Read-only

Returns terms aggregation counts over the DoorDash store directory dataset, honoring the same filters as search. Use alongside the related search tool to discover the exact country, state, city, and tag values before filtering.

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": {
      "facet": "<facet>"
    },
    "name": "datasets_doordash_stores_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text search over store name, address, city, and marketplace tags, max 256 characters.
latNoOptional latitude for radius filtering or distance sort, from -90 through 90; supply together with lon.
lonNoOptional longitude for radius filtering or distance sort, from -180 through 180; supply together with lat.
tagNoOptional single marketplace tag filter, e.g. Pizza or Grocery. Repeat via /doordash-stores/facets?facet=tags to discover the full tag set.
cityNoOptional exact city filter.
pageNoOffset page number, 1-based, default 1; the 10000-result window applies only to offset pagination.
sortNoOptional sort order. Allowed values: relevance, rating, distance, distance_asc. Relevance ranks text matches when q is supplied and otherwise sorts by store name.
facetYesRequired facet to aggregate. Allowed values: country, state, city, tags, display_status, price_range, dash_pass_eligible.
stateNoOptional state/region code filter, e.g. CA.
cursorNoOpaque continuation cursor returned as next_cursor. Use with pagination=cursor and the same filters and sort.
countryNoOptional ISO-3166-1 alpha-2 country filter, e.g. US, CA.
radius_mNoOptional radius in meters, from 1 through 50000; requires lat and lon.
max_priceNoOptional maximum price range tier, inclusive.
min_priceNoOptional minimum price range tier, inclusive.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
min_ratingNoOptional minimum aggregate rating, from 0 through 5. Stores DoorDash reports with no rating are excluded.
paginationNoPagination mode: offset or cursor. Cursor mode uses a point-in-time snapshot and can enumerate beyond 10,000 results.
dash_pass_onlyNoOptional flag; when true, keep only stores DoorDash marks DashPass eligible.

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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds one genuinely useful behavioral fact — that the same filters as search are honored — but says nothing about how counts relate to the filter set or pagination, and only mentions four of the seven facet dimensions the schema exposes.

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?

Two compact sentences, with the what-it-does statement front-loaded before the workflow advice. No filler, though "terms aggregation counts" is jargon that an agent may need to interpret.

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?

With 18 parameters, an output schema, and existing annotations, the description needs only to orient the agent — which it does. However, for a tool whose whole job is aggregation it leaves open whether counts reflect the current filters or the full dataset, and it omits the price_range, display_status, and dash_pass_eligible facets that the schema allows.

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% across all 18 parameters, so the schema carries nearly all the parameter meaning, including the full facet enum and per-filter constraints. The description's mention of country/state/city/tag values adds only loose alignment with the facet parameter, so the baseline 3 applies.

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 names a specific verb and output type ("returns terms aggregation counts") and a specific resource ("DoorDash store directory dataset"), which is clearly distinct from an item or search tool. It stops short of naming the sibling search tool explicitly, referring only to "the related search tool," so the differentiation is slightly softer than it could be.

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?

It gives a concrete workflow: use this alongside search to discover exact country, state, city, and tag values "before filtering." That is a real when-to-use rule. It does not state when not to use it (e.g., when facet values are already known), so a small gap remains.

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.