Skip to main content
Glama

List grocery stores

market_stores
Read-onlyIdempotent

Find SnappMarket stores that deliver to a latitude and longitude, and compare delivery fees, minimum orders, and ratings.

Instructions

List SnappMarket stores delivering to the point, with delivery fee, minimum order and rating.

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>",
      "long": "<long>"
    },
    "name": "market_stores"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesDelivery latitude.
longYesDelivery longitude.
pageNoPage, from 0.
sortNoStore order.lowest_delivery_price

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.4.0
    • changedInput schema / properties / lat / description
      Previous value: -"Delivery point latitude."New value: +"Delivery latitude."
    • changedInput schema / properties / long / description
      Previous value: -"Delivery point longitude."New value: +"Delivery longitude."
    • changedInput schema / properties / sort / description
      Previous value: -"Order of the stores."New value: +"Store order."
  2. Changed9 schema fields changedv0.2.0
    • changedInput schema / properties / lat / description
      Previous value: -"Latitude of the delivery point (Iran: ~25 to ~40)."New value: +"Delivery point latitude."
    • removedInput schema / properties / lat / title
      Removed value: -"Lat"
    • changedInput schema / properties / long / description
      Previous value: -"Longitude of the delivery point (Iran: ~44 to ~63)."New value: +"Delivery point longitude."
    • removedInput schema / properties / long / title
      Removed value: -"Long"
    • changedInput schema / properties / page / description
      Previous value: -"Page number, from 0."New value: +"Page, from 0."
    • removedInput schema / properties / page / title
      Removed value: -"Page"
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • removedInput schema / title
      Removed value: -"market_storesArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "market_storesDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the bar is lower. The description does add real value by disclosing the payload fields (delivery fee, minimum order, rating), but it says nothing about result paging, what happens when no stores deliver to the point, or service coverage, which is a notable gap for an open-world lookup.

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?

A single front-loaded sentence with zero filler; the scope ('delivering to the point') precedes the payload description, so the most decision-relevant information comes first.

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?

No output schema exists, yet the description names the key fields returned, so an agent knows what it gets back. Completeness is only mildly undercut by silence on pagination and on the empty-result case.

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 typed bounds and an explicit sort enum, so the schema does the heavy lifting. The phrase 'delivering to the point' clarifies that lat/long represent the delivery destination rather than a search origin, which is a genuine but small semantic addition.

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?

Specific verb (List) plus a named resource (SnappMarket stores) and an explicit scope (delivering to the given point), with the returned fields named. It implicitly separates itself from market_store_info and market_search by being a geo-scoped store listing, but it never names those siblings outright.

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 only implied: pass a lat/long to get candidate stores. There is no explicit when-to-use guidance (e.g. 'use before market_find_cheapest to obtain store ids') and no when-not-to-use or alternative routing to market_search or market_store_info.

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