Skip to main content
Glama

Start Shopify Order Backfill

trigger_shopify_order_backfill

Start the historical Shopify order backfill: a durable background import of the order history that predates the store's connect date. Live tenants only — sandbox/trial tenants keep the connect-date cutoff and are refused. At most one backfill runs per store; re-triggering while one is active is refused. Poll progress via get_integration_status (provider 'shopify'). Requires an operator (unpinned) org token with write access.

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": "trigger_shopify_order_backfill"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
errorNo
statusNo
startedAtNo
ordersFailedNo
ordersSkippedNo
ordersImportedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), the description discloses that the import is a durable background job, that only one may run per store, the tenant-type gate, and the exact auth requirement (operator/unpinned org token with write access) — exactly the operational context an agent needs before firing a non-idempotent job.

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?

Four short sentences, front-loaded with the action and followed by gating rules, polling guidance, and auth. Dense but every clause carries decision-relevant information; only the sandbox clause's phrasing is slightly redundant.

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 a no-arg background-job trigger with an output schema already covering return values, the description covers the remaining unknowns: eligibility, concurrency limit, refusal behavior, follow-up polling, and auth scope.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate beyond what the schema already conveys; the baseline for a 0-param tool applies. The description correctly adds no fake argument detail.

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?

"Start the historical Shopify order backfill" names a specific verb and resource, and immediately scopes it to "order history that predates the store's connect date", which separates it from the QBO backfill siblings whose provider differs.

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?

It states explicit when-not conditions (sandbox/trial tenants are refused and keep the connect-date cutoff; re-triggering while a backfill is active is refused) and routes progress checking to a named sibling, get_integration_status with provider 'shopify'.

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.

Resources