Skip to main content
Glama
arsalan-arshad

shopify-inventory-mcp

get_reorder_suggestion

Computes reorder point and safety stock for a SKU using lead time and service-level z to help determine when inventory should be replenished.

Instructions

Reorder point and safety stock for a SKU given lead time and service level.

Input Schema

NameRequiredDescriptionDefault
skuYes
leadTimeDaysNo
serviceLevelZNoService-level z (default 1.65)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden and falls well short. It does not state that this is a read-only computation, what happens when leadTimeDays or serviceLevelZ are omitted (the schema marks only sku as required), whether the calculation consumes stored forecast data, or what the response contains.

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 waste and the key outputs stated first. It is efficient, though the terseness contributes to the coverage gaps noted elsewhere.

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 three-parameter, no-annotation, no-output-schema tool, the description names the outputs adequately but leaves the agent guessing about default behavior when optional parameters are omitted and about which sibling tool answers which related question.

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 only 33% — serviceLevelZ is documented in the schema while sku and leadTimeDays are bare. The description partially compensates by tying 'lead time' and 'service level' to those parameters, but adds no units, no default for leadTimeDays, and no explanation of how forecast demand enters the calculation.

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?

It names the concrete outputs (reorder point, safety stock) and the governing inputs (lead time, service level) for a SKU, so the agent knows this is an inventory-policy calculation. It does not differentiate itself from siblings like get_sku_forecast or list_at_risk_skus, so the agent cannot tell from the text which one to reach for.

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 the sibling tools that cover adjacent questions (forecast retrieval, input explanation). The only hint of usage is that lead time and service level are inputs, which is implicit rather than stated.

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