Skip to main content
Glama
Shopify Analytics MCP Server

Shopify Analytics MCP Server

by DrMatrixx

get_inventory_status

Checks current Shopify inventory levels, flags low-stock and out-of-stock products, and supports custom thresholds or showing all products.

Instructions

Get current stock levels with low-stock and out-of-stock alerts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_inventory_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_allNoShow all products or only low/out-of-stock (default: false)
low_stock_thresholdNoUnits below which a product is flagged low-stock (default: 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. The word 'Get' implies a read, and the alert behavior is disclosed, but nothing is said about scope (per product vs. whole catalog), pagination, permissions, or whether the result is a snapshot or cached 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 front-loaded sentence with no filler; the core behavior and the alert capability are both stated immediately. It is efficient, though slightly more scoping detail could have been added without bloat.

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?

For a simple read tool with two optional, fully documented parameters, the description covers the essential purpose. It remains unclear what the response shape looks like (a list of products with levels, or aggregates?) and whether alerts are inline or separate, which matters given there is no output schema.

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%, so both parameters (include_all, low_stock_threshold) are already documented with defaults. The description's mention of low-stock/out-of-stock alerting loosely ties to threshold filtering but adds no new semantics, so the baseline 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?

States a specific verb and resource ('Get current stock levels') and adds a distinguishing element — low-stock and out-of-stock alerts — that separates it from the sales/customer siblings. It doesn't explicitly name a contrasting sibling, but no plausible inventory alternative exists in the listed context.

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 guidance, no prerequisites, and no mention of when another tool (e.g. product performance or sales summaries) would be preferable. The 'current' qualifier hints at a real-time snapshot but never says so explicitly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.