Skip to main content
Glama

scan_store

Scans a Shopify or WooCommerce store for machine-readability issues in price, stock, returns, shipping, and reviews, charging credits only on successful scans.

Instructions

Scan a Shopify/WooCommerce store for machine-readability problems (five-field score: total_price, stock, returns, shipping, reviews).

Takes roughly 30-90 seconds per store. Charges 1 credit ONLY when the scan succeeds (status == "ok"); unreachable or unparseable stores are free. Pass idempotency_key to make retries safe — the same (license, idempotency_key) pair is charged at most once. Requires SCANNER_API_KEY (Creem license) in the server env.

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": {
      "url": "<url>"
    },
    "name": "scan_store"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
per_storeNo
idempotency_keyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses runtime, the asymmetric charging rule (free on unreachable/unparseable stores), idempotency semantics for retries, and the required server-side license key. It stops short of saying whether repeated scans of an already-scanned store are cached or re-charged.

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?

Front-loads the core action and score fields, then stacks cost, retry, and auth notes in a logical order with no filler. The multi-line parenthetical and line-broken sentences slightly hurt scannability but nothing is redundant.

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?

An output schema exists, so return-value explanation is rightly omitted, and the timing, billing, retry, and auth context make this callable without further digging. The unexplained per_store parameter is the one notable hole for a tool with three inputs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for all three parameters. It explains idempotency_key in depth and implies url from the scanning action, but per_store (default 3) is never mentioned, leaving a required and an unexplained parameter ambiguous without opening the schema.

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 (scan) and resource (a Shopify/WooCommerce store), plus the concrete output dimension (five-field score: total_price, stock, returns, shipping, reviews). The siblings get_balance and get_pricing are clearly different concerns, so an agent can route to this tool confidently.

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

Usage Guidelines3/5

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

Gives practical preconditions—env var SCANNER_API_KEY, expected 30-90 second runtime, credit cost only on success—but never frames when to choose this over the sibling tools or what to do if the store type is unsupported. Usage is implied rather than guided.

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

Deploy Server

Other Tools