Skip to main content
Glama

instacart_departments

Read-only

Instacart store department/category taxonomy (Produce, Dairy & Eggs, Bakery, ...) two levels deep, metadata only.

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

Input Schema

NameRequiredDescriptionDefault
shop_idYesStore's opaque shop id, from GET /instacart/stores
store_slugYesStore's retailer slug, from GET /instacart/stores
postal_codeYesPostal code to localize the taxonomy for

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 / postal_code / description
      Added value: +"Postal code to localize the taxonomy for"
    • 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

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description still adds real behavior beyond them: the result is capped at two levels of depth and contains taxonomy metadata only, no products or prices — both material facts that prevent an agent from expecting a full category tree or item data.

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?

A single compact sentence with the identifying noun front-loaded and the depth/content constraints appended; nothing is wasted. It is slightly telegraphic as a fragment, but every phrase carries information.

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?

With an output schema present, return-value explanation is unnecessary, and all three parameters are schema-documented. What remains thin is the operational context — why the same taxonomy needs shop_id, store_slug and postal_code together, and how to use the result downstream — so it is adequate rather than complete.

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 coverage is 100% and each of the three required parameters is documented at the schema level (shop_id, store_slug, postal_code with provenance from GET /instacart/stores). The description adds nothing about parameters, so the baseline of 3 applies.

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?

Names the specific resource (Instacart store department/category taxonomy) and scopes it precisely with 'two levels deep, metadata only', with concrete examples (Produce, Dairy & Eggs, Bakery). It clearly is not a product search or item tool, though it never explicitly contrasts itself with siblings like instacart_search or instacart_item.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no named alternative. The phrase 'metadata only' implicitly signals this is for taxonomy discovery rather than product data, but the agent must infer that browsing categories belongs here while item retrieval belongs to instacart_item.

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.