Skip to main content
Glama

datasets_starbucks_stores_search

Read-only

Search the worldwide stored Starbucks store directory, assembled by grid-tiling around the locator's 50-result cap. Costs 1 credit per record returned (minimum 2), so keep page_size to what you need. Use datasets_starbucks_stores_nearby for live nearby results, datasets_starbucks_stores_item for one store, or datasets_starbucks_stores_facets to inspect filters.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "datasets_starbucks_stores_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text search over store name, city, and address, 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.
cityNoOptional exact city filter.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, distance_asc. Defaults to store number order.
stateNoOptional state/region code filter, e.g. WA.
marketNoOptional crawl-provenance market filter, one of us or ca (the Starbucks host the store was discovered through, not its geography).
amenityNoOptional amenity code filter, e.g. DT for Drive-Thru or XO for Mobile Order and Pay.
countryNoOptional ISO-3166-1 alpha-2 country filter, e.g. US, GB, JP.
radius_mNoOptional radius in meters, from 1 through 50000; requires lat and lon.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.

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

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

The annotations only declare readOnly, openWorld, and non-idempotent; the description adds real cost behavior (1 credit per record, minimum 2) and a data-quality caveat about a 50-result locator cap worked around by grid-tiling. Together these explain why repeated calls cost money and why coverage may be uneven, though freshness and rate limits are not covered.

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?

Three sentences, all load-bearing: the first states what the tool is and its data provenance, the second states the cost constraint with an actionable rule for page_size, and the third routes the agent away to the alternatives. The routing sentence comes last, and no sentence restates the name or schema.

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?

For a 12-parameter, all-optional search tool with a full output schema, the description covers the parts the schema cannot: cost model, data provenance caveats, and sibling choice. It stops short of explaining behavior on zero results or how the page times page_size ceiling should be handled in practice.

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 coverage is 100%, so it establishes the baseline of 3, and the description adds meaning beyond it by tying `page_size` directly to the per-record credit cost, which turns a plain paging knob into a budget decision. It does not explain interactions such as lat/lon with sort=distance_asc or the 10000 page ceiling.

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 plus resource ('Search the worldwide stored Starbucks store directory') and pins down the scope: a stored, grid-tiled snapshot rather than live data. This immediately distinguishes it from the neighboring 'nearby' and 'item' tools.

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

Usage Guidelines5/5

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

Names three sibling tools and the exact condition that selects each: nearby for live proximity results, item for a single store, and facets for inspecting filters. This leaves no inference required to route between the Starbucks dataset tools.

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.