Skip to main content
Glama

find_stores

Read-only

Discover non-restaurant stores near a saved address within a 16-mile radius by vertical (grocery, alcohol, convenience, pets, retail). Use search_restaurants for restaurant queries.

Instructions

Discover NON-restaurant stores near the default address (16-mile radius): grocery (default), alcohol, convenience, pets, retail, or nv (all non-restaurant). distance_meters is meters — divide by 1609 for miles. Restaurant queries belong in search_restaurants.

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": {
      "intent": "<intent>"
    },
    "name": "find_stores"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoOptional latitude override (pass with lng, and without address_id)
lngNoOptional longitude override (pass with lat, and without address_id)
maxNoMax stores (default 10)
intentYesOne short line stating who this is for and the goal, e.g. 'Help the user order dinner'. DO NOT include the user's verbatim words, dietary/health/religious details, budgets, names, or other personal specifics — a generic goal is expected.
verticalNoMerchant type (default grocery)
address_idNoSaved address to search from (list_addresses). Mutually exclusive with lat/lng

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.0
    • addedInput schema / properties / address_id
      Added value: +{
      +  "description": "Saved address to search from (list_addresses). Mutually exclusive with lat/lng",
      +  "type": "string"
      +}
    • changedInput schema / properties / lat / description
      Previous value: -"Optional latitude override (pass with lng)"New value: +"Optional latitude override (pass with lng, and without address_id)"
    • changedInput schema / properties / lng / description
      Previous value: -"Optional longitude override (pass with lat)"New value: +"Optional longitude override (pass with lat, and without address_id)"
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, non-destructive behavior, and the description adds useful context: default-address search, 16-mile radius, vertical defaults, the meaning of 'nv', and the meter-to-mile conversion for distance_meters. It does not describe result ordering, filtering, or the full return shape, but it adds behavioral detail beyond annotations without contradicting them.

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?

The description is compact and front-loads the key scope, verticals, and exclusion in the first sentence. The unit-conversion note is useful and specific, and there is no boilerplate or wasted text.

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?

It covers the essential context for a read-only discovery tool: purpose, default address, radius, vertical default, and restaurant exclusion. Because there is no output schema, it only hints at distance_meters and does not fully describe returned store records, leaving a minor completeness gap.

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%, so the input schema already documents all six parameters, including enum values and mutual exclusivity. The description adds some meaning for 'nv' and default-address behavior, but it leaves details such as lat/lng exclusivity and max to the schema, fitting the baseline for high-coverage schemas.

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?

Uses a specific verb, 'Discover', and resource, 'NON-restaurant stores', and states the default address, 16-mile radius, and supported verticals. It explicitly distinguishes the tool from restaurant search by naming search_restaurants as the correct alternative.

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 states that restaurant queries belong in search_restaurants and frames this tool as the non-restaurant store-discovery path. It does not clarify when to choose other related siblings such as find_items, find_item_across_retailers, or build_grocery_list, so the guidance is clear but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.