Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.loopreturns.com/llms.txt

Use this file to discover all available pages before exploring further.

The Loop MCP Server is currently in preview. Today the server only exposes read access to workflows; mutating tools (create, activate, delete) will land before general availability.
These read-only tools let an assistant inspect the workflows configured for the merchant’s shop. Use them to answer questions like “What workflows do I have set up for international returns?” or “Why did this return get auto-approved?”

List Workflows

Tool name: list-workflows-tool  ·  Read-only  ·  Permissions: manage-workflows List the shop’s workflows with name, active status, priority, and trigger type. Filter by active status if you only want one slice.

Parameters

ParameterTypeDefaultDescription
activebooleantrue for active workflows only, false for inactive only. Omit to return all.
pageinteger1Page number.
limitinteger25Page size, max 100.

Example prompt

“What active workflows do I have running?”

Get Workflow

Tool name: get-workflow-tool  ·  Read-only  ·  Permissions: manage-workflows Get full detail for a single workflow, including its rules, conditions, and actions. Pair with List Workflows to find the workflow ID first.

Parameters

ParameterTypeRequiredDescription
workflow_idintegeryesThe workflow ID, retrieved from list-workflows-tool.

Example prompt

“Show me the rules for my ‘auto-approve $50 and under’ workflow.”