{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "photoprintagent.com",
    "site": "photoprintagent.com",
    "addresses": [
      {
        "address": "199.36.158.100",
        "endpoints": 205,
        "shared_infrastructure": true,
        "network": {
          "asn": 54113,
          "name": "FASTLY - Fastly, Inc.",
          "prefix": "199.36.158.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "199.36.158.100"
        ],
        "first_seen": "2026-11-22T15:56:01.636Z",
        "last_seen": "2026-11-23T15:57:01.631Z",
        "checks": 2
      }
    ],
    "hosting": [
      {
        "value": "Google Cloud",
        "evidence": "Server header \"Google Frontend\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "PhotoPrintAgent",
      "version": "2.7.4",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Google Frontend",
      "strict-transport-security": "max-age=31556926"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 204,
      "sample": [
        {
          "id": "17",
          "url": "https://prices.brainy.ae/mcp/v2",
          "server_name": "ae.brainy/grocery-prices",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:34:01.461Z"
        },
        {
          "id": "561",
          "url": "https://coinfactory.ai/mcp",
          "server_name": "ai.coinfactory/coinfactory",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:45:05.635Z"
        },
        {
          "id": "2013",
          "url": "https://rollingedition.ai/mcp",
          "server_name": "ai.rollingedition/books",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:50:06.869Z"
        },
        {
          "id": "2581",
          "url": "https://index.therunup.ai/mcp",
          "server_name": "ai.therunup.index/agent-bookability-index",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:55:04.238Z"
        },
        {
          "id": "2714",
          "url": "https://tutorping.ai/mcp",
          "server_name": "ai.tutorping/tutorping",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:56:01.632Z"
        },
        {
          "id": "2882",
          "url": "https://whatareyoubuilding.ai/api/mcp",
          "server_name": "ai.whatareyoubuilding/wayb",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:58:01.409Z"
        },
        {
          "id": "3209",
          "url": "https://www.craftme.app/mcp",
          "server_name": "app.craftme/craftme",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:02:05.341Z"
        },
        {
          "id": "3417",
          "url": "https://hinducalendar.app/mcp",
          "server_name": "app.hinducalendar/hinducalendar",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:05:03.211Z"
        },
        {
          "id": "3469",
          "url": "https://beta.jobcontext.app/mcp",
          "server_name": "app.jobcontext/jobcontext",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:06:03.268Z"
        },
        {
          "id": "3537",
          "url": "https://lingard.app/mcp",
          "server_name": "app.lingard/vocab",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:07:01.446Z"
        },
        {
          "id": "3646",
          "url": "https://www.nailme.app/mcp",
          "server_name": "app.nailme/nailme",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:08:02.726Z"
        },
        {
          "id": "3796",
          "url": "https://openpaddock.app/mcp",
          "server_name": "app.openpaddock/open-paddock",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:09:04.135Z"
        },
        {
          "id": "3833",
          "url": "https://perfumate.app/mcp",
          "server_name": "app.perfumate/perfumate",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:10:02.319Z"
        },
        {
          "id": "4296",
          "url": "https://dealer-direct-mcp.web.app/mcp",
          "server_name": "app.web.dealer-direct-mcp/dealer-direct-inventory",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:16:12.617Z"
        },
        {
          "id": "4298",
          "url": "https://yutai-mcp.web.app/mcp",
          "server_name": "app.web.yutai-mcp/yutai-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:17:01.072Z"
        },
        {
          "id": "4452",
          "url": "https://wonderkit.app/mcp",
          "server_name": "app.wonderkit/discover",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:17:01.336Z"
        },
        {
          "id": "4671",
          "url": "https://unstocked.bike/mcp",
          "server_name": "bike.unstocked/unstocked",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:22:01.966Z"
        },
        {
          "id": "5058",
          "url": "https://mcp.blust.ch/mcp",
          "server_name": "ch.blust/mental-model",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:30:05.966Z"
        },
        {
          "id": "5080",
          "url": "https://jasswiki.ch/mcp/http",
          "server_name": "ch.jassverband/jasswiki",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:31:01.196Z"
        },
        {
          "id": "5302",
          "url": "https://scribble.boringstuff.club/mcp",
          "server_name": "club.boringstuff/the-scribble-thing",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:34:01.750Z"
        }
      ]
    },
    "same_site": {
      "total": 1,
      "sample": [
        {
          "id": "14140",
          "url": "https://photoprintagent.com/mcp",
          "server_name": "com.photoprintagent/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T15:56:11.751Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.photoprintagent",
      "total": 1,
      "sample": [
        {
          "name": "com.photoprintagent/mcp",
          "title": "PhotoPrintAgent"
        }
      ]
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "14141",
    "server_name": "com.photoprintagent/mcp-narrow",
    "url": "https://photoprintagent.com/mcp-narrow",
    "host": "photoprintagent.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T15:57:01.631Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "7841d17cdc1acc636bfe70f8b39c45f1c47867359fa3d13097363ff9ed4074f1",
    "first_listed_at": "2026-11-21T10:16:04.389Z",
    "created_at": "2026-11-21T06:30:14.295Z",
    "resolved_addresses": [
      "199.36.158.100"
    ]
  },
  "server": {
    "name": "com.photoprintagent/mcp-narrow",
    "title": "PhotoPrintAgent Narrow",
    "description": "Browse photo prints, estimate delivery prices, prepare uploads and track orders with scoped OAuth.",
    "version": "2.4.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://photoprintagent.com/agents",
    "published_at": "2026-11-01T21:06:31.198Z",
    "updated_at": "2026-11-01T21:06:31.198Z",
    "first_seen": "2026-11-21T06:30:13.687Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "takes-payment",
      "x402"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:13:08.899Z"
  },
  "operator": {
    "key": "photoprintagent.com",
    "name": "photoprintagent.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 714,
    "first_check_in_window": "2026-11-21T10:16:04.389Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "7841d17cdc1acc636bfe70f8b39c45f1c47867359fa3d13097363ff9ed4074f1",
    "tools": 17,
    "resources": 1,
    "prompts": 0,
    "first_seen": "2026-11-21T10:16:05.152Z",
    "tool_names": [
      "get_checkout_preferences",
      "start_guest_checkout",
      "list_products",
      "import_photo",
      "get_upload_status",
      "create_upload",
      "list_photos",
      "preview_print_item",
      "estimate_print_price",
      "quote_prints",
      "create_print_order",
      "get_checkout_link",
      "list_orders",
      "lookup_order",
      "get_order",
      "get_order_events",
      "request_order_help"
    ],
    "declared": {
      "tools": [
        {
          "name": "get_checkout_preferences",
          "title": "Get Checkout Preferences",
          "description": "Read this connection or guest session’s saved Express Order sharing choice before collecting delivery details. Returns consent only, never contact details. If enabled, use only home address, email and phone already available in ChatGPT for the requested order; ask for missing or ambiguous details. Client privacy controls and final order/payment approval still apply. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "expressOrder",
              "setupTermsAccepted"
            ],
            "properties": {
              "expressOrder": {
                "type": "object",
                "required": [
                  "enabled",
                  "fields",
                  "source",
                  "purpose",
                  "requiresOrderApproval",
                  "permissionNotice"
                ],
                "properties": {
                  "fields": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "homeAddress",
                        "email",
                        "phone"
                      ],
                      "type": "string"
                    }
                  },
                  "source": {
                    "type": "string",
                    "const": "chatgpt_available_context"
                  },
                  "enabled": {
                    "type": "boolean"
                  },
                  "purpose": {
                    "type": "string",
                    "const": "prepare_print_orders"
                  },
                  "permissionNotice": {
                    "type": "string"
                  },
                  "requiresOrderApproval": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "additionalProperties": false
              },
              "setupTermsAccepted": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "start_guest_checkout",
          "title": "Start Guest Checkout",
          "description": "Start private guest print preparation without sign-in or account creation. Call once, retain the returned token privately and pass guestToken to later tools. Show the buyer termsSetupUrl so they can accept once for this session. Preparation lasts 24 hours; saved-order access lasts 30 days.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "token",
              "guestApiKey",
              "checkoutUntil",
              "expiresAt",
              "tokenType",
              "instructions",
              "termsSetupUrl",
              "terms"
            ],
            "properties": {
              "terms": {
                "type": "object",
                "required": [
                  "url",
                  "version",
                  "acceptanceField"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "const": "https://photoprintagent.com/terms"
                  },
                  "version": {
                    "type": "string",
                    "const": "2026-11-11"
                  },
                  "acceptanceField": {
                    "type": "string",
                    "const": "termsAccepted"
                  }
                },
                "additionalProperties": false
              },
              "token": {
                "type": "string"
              },
              "expiresAt": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Unix time in milliseconds"
              },
              "tokenType": {
                "type": "string",
                "const": "Bearer"
              },
              "guestApiKey": {
                "type": "string"
              },
              "instructions": {
                "type": "string"
              },
              "checkoutUntil": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Unix time in milliseconds"
              },
              "termsSetupUrl": {
                "type": "string",
                "format": "uri"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "list_products",
          "title": "List Products",
          "description": "Browse available products, 4x6 first. Use returned products[].id for uploads and quotes. Filter by size, finish, category, price or query. Follow nextOffset; includeDetails:true adds artwork, shipping and fit specifications. availableOnly:false also includes unavailable public listings. Prices exclude shipping/tax; quote_prints returns a payable total.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 12,
                "maximum": 200,
                "minimum": 1
              },
              "query": {
                "type": "string",
                "maxLength": 100
              },
              "finish": {
                "type": "string",
                "maxLength": 80
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "category": {
                "type": "string",
                "maxLength": 80
              },
              "widthInches": {
                "type": "number",
                "maximum": 1000,
                "exclusiveMinimum": 0
              },
              "heightInches": {
                "type": "number",
                "maximum": 1000,
                "exclusiveMinimum": 0
              },
              "availableOnly": {
                "type": "boolean",
                "default": true
              },
              "maxPriceCents": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "minPriceCents": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "includeDetails": {
                "type": "boolean",
                "default": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "product",
              "products",
              "orderingAvailable",
              "total",
              "nextOffset",
              "capabilities",
              "priceFilterBasis"
            ],
            "properties": {
              "total": {
                "type": "number"
              },
              "product": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "id",
                      "title"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "specs": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "title": {
                        "type": "string"
                      },
                      "productCode": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "products": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "title",
                    "widthInches",
                    "heightInches"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "sku": {
                      "type": "string"
                    },
                    "size": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "finish": {
                      "type": "string"
                    },
                    "artwork": {
                      "type": "object",
                      "required": [
                        "widthPixels",
                        "heightPixels",
                        "minImages",
                        "maxImages",
                        "minimumDpi",
                        "allowRotate",
                        "labels",
                        "bleed",
                        "issues"
                      ],
                      "properties": {
                        "bleed": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "number"
                          }
                        },
                        "issues": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "labels": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "calendar": {
                          "type": "object",
                          "required": [
                            "layout",
                            "months"
                          ],
                          "properties": {
                            "layout": {
                              "type": "string",
                              "const": "alternating-photo-grid"
                            },
                            "months": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "const": 12
                                },
                                {
                                  "type": "number",
                                  "const": 18
                                }
                              ]
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxImages": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991
                        },
                        "minImages": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991
                        },
                        "minimumDpi": {
                          "type": "number"
                        },
                        "allowRotate": {
                          "type": "boolean"
                        },
                        "composition": {
                          "type": "object",
                          "required": [
                            "id",
                            "width",
                            "height",
                            "background",
                            "slots"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "slots": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "width",
                                  "height"
                                ],
                                "properties": {
                                  "x": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991
                                  },
                                  "y": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991
                                  },
                                  "width": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991
                                  },
                                  "height": {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991
                            },
                            "background": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        "widthPixels": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991
                        },
                        "heightPixels": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991
                        },
                        "qualityGuidance": {
                          "type": "object",
                          "required": [
                            "recommendedDpi",
                            "minimumDpiIsRejectionThreshold",
                            "fitModes",
                            "fitDescription"
                          ],
                          "properties": {
                            "fitModes": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "fitDescription": {
                              "type": "string"
                            },
                            "recommendedDpi": {
                              "type": "number"
                            },
                            "minimumDpiIsRejectionThreshold": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    "preview": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "category": {
                      "type": "string"
                    },
                    "shipping": {
                      "type": "object",
                      "required": [
                        "mode",
                        "amountCents",
                        "multipleItemAmountCents"
                      ],
                      "properties": {
                        "mode": {
                          "enum": [
                            "provider",
                            "flat",
                            "per_item"
                          ],
                          "type": "string"
                        },
                        "amountCents": {
                          "type": "integer",
                          "maximum": 100000,
                          "minimum": 0
                        },
                        "multipleItemAmountCents": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 100000,
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    "workflow": {
                      "type": "string"
                    },
                    "adminOnly": {
                      "type": "boolean"
                    },
                    "available": {
                      "type": "boolean"
                    },
                    "description": {
                      "type": "string"
                    },
                    "productCode": {
                      "type": "string",
                      "pattern": "^PPA[A-F0-9]{12}$"
                    },
                    "widthInches": {
                      "type": "number"
                    },
                    "heightInches": {
                      "type": "number"
                    },
                    "unitPriceCents": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "description": "Integer USD cents"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "unavailableReason": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "nextOffset": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "capabilities": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "object",
                  "required": [
                    "supported",
                    "availableToOrder",
                    "productCount"
                  ],
                  "properties": {
                    "supported": {
                      "type": "boolean"
                    },
                    "productCount": {
                      "type": "number"
                    },
                    "availableToOrder": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "deliveryEstimate": {
                "type": "string"
              },
              "priceFilterBasis": {
                "type": "string"
              },
              "orderingAvailable": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "import_photo",
          "title": "Import Photo",
          "description": "Import an attached or generated ChatGPT image directly into your private print photos. Use the file supplied by ChatGPT, a catalog productId, crop options and a stable idempotencyKey. Returns the photo ID for preview and quoting. Retrying identical image bytes/options with the same key is safe. No website upload is needed. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "file",
              "idempotencyKey"
            ],
            "properties": {
              "crop": {
                "type": "object",
                "properties": {
                  "x": {
                    "type": "number",
                    "default": 50,
                    "maximum": 100,
                    "minimum": 0
                  },
                  "y": {
                    "type": "number",
                    "default": 50,
                    "maximum": 100,
                    "minimum": 0
                  },
                  "fit": {
                    "enum": [
                      "cover",
                      "contain"
                    ],
                    "type": "string",
                    "default": "cover"
                  },
                  "rotation": {
                    "anyOf": [
                      {
                        "type": "number",
                        "const": 0
                      },
                      {
                        "type": "number",
                        "const": 90
                      },
                      {
                        "type": "number",
                        "const": 180
                      },
                      {
                        "type": "number",
                        "const": 270
                      }
                    ],
                    "description": "Clockwise image rotation after EXIF orientation, before cropping. Inspect the image and correct clearly sideways or upside-down content automatically; preserve intentional orientation. Choose portrait/landscape separately to match the corrected image."
                  },
                  "orientation": {
                    "enum": [
                      "landscape",
                      "portrait"
                    ],
                    "type": "string",
                    "default": "landscape"
                  }
                },
                "additionalProperties": false
              },
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string",
                    "maxLength": 300,
                    "minLength": 1
                  },
                  "file_name": {
                    "type": "string",
                    "maxLength": 500
                  },
                  "mime_type": {
                    "type": "string",
                    "maxLength": 150
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri",
                    "maxLength": 8192
                  }
                },
                "additionalProperties": false
              },
              "productId": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
              },
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[\\w-]{16,100}$"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id",
              "width",
              "height",
              "quality",
              "expiresAt"
            ],
            "properties": {
              "id": {
                "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)$"
              },
              "width": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991
              },
              "height": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991
              },
              "quality": {
                "enum": [
                  "high",
                  "reduced"
                ],
                "type": "string"
              },
              "expiresAt": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Unix time in milliseconds"
              },
              "productId": {
                "type": "string"
              },
              "artworkKey": {
                "type": "string"
              },
              "sourceFormat": {
                "type": "string"
              },
              "sourceImages": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "get_upload_status",
          "title": "Get Upload Status",
          "description": "Recover a private image upload by its original idempotencyKey. Returns its photo ID when complete, without downloading or uploading again. Processing means wait; retryable means repeat the original upload. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "idempotencyKey"
            ],
            "properties": {
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[\\w-]{16,100}$"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "status",
              "photo"
            ],
            "properties": {
              "photo": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "id",
                      "width",
                      "height",
                      "quality",
                      "expiresAt"
                    ],
                    "properties": {
                      "id": {
                        "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)$"
                      },
                      "width": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      },
                      "height": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      },
                      "quality": {
                        "enum": [
                          "high",
                          "reduced"
                        ],
                        "type": "string"
                      },
                      "expiresAt": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Unix time in milliseconds"
                      },
                      "productId": {
                        "type": "string"
                      },
                      "artworkKey": {
                        "type": "string"
                      },
                      "sourceFormat": {
                        "type": "string"
                      },
                      "sourceImages": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "exclusiveMinimum": 0
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "complete",
                  "processing",
                  "retryable"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_upload",
          "title": "Create Upload",
          "description": "Prepare a private binary upload. Supply productId from list_products; POST image bytes separately to uploadUrl with the returned headers and credential. No storage is allocated until POST. Reuse an Idempotency-Key for identical bytes/options; GET /api/uploads/{key} recovers a lost response. No base64 or remote image URLs in MCP. Read returned image limits. SDK: /sdk/photo-upload.mjs. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "crop": {
                "type": "object",
                "properties": {
                  "x": {
                    "type": "number",
                    "default": 50,
                    "maximum": 100,
                    "minimum": 0
                  },
                  "y": {
                    "type": "number",
                    "default": 50,
                    "maximum": 100,
                    "minimum": 0
                  },
                  "fit": {
                    "enum": [
                      "cover",
                      "contain"
                    ],
                    "type": "string",
                    "default": "cover"
                  },
                  "rotation": {
                    "anyOf": [
                      {
                        "type": "number",
                        "const": 0
                      },
                      {
                        "type": "number",
                        "const": 90
                      },
                      {
                        "type": "number",
                        "const": 180
                      },
                      {
                        "type": "number",
                        "const": 270
                      }
                    ],
                    "description": "Clockwise image rotation after EXIF orientation, before cropping. Inspect the image and correct clearly sideways or upside-down content automatically; preserve intentional orientation. Choose portrait/landscape separately to match the corrected image."
                  },
                  "orientation": {
                    "enum": [
                      "landscape",
                      "portrait"
                    ],
                    "type": "string",
                    "default": "landscape"
                  }
                },
                "additionalProperties": false
              },
              "productId": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
              },
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "uploadUrl",
              "method",
              "authorization",
              "headers",
              "acceptedMimeTypes",
              "acceptedExtensions",
              "imageHandling",
              "maxFileBytes",
              "maxInputPixels",
              "helpUrl",
              "responseSchemaUrl"
            ],
            "properties": {
              "method": {
                "type": "string",
                "const": "POST"
              },
              "artwork": {
                "type": "object",
                "required": [
                  "widthPixels",
                  "heightPixels",
                  "minImages",
                  "maxImages",
                  "minimumDpi",
                  "allowRotate",
                  "labels",
                  "bleed",
                  "issues"
                ],
                "properties": {
                  "bleed": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "issues": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "labels": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "calendar": {
                    "type": "object",
                    "required": [
                      "layout",
                      "months"
                    ],
                    "properties": {
                      "layout": {
                        "type": "string",
                        "const": "alternating-photo-grid"
                      },
                      "months": {
                        "anyOf": [
                          {
                            "type": "number",
                            "const": 12
                          },
                          {
                            "type": "number",
                            "const": 18
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "maxImages": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "minImages": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "minimumDpi": {
                    "type": "number"
                  },
                  "allowRotate": {
                    "type": "boolean"
                  },
                  "composition": {
                    "type": "object",
                    "required": [
                      "id",
                      "width",
                      "height",
                      "background",
                      "slots"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "slots": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "x",
                            "y",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "x": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991
                            },
                            "y": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991
                            },
                            "width": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "width": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      },
                      "height": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      },
                      "background": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "widthPixels": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "heightPixels": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "qualityGuidance": {
                    "type": "object",
                    "required": [
                      "recommendedDpi",
                      "minimumDpiIsRejectionThreshold",
                      "fitModes",
                      "fitDescription"
                    ],
                    "properties": {
                      "fitModes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "fitDescription": {
                        "type": "string"
                      },
                      "recommendedDpi": {
                        "type": "number"
                      },
                      "minimumDpiIsRejectionThreshold": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "headers": {
                "type": "object",
                "required": [
                  "X-Photo-Options"
                ],
                "properties": {
                  "X-Product-Id": {
                    "type": "string"
                  },
                  "X-Photo-Options": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "helpUrl": {
                "type": "string",
                "format": "uri"
              },
              "uploadUrl": {
                "type": "string",
                "format": "uri"
              },
              "maxFileBytes": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991
              },
              "authorization": {
                "type": "string",
                "const": "Bearer: use your existing account or guest credential"
              },
              "imageHandling": {
                "type": "object",
                "required": [
                  "resolutionPolicy",
                  "animationPolicy",
                  "multipagePolicy",
                  "transparencyPolicy",
                  "colorPolicy",
                  "svgPolicy",
                  "unsupportedPolicy",
                  "helpUrl"
                ],
                "properties": {
                  "helpUrl": {
                    "type": "string"
                  },
                  "svgPolicy": {
                    "type": "string"
                  },
                  "colorPolicy": {
                    "type": "string"
                  },
                  "animationPolicy": {
                    "type": "string"
                  },
                  "multipagePolicy": {
                    "type": "string"
                  },
                  "resolutionPolicy": {
                    "type": "string"
                  },
                  "unsupportedPolicy": {
                    "type": "string"
                  },
                  "transparencyPolicy": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "maxInputPixels": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991
              },
              "acceptedMimeTypes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "responseSchemaUrl": {
                "type": "string",
                "format": "uri"
              },
              "acceptedExtensions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "list_photos",
          "title": "List Photos",
          "description": "List your unexpired, unlocked uploaded photos. Use their IDs in slot order. Photos reserved by an order cannot be deleted. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "photos"
            ],
            "properties": {
              "photos": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "productId",
                    "artworkKey",
                    "width",
                    "height",
                    "quality",
                    "orientation"
                  ],
                  "properties": {
                    "id": {
                      "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)$"
                    },
                    "width": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "height": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "quality": {
                      "anyOf": [
                        {
                          "enum": [
                            "high",
                            "reduced"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productId": {
                      "type": "string"
                    },
                    "artworkKey": {
                      "type": "string"
                    },
                    "orientation": {
                      "enum": [
                        "portrait",
                        "landscape"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "preview_print_item",
          "title": "Preview Print Item",
          "description": "Preview owned photoIds in product slot order. Calendars require startYear/startMonth and include generated grids. Compositions use their configured assembly. Other products return flat artwork pages. JPEG thumbnails accompany metadata; offset/limit paginate. No order or public image link is created. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "photoIds"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 4,
                "maximum": 4,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "calendar": {
                "type": "object",
                "required": [
                  "startYear",
                  "startMonth"
                ],
                "properties": {
                  "startYear": {
                    "type": "integer",
                    "maximum": 2100,
                    "minimum": 2000
                  },
                  "startMonth": {
                    "type": "integer",
                    "maximum": 12,
                    "minimum": 1
                  }
                },
                "additionalProperties": false
              },
              "photoIds": {
                "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)$"
                },
                "maxItems": 200,
                "minItems": 1
              },
              "productId": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
              },
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "productId",
              "kind",
              "layoutId",
              "totalPages",
              "nextOffset",
              "pages"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "composition",
                  "artwork_pages",
                  "calendar"
                ],
                "type": "string"
              },
              "pages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "index",
                    "label",
                    "width",
                    "height"
                  ],
                  "properties": {
                    "index": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "label": {
                      "type": "string"
                    },
                    "width": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "height": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    }
                  },
                  "additionalProperties": false
                }
              },
              "layoutId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "productId": {
                "type": "string"
              },
              "nextOffset": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalPages": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "estimate_print_price",
          "title": "Estimate Print Price",
          "description": "Estimate configured product and shipping charges using only product, quantity, ZIP and state. No photos or contact details required. Unknown tax or charges remain null; this is not a payable quote.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "productId",
              "quantity",
              "zip",
              "state"
            ],
            "properties": {
              "zip": {
                "type": "string",
                "pattern": "^\\d{5}$"
              },
              "state": {
                "type": "string",
                "pattern": "^[A-Z]{2}$"
              },
              "quantity": {
                "type": "integer",
                "maximum": 500,
                "minimum": 1
              },
              "productId": {
                "type": "string",
                "maxLength": 64,
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "estimate",
              "currency",
              "productId",
              "quantity",
              "subtotal",
              "shipping",
              "tax",
              "total",
              "knownAmount",
              "unknownComponents",
              "requiresFinalQuote",
              "message"
            ],
            "properties": {
              "tax": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "total": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "message": {
                "type": "string"
              },
              "currency": {
                "type": "string",
                "const": "USD"
              },
              "estimate": {
                "type": "boolean",
                "const": true
              },
              "quantity": {
                "type": "number"
              },
              "shipping": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "subtotal": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "productId": {
                "type": "string"
              },
              "knownAmount": {
                "type": "number"
              },
              "unknownComponents": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "requiresFinalQuote": {
                "type": "boolean",
                "const": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "quote_prints",
          "title": "Quote Prints",
          "description": "Save a quote for owned photos and a US address with buyer consent. Use productId from list_products. Single-image items use photoId; multi-image items use ordered photoIds. For calendars include startYear/startMonth and upload cover/month photos only; the service generates grids. For compositions upload separate slot images. Quantity counts complete products. Returned totals include shipping, tax and any validated coupon. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "items",
              "shipping",
              "consent"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "quantity"
                  ],
                  "properties": {
                    "photoId": {
                      "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)$"
                    },
                    "calendar": {
                      "type": "object",
                      "required": [
                        "startYear",
                        "startMonth"
                      ],
                      "properties": {
                        "startYear": {
                          "type": "integer",
                          "maximum": 2100,
                          "minimum": 2000
                        },
                        "startMonth": {
                          "type": "integer",
                          "maximum": 12,
                          "minimum": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "photoIds": {
                      "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)$"
                      },
                      "maxItems": 200,
                      "minItems": 1
                    },
                    "quantity": {
                      "type": "integer",
                      "maximum": 99,
                      "minimum": 1
                    },
                    "productId": {
                      "type": "string",
                      "pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 50,
                "minItems": 1
              },
              "consent": {
                "type": "boolean",
                "const": true
              },
              "shipping": {
                "type": "object",
                "required": [
                  "firstName",
                  "lastName",
                  "email",
                  "phone",
                  "line1",
                  "city",
                  "state",
                  "zip",
                  "country"
                ],
                "properties": {
                  "zip": {
                    "type": "string",
                    "pattern": "^\\d{5}(-\\d{4})?$"
                  },
                  "city": {
                    "type": "string",
                    "maxLength": 150,
                    "minLength": 1
                  },
                  "email": {
                    "type": "string",
                    "format": "email",
                    "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                    "maxLength": 254
                  },
                  "line1": {
                    "type": "string",
                    "maxLength": 150,
                    "minLength": 1
                  },
                  "line2": {
                    "type": "string",
                    "default": "",
                    "maxLength": 150
                  },
                  "phone": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string",
                    "pattern": "^[A-Z]{2}$"
                  },
                  "country": {
                    "type": "string",
                    "const": "US"
                  },
                  "lastName": {
                    "type": "string",
                    "maxLength": 150,
                    "minLength": 1
                  },
                  "firstName": {
                    "type": "string",
                    "maxLength": 150,
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              },
              "productId": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,63}$"
              },
              "campaignId": {
                "type": "string",
                "pattern": "^[a-f0-9]{16}$"
              },
              "couponCode": {
                "type": "string",
                "maxLength": 64
              },
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id",
              "price",
              "validUntil",
              "expiresAt",
              "lineItems",
              "setupTermsAccepted"
            ],
            "properties": {
              "id": {
                "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)$"
              },
              "price": {
                "type": "object",
                "required": [
                  "currency",
                  "subtotal",
                  "shipping",
                  "tax",
                  "total"
                ],
                "properties": {
                  "tax": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  },
                  "total": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  },
                  "coupon": {
                    "type": "object",
                    "required": [
                      "code",
                      "name",
                      "printDiscount",
                      "shippingDiscount",
                      "taxCredit"
                    ],
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "taxCredit": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      },
                      "printDiscount": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      },
                      "shippingDiscount": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      }
                    },
                    "additionalProperties": false
                  },
                  "currency": {
                    "type": "string",
                    "const": "USD"
                  },
                  "discount": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  },
                  "shipping": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  },
                  "subtotal": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  },
                  "originalTotal": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  }
                },
                "additionalProperties": false
              },
              "expiresAt": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Unix time in milliseconds"
              },
              "lineItems": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "productId",
                    "quantity"
                  ],
                  "properties": {
                    "photoId": {
                      "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)$"
                    },
                    "calendar": {
                      "type": "object",
                      "required": [
                        "startYear",
                        "startMonth"
                      ],
                      "properties": {
                        "startYear": {
                          "type": "integer",
                          "maximum": 2100,
                          "minimum": 2000
                        },
                        "startMonth": {
                          "type": "integer",
                          "maximum": 12,
                          "minimum": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    "photoIds": {
                      "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)$"
                      }
                    },
                    "quantity": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "productId": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "validUntil": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Unix time in milliseconds"
              },
              "setupTermsAccepted": {
                "type": "boolean",
                "description": "The authenticated buyer already accepted the current terms at setup. Always confirm the quoted order and total."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "create_print_order",
          "title": "Create Print Order",
          "description": "Create one order after the buyer approves the photos, address and final quoted total. Use saved setup terms when available. Otherwise obtain explicit agreement to the linked terms with that same approval. No prescribed wording. Reuse the same idempotency key for retries. Returns private on-site checkout. Zero-total orders can start printing immediately. Pass guestToken only for guest checkout.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "quoteId",
              "idempotencyKey",
              "buyerApproved"
            ],
            "properties": {
              "method": {
                "type": "string",
                "const": "card",
                "default": "card"
              },
              "quoteId": {
                "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)$"
              },
              "couponCode": {
                "type": "string",
                "maxLength": 64
              },
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              },
              "buyerApproved": {
                "type": "boolean",
                "const": true
              },
              "termsAccepted": {
                "type": "boolean",
                "const": true,
                "description": "Omit when the buyer has accepted the current terms at setup. Otherwise send true only after the buyer explicitly agrees to https://photoprintagent.com/terms for this order."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[-\\w]{16,100}$"
              },
              "orderReference": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "order",
              "checkoutUrl"
            ],
            "properties": {
              "order": {
                "type": "object",
                "required": [
                  "id",
                  "status",
                  "method",
                  "price",
                  "pricingVersion",
                  "paymentDeadline",
                  "canEditCoupon",
                  "quantity",
                  "createdAt",
                  "paidAt",
                  "paymentStatus",
                  "fulfillmentStatus",
                  "cryptoPayment",
                  "transaction",
                  "network",
                  "trackingUrls",
                  "message"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                  },
                  "price": {
                    "type": "object",
                    "required": [
                      "currency",
                      "subtotal",
                      "shipping",
                      "tax",
                      "total"
                    ],
                    "properties": {
                      "tax": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      },
                      "total": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      },
                      "coupon": {
                        "type": "object",
                        "required": [
                          "code",
                          "name",
                          "printDiscount",
                          "shippingDiscount",
                          "taxCredit"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "taxCredit": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Integer USD cents"
                          },
                          "printDiscount": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Integer USD cents"
                          },
                          "shippingDiscount": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Integer USD cents"
                          }
                        },
                        "additionalProperties": false
                      },
                      "currency": {
                        "type": "string",
                        "const": "USD"
                      },
                      "discount": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      },
                      "shipping": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      },
                      "subtotal": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      },
                      "originalTotal": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      }
                    },
                    "additionalProperties": false
                  },
                  "method": {
                    "enum": [
                      "card",
                      "x402",
                      "prepaid"
                    ],
                    "type": "string"
                  },
                  "paidAt": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Unix time in milliseconds"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "enum": [
                      "creating_checkout",
                      "awaiting_payment",
                      "verifying_payment",
                      "settling_payment",
                      "paid",
                      "submitting",
                      "processing",
                      "needs_review",
                      "expired"
                    ],
                    "type": "string"
                  },
                  "message": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "network": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "progress": {
                    "type": "object",
                    "required": [
                      "productionStatus",
                      "shipmentStatus",
                      "lastUpdatedAt",
                      "trackingUrls",
                      "supportStatus",
                      "canRequestCancellation",
                      "canRequestChange",
                      "canRequestRefund",
                      "cancellationGuaranteed"
                    ],
                    "properties": {
                      "trackingUrls": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "lastUpdatedAt": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "supportStatus": {
                        "enum": [
                          "none",
                          "open",
                          "waiting_customer",
                          "under_review",
                          "resolved"
                        ],
                        "type": "string"
                      },
                      "shipmentStatus": {
                        "enum": [
                          "unknown",
                          "shipped",
                          "delivered"
                        ],
                        "type": "string"
                      },
                      "canRequestChange": {
                        "type": "boolean"
                      },
                      "canRequestRefund": {
                        "type": "boolean"
                      },
                      "productionStatus": {
                        "enum": [
                          "not_submitted",
                          "queued",
                          "submitting",
                          "accepted",
                          "printing",
                          "shipped",
                          "delivered",
                          "cancelled",
                          "on_hold",
                          "needs_review",
                          "unknown"
                        ],
                        "type": "string"
                      },
                      "canRequestCancellation": {
                        "type": "boolean"
                      },
                      "cancellationGuaranteed": {
                        "type": "boolean",
                        "const": false
                      }
                    },
                    "additionalProperties": false
                  },
                  "quantity": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "createdAt": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Unix time in milliseconds"
                  },
                  "imageCount": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  "productName": {
                    "type": "string"
                  },
                  "transaction": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "trackingUrls": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "canEditCoupon": {
                    "type": "boolean"
                  },
                  "cardProcessor": {
                    "anyOf": [
                      {
                        "enum": [
                          "square",
                          "stripe"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "cryptoPayment": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "id",
                          "rankId",
                          "name",
                          "symbol",
                          "asset",
                          "decimals",
                          "transferMethod",
                          "network",
                          "tokenId",
                          "amount",
                          "displayAmount",
                          "usdTotal",
                          "usdPrice",
                          "priceAsOf",
                          "source",
                          "payTo",
                          "quotedAt",
                          "validUntil"
                        ],
                        "properties": {
                          "id": {
                            "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)$"
                          },
                          "name": {
                            "type": "string"
                          },
                          "rank": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "asset": {
                            "type": "string"
                          },
                          "payTo": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "string",
                            "pattern": "^\\d+$"
                          },
                          "rankId": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          },
                          "stable": {
                            "type": "boolean"
                          },
                          "symbol": {
                            "type": "string"
                          },
                          "network": {
                            "type": "string"
                          },
                          "tokenId": {
                            "type": "string"
                          },
                          "wrapped": {
                            "type": "boolean"
                          },
                          "decimals": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991
                          },
                          "quotedAt": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Unix time in milliseconds"
                          },
                          "usdPrice": {
                            "type": "string"
                          },
                          "usdTotal": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Integer USD cents"
                          },
                          "priceAsOf": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Unix time in milliseconds"
                          },
                          "validUntil": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Unix time in milliseconds"
                          },
                          "availability": {
                            "enum": [
                              "quote_required",
                              "receiving_ready"
                            ],
                            "type": "string"
                          },
                          "priceChecked": {
                            "type": "boolean"
                          },
                          "tokenProgram": {
                            "type": "string"
                          },
                          "displayAmount": {
                            "type": "string"
                          },
                          "transferMethod": {
                            "enum": [
                              "eip3009",
                              "permit2",
                              "spl"
                            ],
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "paymentStatus": {
                    "enum": [
                      "unpaid",
                      "pending",
                      "paid",
                      "refunded",
                      "not_required",
                      "needs_review",
                      "expired"
                    ],
                    "type": "string"
                  },
                  "cardPaymentUrl": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uri"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "orderReference": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "pricingVersion": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "paymentDeadline": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Unix time in milliseconds"
                  },
                  "canRenewCheckout": {
                    "type": "boolean"
                  },
                  "fulfillmentStatus": {
                    "enum": [
                      "not_submitted",
                      "submitting",
                      "accepted",
                      "needs_review"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "paymentUrl": {
                "type": "string"
              },
              "checkoutUrl": {
                "type": "string",
                "format": "uri"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "get_checkout_link",
          "title": "Get Checkout Link",
          "description": "Mint a private on-site checkout link for your existing order. Preserve its access fragment, share only with the buyer, and never create another order to recover a checkout. Card payment uses the embedded payment modal; MCP never accepts card details. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "orderId"
            ],
            "properties": {
              "orderId": {
                "type": "string",
                "pattern": "^[a-zA-Z0-9_-]{1,100}$"
              },
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "checkoutUrl"
            ],
            "properties": {
              "checkoutUrl": {
                "type": "string",
                "format": "uri"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "list_orders",
          "title": "List Orders",
          "description": "Read up to 50 recent owned orders, newest first. Saved state only; no payment reconciliation. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 50,
                "maximum": 50,
                "minimum": 1
              },
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "orders"
            ],
            "properties": {
              "orders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "status",
                    "price",
                    "pricingVersion",
                    "paymentDeadline",
                    "quantity",
                    "createdAt",
                    "paidAt",
                    "paymentStatus",
                    "fulfillmentStatus",
                    "trackingUrls",
                    "message"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "price": {
                      "type": "object",
                      "required": [
                        "currency",
                        "subtotal",
                        "shipping",
                        "tax",
                        "total"
                      ],
                      "properties": {
                        "tax": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "description": "Integer USD cents"
                        },
                        "total": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "description": "Integer USD cents"
                        },
                        "coupon": {
                          "type": "object",
                          "required": [
                            "code",
                            "name",
                            "printDiscount",
                            "shippingDiscount",
                            "taxCredit"
                          ],
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "taxCredit": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "description": "Integer USD cents"
                            },
                            "printDiscount": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "description": "Integer USD cents"
                            },
                            "shippingDiscount": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "description": "Integer USD cents"
                            }
                          },
                          "additionalProperties": false
                        },
                        "currency": {
                          "type": "string",
                          "const": "USD"
                        },
                        "discount": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "description": "Integer USD cents"
                        },
                        "shipping": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "description": "Integer USD cents"
                        },
                        "subtotal": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "description": "Integer USD cents"
                        },
                        "originalTotal": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "description": "Integer USD cents"
                        }
                      },
                      "additionalProperties": false
                    },
                    "paidAt": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "description": "Unix time in milliseconds"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "status": {
                      "enum": [
                        "creating_checkout",
                        "awaiting_payment",
                        "verifying_payment",
                        "settling_payment",
                        "paid",
                        "submitting",
                        "processing",
                        "needs_review",
                        "expired"
                      ],
                      "type": "string"
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "progress": {
                      "type": "object",
                      "required": [
                        "productionStatus",
                        "shipmentStatus",
                        "lastUpdatedAt",
                        "trackingUrls",
                        "supportStatus",
                        "canRequestCancellation",
                        "canRequestChange",
                        "canRequestRefund",
                        "cancellationGuaranteed"
                      ],
                      "properties": {
                        "trackingUrls": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "lastUpdatedAt": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "supportStatus": {
                          "enum": [
                            "none",
                            "open",
                            "waiting_customer",
                            "under_review",
                            "resolved"
                          ],
                          "type": "string"
                        },
                        "shipmentStatus": {
                          "enum": [
                            "unknown",
                            "shipped",
                            "delivered"
                          ],
                          "type": "string"
                        },
                        "canRequestChange": {
                          "type": "boolean"
                        },
                        "canRequestRefund": {
                          "type": "boolean"
                        },
                        "productionStatus": {
                          "enum": [
                            "not_submitted",
                            "queued",
                            "submitting",
                            "accepted",
                            "printing",
                            "shipped",
                            "delivered",
                            "cancelled",
                            "on_hold",
                            "needs_review",
                            "unknown"
                          ],
                          "type": "string"
                        },
                        "canRequestCancellation": {
                          "type": "boolean"
                        },
                        "cancellationGuaranteed": {
                          "type": "boolean",
                          "const": false
                        }
                      },
                      "additionalProperties": false
                    },
                    "quantity": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "createdAt": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "description": "Unix time in milliseconds"
                    },
                    "imageCount": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "productName": {
                      "type": "string"
                    },
                    "trackingUrls": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uri"
                      }
                    },
                    "paymentStatus": {
                      "enum": [
                        "unpaid",
                        "pending",
                        "paid",
                        "refunded",
                        "not_required",
                        "needs_review",
                        "expired"
                      ],
                      "type": "string"
                    },
                    "orderReference": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "pricingVersion": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "paymentDeadline": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "description": "Unix time in milliseconds"
                    },
                    "fulfillmentStatus": {
                      "enum": [
                        "not_submitted",
                        "submitting",
                        "accepted",
                        "needs_review"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "lookup_order",
          "title": "Lookup Order",
          "description": "Recover by exactly one of orderReference or original idempotencyKey, within the current account/session. Reads saved status only. found:false may race an in-flight commit; paid:null is unknown. Neither authorizes a replacement order or payment. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[-\\w]{16,100}$"
              },
              "orderReference": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "found",
              "order",
              "paid",
              "paymentStatus",
              "source",
              "observedAt",
              "message"
            ],
            "properties": {
              "paid": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "found": {
                "type": "boolean"
              },
              "order": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "id",
                      "status",
                      "price",
                      "pricingVersion",
                      "paymentDeadline",
                      "quantity",
                      "createdAt",
                      "paidAt",
                      "paymentStatus",
                      "fulfillmentStatus",
                      "trackingUrls",
                      "message"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                      },
                      "price": {
                        "type": "object",
                        "required": [
                          "currency",
                          "subtotal",
                          "shipping",
                          "tax",
                          "total"
                        ],
                        "properties": {
                          "tax": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Integer USD cents"
                          },
                          "total": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Integer USD cents"
                          },
                          "coupon": {
                            "type": "object",
                            "required": [
                              "code",
                              "name",
                              "printDiscount",
                              "shippingDiscount",
                              "taxCredit"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "taxCredit": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "description": "Integer USD cents"
                              },
                              "printDiscount": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "description": "Integer USD cents"
                              },
                              "shippingDiscount": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "description": "Integer USD cents"
                              }
                            },
                            "additionalProperties": false
                          },
                          "currency": {
                            "type": "string",
                            "const": "USD"
                          },
                          "discount": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Integer USD cents"
                          },
                          "shipping": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Integer USD cents"
                          },
                          "subtotal": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Integer USD cents"
                          },
                          "originalTotal": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Integer USD cents"
                          }
                        },
                        "additionalProperties": false
                      },
                      "paidAt": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "description": "Unix time in milliseconds"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "status": {
                        "enum": [
                          "creating_checkout",
                          "awaiting_payment",
                          "verifying_payment",
                          "settling_payment",
                          "paid",
                          "submitting",
                          "processing",
                          "needs_review",
                          "expired"
                        ],
                        "type": "string"
                      },
                      "message": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "progress": {
                        "type": "object",
                        "required": [
                          "productionStatus",
                          "shipmentStatus",
                          "lastUpdatedAt",
                          "trackingUrls",
                          "supportStatus",
                          "canRequestCancellation",
                          "canRequestChange",
                          "canRequestRefund",
                          "cancellationGuaranteed"
                        ],
                        "properties": {
                          "trackingUrls": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "lastUpdatedAt": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "supportStatus": {
                            "enum": [
                              "none",
                              "open",
                              "waiting_customer",
                              "under_review",
                              "resolved"
                            ],
                            "type": "string"
                          },
                          "shipmentStatus": {
                            "enum": [
                              "unknown",
                              "shipped",
                              "delivered"
                            ],
                            "type": "string"
                          },
                          "canRequestChange": {
                            "type": "boolean"
                          },
                          "canRequestRefund": {
                            "type": "boolean"
                          },
                          "productionStatus": {
                            "enum": [
                              "not_submitted",
                              "queued",
                              "submitting",
                              "accepted",
                              "printing",
                              "shipped",
                              "delivered",
                              "cancelled",
                              "on_hold",
                              "needs_review",
                              "unknown"
                            ],
                            "type": "string"
                          },
                          "canRequestCancellation": {
                            "type": "boolean"
                          },
                          "cancellationGuaranteed": {
                            "type": "boolean",
                            "const": false
                          }
                        },
                        "additionalProperties": false
                      },
                      "quantity": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      },
                      "createdAt": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Unix time in milliseconds"
                      },
                      "imageCount": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      },
                      "productName": {
                        "type": "string"
                      },
                      "trackingUrls": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uri"
                        }
                      },
                      "paymentStatus": {
                        "enum": [
                          "unpaid",
                          "pending",
                          "paid",
                          "refunded",
                          "not_required",
                          "needs_review",
                          "expired"
                        ],
                        "type": "string"
                      },
                      "orderReference": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "pricingVersion": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "paymentDeadline": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Unix time in milliseconds"
                      },
                      "fulfillmentStatus": {
                        "enum": [
                          "not_submitted",
                          "submitting",
                          "accepted",
                          "needs_review"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "source": {
                "type": "string",
                "const": "saved_order"
              },
              "message": {
                "type": "string"
              },
              "observedAt": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Unix time in milliseconds"
              },
              "paymentStatus": {
                "anyOf": [
                  {
                    "enum": [
                      "unpaid",
                      "pending",
                      "paid",
                      "refunded",
                      "not_required",
                      "needs_review",
                      "expired"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_order",
          "title": "Get Order",
          "description": "Read saved order status without payment reconciliation or print submission. Status may lag processing. Pass your private guestToken or use an existing OAuth connection. No payment or printing side effects.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "orderId"
            ],
            "properties": {
              "orderId": {
                "type": "string",
                "pattern": "^[a-zA-Z0-9_-]{1,100}$"
              },
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id",
              "status",
              "price",
              "pricingVersion",
              "paymentDeadline",
              "quantity",
              "createdAt",
              "paidAt",
              "paymentStatus",
              "fulfillmentStatus",
              "trackingUrls",
              "message"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-zA-Z0-9_-]{1,100}$"
              },
              "price": {
                "type": "object",
                "required": [
                  "currency",
                  "subtotal",
                  "shipping",
                  "tax",
                  "total"
                ],
                "properties": {
                  "tax": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  },
                  "total": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  },
                  "coupon": {
                    "type": "object",
                    "required": [
                      "code",
                      "name",
                      "printDiscount",
                      "shippingDiscount",
                      "taxCredit"
                    ],
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "taxCredit": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      },
                      "printDiscount": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      },
                      "shippingDiscount": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0,
                        "description": "Integer USD cents"
                      }
                    },
                    "additionalProperties": false
                  },
                  "currency": {
                    "type": "string",
                    "const": "USD"
                  },
                  "discount": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  },
                  "shipping": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  },
                  "subtotal": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  },
                  "originalTotal": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Integer USD cents"
                  }
                },
                "additionalProperties": false
              },
              "paidAt": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "description": "Unix time in milliseconds"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "creating_checkout",
                  "awaiting_payment",
                  "verifying_payment",
                  "settling_payment",
                  "paid",
                  "submitting",
                  "processing",
                  "needs_review",
                  "expired"
                ],
                "type": "string"
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "progress": {
                "type": "object",
                "required": [
                  "productionStatus",
                  "shipmentStatus",
                  "lastUpdatedAt",
                  "trackingUrls",
                  "supportStatus",
                  "canRequestCancellation",
                  "canRequestChange",
                  "canRequestRefund",
                  "cancellationGuaranteed"
                ],
                "properties": {
                  "trackingUrls": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "lastUpdatedAt": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "supportStatus": {
                    "enum": [
                      "none",
                      "open",
                      "waiting_customer",
                      "under_review",
                      "resolved"
                    ],
                    "type": "string"
                  },
                  "shipmentStatus": {
                    "enum": [
                      "unknown",
                      "shipped",
                      "delivered"
                    ],
                    "type": "string"
                  },
                  "canRequestChange": {
                    "type": "boolean"
                  },
                  "canRequestRefund": {
                    "type": "boolean"
                  },
                  "productionStatus": {
                    "enum": [
                      "not_submitted",
                      "queued",
                      "submitting",
                      "accepted",
                      "printing",
                      "shipped",
                      "delivered",
                      "cancelled",
                      "on_hold",
                      "needs_review",
                      "unknown"
                    ],
                    "type": "string"
                  },
                  "canRequestCancellation": {
                    "type": "boolean"
                  },
                  "cancellationGuaranteed": {
                    "type": "boolean",
                    "const": false
                  }
                },
                "additionalProperties": false
              },
              "quantity": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991
              },
              "createdAt": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Unix time in milliseconds"
              },
              "imageCount": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": -9007199254740991
              },
              "productName": {
                "type": "string"
              },
              "trackingUrls": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "paymentStatus": {
                "enum": [
                  "unpaid",
                  "pending",
                  "paid",
                  "refunded",
                  "not_required",
                  "needs_review",
                  "expired"
                ],
                "type": "string"
              },
              "orderReference": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pricingVersion": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "paymentDeadline": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Unix time in milliseconds"
              },
              "fulfillmentStatus": {
                "enum": [
                  "not_submitted",
                  "submitting",
                  "accepted",
                  "needs_review"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_order_events",
          "title": "Get Order Events",
          "description": "Read your customer-safe order events in sequence. Save the last sequence as after for incremental recovery; duplicate events must be deduplicated by orderId and sequence. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "orderId"
            ],
            "properties": {
              "after": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "orderId": {
                "type": "string",
                "pattern": "^[a-zA-Z0-9_-]{1,100}$"
              },
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "events",
              "nextCursor"
            ],
            "properties": {
              "events": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "orderId",
                    "sequence",
                    "type",
                    "occurredAt",
                    "data"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "data": {
                      "type": "object",
                      "required": [
                        "productionStatus",
                        "shipmentStatus",
                        "lastUpdatedAt",
                        "trackingUrls",
                        "supportStatus",
                        "canRequestCancellation",
                        "canRequestChange",
                        "canRequestRefund",
                        "cancellationGuaranteed",
                        "paymentStatus"
                      ],
                      "properties": {
                        "trackingUrls": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "lastUpdatedAt": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "paymentStatus": {
                          "enum": [
                            "unpaid",
                            "pending",
                            "paid",
                            "refunded",
                            "not_required",
                            "needs_review",
                            "expired"
                          ],
                          "type": "string"
                        },
                        "supportStatus": {
                          "enum": [
                            "none",
                            "open",
                            "waiting_customer",
                            "under_review",
                            "resolved"
                          ],
                          "type": "string"
                        },
                        "shipmentStatus": {
                          "enum": [
                            "unknown",
                            "shipped",
                            "delivered"
                          ],
                          "type": "string"
                        },
                        "canRequestChange": {
                          "type": "boolean"
                        },
                        "canRequestRefund": {
                          "type": "boolean"
                        },
                        "productionStatus": {
                          "enum": [
                            "not_submitted",
                            "queued",
                            "submitting",
                            "accepted",
                            "printing",
                            "shipped",
                            "delivered",
                            "cancelled",
                            "on_hold",
                            "needs_review",
                            "unknown"
                          ],
                          "type": "string"
                        },
                        "canRequestCancellation": {
                          "type": "boolean"
                        },
                        "cancellationGuaranteed": {
                          "type": "boolean",
                          "const": false
                        }
                      },
                      "additionalProperties": false
                    },
                    "type": {
                      "type": "string",
                      "const": "order.updated"
                    },
                    "orderId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "sequence": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991
                    },
                    "occurredAt": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "description": "Unix time in milliseconds"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "nextCursor": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "request_order_help",
          "title": "Request Order Help",
          "description": "Create an order-bound support, address-change, cancellation or refund REQUEST. Requires buyer authorization. No cancellation, refund or change is executed or guaranteed. Reuse idempotencyKey when retrying the same request; read progress capability flags first. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "orderId",
              "type",
              "message",
              "idempotencyKey"
            ],
            "properties": {
              "type": {
                "enum": [
                  "general",
                  "address",
                  "cancellation",
                  "refund",
                  "damaged_prints",
                  "late_delivery"
                ],
                "type": "string"
              },
              "message": {
                "type": "string",
                "maxLength": 2000,
                "minLength": 10
              },
              "orderId": {
                "type": "string",
                "pattern": "^[a-zA-Z0-9_-]{1,100}$"
              },
              "guestToken": {
                "type": "string",
                "pattern": "^ppg_[a-f0-9]{64}$",
                "description": "Private guest credential; omit when Authorization Bearer is present."
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[\\w-]{16,100}$"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "reference",
              "status",
              "type",
              "createdAt",
              "message"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "const": "requested"
              },
              "message": {
                "type": "string"
              },
              "createdAt": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Unix time in milliseconds"
              },
              "reference": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "print-preview",
          "uri": "ui://photoprintagent/print-preview-v1.html",
          "mimeType": "text/html;profile=mcp-app"
        }
      ],
      "prompts": []
    },
    "instructions": "PhotoPrintAgent guest print ordering. No PhotoPrintAgent sign-in or account is required. Without an existing account connection, call start_guest_checkout once and keep its token privately in tool state. Pass guestToken on later photo, quote and order tools; never display it or put it in a URL. Before collecting or sharing delivery details call get_checkout_preferences. If expressOrder.enabled is true, the buyer preapproved sharing their home address, email and phone already available in ChatGPT with PhotoPrintAgent to prepare the requested order. This does not unlock memory or other apps or override client privacy controls. Ask for missing or ambiguous details; if disabled, obtain permission before sharing saved contact details. Never enable Express Order or accept its checkbox for the buyer. Inspect attached/generated images before import_photo. Automatically correct clearly sideways or upside-down content using crop.rotation (0, 90, 180 or 270 clockwise, after EXIF), preserving intentional orientation. Set crop.orientation to portrait or landscape to match the corrected image; do not turn upright content sideways to fill the paper. Ask if orientation is ambiguous. Show the corrected preview before order approval. To change a prepared image, reimport the original with a new idempotency key; exact retries keep the original key. Then quote delivery and show the address, contact details and total for final approval. At guest setup show the buyer the private termsSetupUrl for one-click terms acceptance. Account customers can accept during connection setup. Never open a consent link or accept terms for the buyer. If quote_prints returns setupTermsAccepted:true, ask only for approval of the photos, delivery address and final total, then omit termsAccepted. If false, a guest can click the private setup link or an existing account can reconnect to save the current terms. If the buyer completes setup after the quote, omit termsAccepted and let the server verify acceptance. Alternatively ask for agreement to the linked terms and approval of the displayed order in a single confirmation. A click or an affirmative answer to that explicit question suffices; never require a typed phrase. Always obtain explicit order approval before create_print_order. Save the idempotency key and orderReference first; retry the same input or use lookup_order after an uncertain response. Open only the returned private order-specific checkout link for payment in the website modal; no website upload or account creation is needed. Never collect card credentials in chat. An existing OAuth connection still requires its granted read/write/order scopes; never mix OAuth and guest credentials. Guest checkout preparation expires after 24 hours; saved-order access lasts 30 days. Do not replace or pay an ambiguous order. No payment-execution tool is available. Zero-total orders require the same explicit order approval and current terms acceptance. Native ChatGPT new-card payment is not enabled. Status is saved state; unknown is not shipped. Use only PhotoPrintAgent branding and do not disclose supplier details. Guide: https://photoprintagent.com/docs/mcp-narrow."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}