Skip to main content
Glama

Apify External Business Intelligence MCP Server

monitor_shopify_competitor_deltas

Idempotent

Monitor up to 50 external Shopify competitor stores (up to 2,500 products each) for price, stock, catalog, and MAP changes against persisted Key-Value Store snapshots. Requires storeUrls; minPriceChangePercent and mapFloorPrices drive CRITICAL alerts, while stateStoreName isolates snapshots per workflow (avoid concurrent runs on the same stateStoreName to prevent race overwrites). Persists snapshot state and optional webhookUrl alerts (explaining readOnlyHint=false), isolating per-store or webhook failures in OUTPUT_SUMMARY without aborting the run. Bills $2/1K real deltas ($0 on baseline or unchanged runs). Use for recurring Shopify SKU tracking; do not use for editing your Shopify admin, Meta ad audits (use audit_meta_ads_advertisers), or retail stockists (use extract_brand_store_stockists).

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": {
      "storeUrls": "<storeUrls>"
    },
    "name": "monitor_shopify_competitor_deltas"
  }
}

Input Schema

NameRequiredDescriptionDefault
storeUrlsYesList of 1 to 50 external Shopify store or collection URLs, e.g. ["https://www.allbirds.com"].
eventTypesNoOptional subset of catalog or pricing event types to emit.
webhookUrlNoOptional Slack, Discord, or n8n webhook URL notified when at least 1 delta occurs.
mapThresholdsNoOptional map of SKU or product handle to Minimum Advertised Price (flags mapViolation: true and severity: CRITICAL if below threshold).
stateStoreNameNoNamed Apify Key-Value Store (alphanumeric and hyphens only) used to persist snapshots between runs.shopify-delta-monitor-state
emitBaselineSummaryNoEmit 1 zero-cost baseline_initialized summary on the first snapshot of each store.
maxProductsPerStoreNoMaximum products to fetch per store URL (50-2,500, paginated at 250/page).
minPriceChangePercentNoMinimum percentage change threshold (0-100) before emitting price_drop or price_increase.

Output Schema

NameRequiredDescriptionDefault
actorYesApify Actor slug that produced these records.
countYesTotal number of records returned in items.
itemsYesDetected Shopify competitor pricing, inventory, or catalog delta events.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / eventTypes / default
      Added value: +[
      +  "new_product",
      +  "removed_product",
      +  "price_drop",
      +  "price_increase",
      +  "discount_started",
      +  "discount_ended",
      +  "out_of_stock",
      +  "restocked"
      +]
    • removedOutput schema / properties / items / items / properties / productTitle
      Removed value: -{
      -  "description": "Product title.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / items / items / properties / store
      Added value: +{
      +  "description": "Monitored Shopify store URL.",
      +  "type": "string"
      +}
    • removedOutput schema / properties / items / items / properties / storeUrl
      Removed value: -{
      -  "description": "Monitored Shopify store URL.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / items / items / properties / title
      Added value: +{
      +  "description": "Product title.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: it explains why readOnlyHint=false (snapshot persistence and webhook alerts), warns about race overwrites on a shared stateStoreName, describes per-store/webhook failure isolation into OUTPUT_SUMMARY without aborting, and discloses the $2/1K-delta billing model with $0 on baseline runs. The one omission is auth/credential requirements, which is minor given how much is already disclosed.

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?

Front-loads the core purpose and scope, then layers requirements, behavior, cost, and exclusions in a tight single paragraph. Every sentence carries operational information — limits, thresholds, race warning, billing, error handling — with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter, nested-object, write-and-persist tool with an existing output schema, the description covers the capabilities, cost model, concurrency constraint, and failure semantics an agent needs. Return-value detail is rightly left to the 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 the schema already documents all eight parameters; the description adds threshold semantics (which params drive CRITICAL alerts) and the stateStoreName isolation rule. However, it refers to 'mapFloorPrices' while the schema parameter is named 'mapThresholds', a naming mismatch that could misdirect an agent. With the schema carrying the primary burden, a 3 is appropriate.

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?

States a specific verb and resource ('Monitor external Shopify competitor stores') plus concrete scope limits (up to 50 stores, up to 2,500 products each) and the dimensions tracked (price, stock, catalog, MAP). It also names the three sibling alternatives it should not be confused with, so an agent can route without opening schemas.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use ('Use for recurring Shopify SKU tracking') and explicit when-not-to-use with named sibling tools for admin edits, Meta ad audits, and retail stockists. It adds operational prerequisites too (avoid concurrent runs on the same stateStoreName), leaving nothing to inference.

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.