Skip to main content
Glama

instacart_search_nearby

Read-only

Instacart search-term autosuggestions for a keyword across every retailer serving a postal code at once, credential-free (unlike instacart_search's single-store lookup).

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": {
      "postal_code": "<postal_code>",
      "q": "<q>"
    },
    "name": "instacart_search_nearby"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesFree-text search term
postal_codeYesUS postal/ZIP code to search near

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. Changed2 schema fields changed
    • addedInput schema / properties / postal_code / description
      Added value: +"US postal/ZIP code to search near"
    • addedInput schema / properties / q / description
      Added value: +"Free-text search term"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds a genuinely useful behavioral fact beyond them: the call is 'credential-free', which tells an agent no auth step is required — a real operational detail. It says nothing about rate limits, result caps, or latency, so it is not exhaustive.

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 dense sentence with the core purpose front-loaded and the sibling comparison placed in a trailing parenthetical where it belongs. Every clause carries information; nothing is 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?

With only two fully documented required parameters and an output schema covering return values, the description need not explain more. It covers purpose, scope, auth posture, and the sibling distinction, leaving only minor operational details (result limits, ordering) unstated.

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 both parameters are already documented, and the baseline is 3. The description adds only marginal meaning — it clarifies that the postal code defines the set of retailers searched rather than a single store — but gives no syntax, format, or example values beyond the schema.

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?

The description names a specific resource (search-term autosuggestions), a specific input (a keyword plus a postal code), and the scope (every retailer serving that postal code). It also explicitly contrasts itself with the sibling instacart_search, so an agent can distinguish the two 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?

The parenthetical 'unlike instacart_search's single-store lookup' gives a concrete condition for choosing this tool over the named alternative. It does not spell out an explicit when-not-to-use case (e.g. when only one store is relevant), so it falls short of a full routing rule.

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.