Skip to main content
Glama

Discover local offerings and businesses

discover_local
Read-onlyIdempotent

Free search with no sign-in for items, services and directory businesses by coordinates and optional city. Use it to find a Dallas shop that may have an item in stock or an open appointment. Stock comes from a shop's connected Square or Shopify inventory, or from a merchant CSV upload, only where the shop has provided that data. Open appointments come from a shop's connected Calendly booking, only where the shop has connected it. Returns offerings, unconfirmed website_items, directory.businesses, data_coverage and optional wider_search/city status. Offering rows include title, businessId, nullable priceCents/price, price_display, distanceMeters, source_type and data_age_seconds; directory rows include display_name, storefront address, phone, website, matchedOn, hours, services and missing. directory.gaps summarizes omissions. Availability also requires that data within its freshness window, a non-listed plan, and billing switched on (test or live); directory and website matches do not confirm stock or slots. Empty results describe this query only. Preserve source labels, unknown dates, contact/request-area next steps and city warnings. Virtual businesses have no street or directions. Optional research_errand URLs share a two-page limit per answer; use only relevant research_fact_types.

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>",
      "lng": "<lng>",
      "q": "<q>",
      "category": "<category>"
    },
    "name": "discover_local"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYes
latYes
lngYes
cityNo
categoryYes
radius_mNo
attributesNo
research_fact_typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely non-obvious behavior: inventory provenance (Square, Shopify, CSV upload), that availability requires being inside a freshness window, a non-listed plan and billing switched on, that directory/website matches do not confirm stock, and that empty results describe only this query. The phrasing is compressed and terms like 'a non-listed plan' are opaque, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is well front-loaded, but the remainder collapses into a dense run-on covering return fields, availability preconditions, and unrelated research limits in one block. Details like 'nullable priceCents/price, price_display, distanceMeters, source_type and data_age_seconds' are a serialized field list rather than guidance, and the trailing research_errand sentence is unexplained and disruptive.

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?

There is no output schema, and the description does compensate by describing the returned groups, per-row fields, and directory.gaps, plus caveats about virtual businesses and city warnings. However, with 8 parameters at 0% schema coverage and a nested object, several invocation-critical inputs remain undocumented, so it is only partially complete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters, including a nested free-form 'attributes' object, so the description must carry the burden and largely does not. Only q/lat/lng/city/category are indirectly gestured at ('by coordinates and optional city', 'items, services'); radius_m, attributes, and research_fact_types semantics are never explained. The lone parameter note ('research_errand URLs share a two-page limit ... use only relevant research_fact_types') references a name not present in the schema and adds confusion rather than meaning.

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?

Opens with a specific verb and resource set: 'Free search ... for items, services and directory businesses by coordinates and optional city', and enumerates the return buckets (offerings, website_items, directory.businesses, data_coverage). It does not name or distinguish against the obvious siblings search_local_offerings or find_nearby_businesses, so an agent must infer the boundary itself.

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?

Provides one concrete usage scenario ('find a Dallas shop that may have an item in stock or an open appointment'), which is clear intent but not an explicit when-to-use rule. There is no statement of when NOT to use it, no pointer to the sibling tools for narrower lookups, and no stated prerequisites despite availability requiring billing and plan conditions.

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.

Resources