Skip to main content
Glama

instacart_search

Read-only

Fetch Instacart search-term suggestions for a keyword within one store, including representative thumbnails. Use instacart_search_nearby for product results near a location, instacart_item for one item, or instacart_stores to find stores.

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": {
      "shop_id": "<shop_id>",
      "store_slug": "<store_slug>",
      "q": "<q>"
    },
    "name": "instacart_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesFree-text search term
shop_idYesStore's opaque shop id, from GET /instacart/stores
store_slugYesStore's retailer slug, from GET /instacart/stores

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. Changed3 schema fields changed
    • addedInput schema / properties / q / description
      Added value: +"Free-text search term"
    • addedInput schema / properties / shop_id / description
      Added value: +"Store's opaque shop id, from GET /instacart/stores"
    • addedInput schema / properties / store_slug / description
      Added value: +"Store's retailer slug, from GET /instacart/stores"
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is provided. The description adds only that results include representative thumbnails; it does not explain the non-idempotent/volatile nature of suggestions or any rate or permission constraints, so added behavioral value beyond annotations is modest.

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?

Two sentences, zero filler. The core purpose and scope are front-loaded, and the sibling routing follows as a compact clause.

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 an output schema present, the description need not describe return values, and annotations cover safety behavior; schema coverage at 100% handles parameters. It is complete enough to select and invoke correctly, though it could briefly note the typeahead/non-deterministic nature that the idempotentHint=false annotation implies.

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 q, shop_id, and store_slug are already documented with provenance (GET /instacart/stores). The description reinforces that q is a keyword and that results are scoped to a single store, but adds no format, length, or matching semantics beyond the schema, which is the baseline case for full coverage.

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 opens with a specific verb and resource ('Fetch Instacart search-term suggestions'), scopes it ('for a keyword within one store'), and notes the included thumbnails. It also names the three sibling tools it is not, so an agent can distinguish it from product/item/store lookups without opening a 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 explicitly routes to instacart_search_nearby for location-based products, instacart_item for a single item, and instacart_stores for store discovery, which covers the likely confusions. It does not state an explicit when-not condition or prerequisite for this tool itself (e.g., autocomplete/typeahead use), keeping it short of a 5.

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.