Skip to main content
Glama

Search local offerings

search_local_offerings
Read-onlyIdempotent

Free item/service search with no sign-in, by coordinates and optional city. Use it to check whether a Dallas shop has an item in stock. 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. Returns { envelope_version: 1, results, data_coverage, city? } and optional wider_search. Approved rows include id, title, businessId, displayName, listed price fields, distanceMeters, reach, source_type, freshness, data_age_seconds and nullable lastConfirmedAt/availability. Availability also requires that data within its freshness window, a non-listed plan, and billing switched on (test or live). Website-name matches follow approved rows with unconfirmed labels, source URL and last-seen date, without price or availability. Empty results describe this query only. Preserve coverage, city warnings and contact/request-area next steps; virtual distance is null. Use discover_local for directory alternatives.

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

Input Schema

NameRequiredDescriptionDefault
qYes
latYes
lngYes
cityNo
radius_mNo
attributesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare a safe read; the description goes far beyond that, disclosing data provenance (Square/Shopify connections or merchant CSV), the gating conditions for availability (freshness window, non-listed plan, billing switched on), the partial-result tier of unconfirmed website-name matches, and the meaning of empty results. It also warns that virtual distance is null and that coverage/city warnings must be preserved, which is behavior an agent could not infer from annotations.

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

Conciseness3/5

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

The purpose is front-loaded in the first sentence, but the remainder is one dense paragraph that mixes return-field enumeration, availability business rules and data-source caveats without separation. Every clause is substantive, yet the lack of structure makes the return-shape inventory hard to scan and it crowds out parameter guidance.

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 complex, open-ended search with no output schema and zero schema descriptions, the description does substantial work: it explains where results come from, how availability is qualified, what an empty result does and does not mean, and what the optional wider_search implies. The remaining gap is input-side, since nothing explains q, radius_m or attributes, which is the one thing an agent must get right to invoke the tool.

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 6 parameters including a nested free-form attributes map, so the description must carry the burden. It only clarifies lat/lng and city; the required query parameter q, the radius_m default/range, and the structure and purpose of attributes are never explained, leaving three parameters semantically opaque.

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?

"Free item/service search with no sign-in, by coordinates and optional city" names a specific verb, resource, cost/auth model and input axes in one sentence. It also explicitly separates itself from the sibling directory tool ("Use discover_local for directory alternatives"), so an agent can choose between them without opening either 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?

It gives a concrete use case ("check whether a Dallas shop has an item in stock") and points to discover_local for directory-style queries, which is real routing guidance. It stops short of stating when-not to use it, e.g. that it will not return businesses lacking connected inventory data or that check_availability should be used for a single known shop.

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