Skip to main content
Glama

instacart_item

Read-only

Fetch one Instacart product's details at a specific store, including current price, sale badge, availability, stock, dietary labels, and nutrition. Provide the required product_id, shop_id, store_slug, retailer_location_id, and postal_code; use instacart_stores for store IDs or instacart_search for product discovery.

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>",
      "retailer_location_id": "<retailer_location_id>",
      "product_id": "<product_id>",
      "postal_code": "<postal_code>"
    },
    "name": "instacart_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
shop_idYesStore's opaque shop id, from GET /instacart/stores
product_idYesInstacart's opaque product id
store_slugYesStore's retailer slug, from GET /instacart/stores
postal_codeYesPostal code to price/localize the lookup for
retailer_location_idYesStore's opaque retailer location id, 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. Changed5 schema fields changed
    • addedInput schema / properties / postal_code / description
      Added value: +"Postal code to price/localize the lookup for"
    • addedInput schema / properties / product_id / description
      Added value: +"Instacart's opaque product id"
    • addedInput schema / properties / retailer_location_id / description
      Added value: +"Store's opaque retailer location id, from GET /instacart/stores"
    • 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

A3.9/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 safety and volatility are covered structurally. The description adds that the response reflects 'current price,' availability and stock, which is consistent with the open-world hint but adds little beyond it, and it says nothing about how postal_code affects pricing or what happens when the location does not carry the item. With an output schema present, the field enumeration is largely redundant.

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

Conciseness4/5

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

Two sentences, front-loaded with the resource and its returned data, followed by the parameter/routing note. The list of required parameter names mildly duplicates the schema, but the routing clause in the same sentence earns its place.

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 five-required-parameter lookup tool with full schema coverage, an output schema and annotations, the description supplies what an agent needs to call it and where to source IDs. The only thin spot is the interaction between postal_code and price/availability localization, which is left implicit.

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 each of the five required parameters is already documented, including the note that store identifiers come from GET /instacart/stores. The description restates the required parameter names and repeats the stores-endpoint hint rather than adding new meaning such as format constraints or mismatch behavior. Baseline 3 is appropriate when the schema carries the load.

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 one Instacart product's details at a specific store') and enumerates the returned attributes (price, sale badge, availability, stock, dietary labels, nutrition), which pins down scope precisely. It also implicitly separates itself from instacart_search by framing this as a single-product detail lookup rather than discovery.

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 concrete routing guidance: 'use instacart_stores for store IDs or instacart_search for product discovery,' which tells an agent how to obtain the opaque identifiers it needs and where to go for a different task. It stops short of stating when not to use this tool (e.g., for browsing or bulk price comparison), so it is clear context rather than full when/when-not coverage.

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.