Memlane™

MCP tools

reorder_stages

Reorder stages

Sets sibling order under one parent. Send every sibling stage id for that parent exactly once (not the whole lane).

Annotations

{
  "title": "Reorder stages",
  "readOnlyHint": false,
  "destructiveHint": false,
  "openWorldHint": false,
  "idempotentHint": true
}

Input

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "laneId": {
      "description": "Exact id from list_lanes",
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "laneName": {
      "description": "Lane name when laneId is unknown (case-insensitive). Omit both when the person has only one lane.",
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "orderedStageIds": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
      }
    }
  },
  "required": [
    "orderedStageIds"
  ],
  "additionalProperties": false
}

Auth

Bearer personal token (ml_…) or OAuth access token (mla_…). Memlane Pro and iCloud required.

Errors

  • 401 missing or invalid credentials
  • 403 account is not Pro or iCloud is not connected
  • 429 rate limit
  • Tool errors return isError text without a stack trace