Skip to main content
Glama

datasets_starbucks_stores_nearby

Read-only

Find nearby Starbucks stores from the full directory dataset without a 50-result cap. Costs 1 credit per record returned (minimum 2), so keep page_size to what you need. Use datasets_starbucks_stores_search for text-based location queries.

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": {
      "lat": "<lat>",
      "lon": "<lon>",
      "radius_m": "<radius_m>"
    },
    "name": "datasets_starbucks_stores_nearby"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesRequired center latitude, from -90 through 90.
lonYesRequired center longitude, from -180 through 180.
pageNoResult page number, 1-based, default 1.
amenityNoOptional amenity code filter, e.g. DT.
countryNoOptional ISO-3166-1 alpha-2 country filter.
radius_mYesRequired search radius in meters, from 1 through 50000.
page_sizeNoPage size, default 20, max 100.

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, openWorldHint and idempotentHint=false, so safety is covered. The description adds genuinely new behavioral context: a per-record credit cost with a minimum of 2 and the absence of a 50-result cap, plus practical advice to keep page_size low; it does not contradict the non-idempotent hint.

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 tight sentences: capability and scope first, cost constraint second, alternative routing last. Every sentence carries distinct information and there is no filler.

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?

An output schema exists, so return values need no explanation, and the description covers the distinctive traits an agent must know before calling: uncapped results, credit cost, and the sibling alternative. Only minor gaps remain, such as whether results are sorted by distance or what the minimum-2 charge means for tiny radius queries.

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 lat, lon, radius_m, page, page_size, amenity and country are all already documented; baseline is 3. The description adds cost-linked meaning to `page_size` ('keep it to what you need') that the schema does not convey, but gives no guidance on radius_m, amenity codes or country filtering.

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 ('Find nearby') plus resource ('Starbucks stores') and adds scope ('from the full directory dataset without a 50-result cap'), which is exactly what distinguishes it from a capped or text-search sibling. An agent can select it without opening the schema.

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 datasets_starbucks_stores_search for 'text-based location queries', giving a clear alternative and the condition that selects it. It stops short of stating when *not* to use this tool (e.g. when no coordinates are known), but the routing rule is clear.

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.