{
  "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": "tools.somosvelora.com",
    "site": "somosvelora.com",
    "addresses": [
      {
        "address": "76.76.21.21",
        "endpoints": 559,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "76.76.21.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "76.76.21.21"
        ],
        "first_seen": "2026-11-22T16:29:03.943Z",
        "last_seen": "2026-11-23T16:30:11.079Z",
        "checks": 2
      }
    ],
    "hosting": [
      {
        "value": "Vercel",
        "evidence": "Server header \"Vercel\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "velora-mcp-demo",
      "version": "1.0.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Vercel",
      "strict-transport-security": "max-age=63072000"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 558,
      "sample": [
        {
          "id": "139",
          "url": "https://agentblueprint.ai/mcp",
          "server_name": "ai.agentblueprint/agent-blueprint",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:35:05.125Z"
        },
        {
          "id": "141",
          "url": "https://agentcv.ai/mcp",
          "server_name": "ai.agentcv/registry",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:35:05.074Z"
        },
        {
          "id": "207",
          "url": "https://alcock.ai/api/mcp",
          "server_name": "ai.alcock/arena",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:36:01.190Z"
        },
        {
          "id": "249",
          "url": "https://arabickeyboard.ai/mcp",
          "server_name": "ai.arabickeyboard/name-calligraphy",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:38:00.924Z"
        },
        {
          "id": "321",
          "url": "https://aviado.ai/api/mcp",
          "server_name": "ai.aviado/health",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:39:00.868Z"
        },
        {
          "id": "730",
          "url": "https://droneintelligence.ai/api/mcp",
          "server_name": "ai.droneintelligence/drone-intelligence",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:49:02.698Z"
        },
        {
          "id": "903",
          "url": "https://framethrower.ai/api/mcp",
          "server_name": "ai.framethrower/framethrower",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:53:03.641Z"
        },
        {
          "id": "910",
          "url": "https://fukushi.ai/api/mcp",
          "server_name": "ai.fukushi/dictionary",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:53:04.449Z"
        },
        {
          "id": "1235",
          "url": "https://instabids.ai/api/agent/mcp",
          "server_name": "ai.instabids/instabids",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:59:01.602Z"
        },
        {
          "id": "1255",
          "url": "https://jasonlovell.ai/mcp",
          "server_name": "ai.jasonlovell/site",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T05:01:00.859Z"
        },
        {
          "id": "1418",
          "url": "https://listplus.ai/mcp",
          "server_name": "ai.listplus/listplus",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T05:03:03.328Z"
        },
        {
          "id": "1691",
          "url": "https://opencancer.ai/api/mcp",
          "server_name": "ai.opencancer/opencancer",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:46:04.342Z"
        },
        {
          "id": "1733",
          "url": "https://overwing.ai/mcp",
          "server_name": "ai.overwing/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:47:04.994Z"
        },
        {
          "id": "1765",
          "url": "https://pechincha.ai/mcp",
          "server_name": "ai.pechincha/deals",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:47:05.953Z"
        },
        {
          "id": "2148",
          "url": "https://shurco.ai/mcp",
          "server_name": "ai.shurco/llm-pricing",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:52:15.100Z"
        },
        {
          "id": "2448",
          "url": "https://stablenews.ai/mcp/news",
          "server_name": "ai.stablenews/news",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:53:01.097Z"
        },
        {
          "id": "2486",
          "url": "https://subpay.ai/mcp",
          "server_name": "ai.subpay/document-reader",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:53:02.184Z"
        },
        {
          "id": "2487",
          "url": "https://subpay.ai/invoice/mcp",
          "server_name": "ai.subpay/invoice-reader",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:54:00.968Z"
        },
        {
          "id": "2488",
          "url": "https://subpay.ai/find/mcp",
          "server_name": "ai.subpay/tool-finder",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:55:04.238Z"
        },
        {
          "id": "2516",
          "url": "https://synthfolk.ai/api/mcp",
          "server_name": "ai.synthfolk/directory",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:54:03.119Z"
        }
      ]
    },
    "same_site": {
      "total": 1,
      "sample": [
        {
          "id": "28539",
          "url": "https://tools.somosvelora.com/api/mcp/public",
          "server_name": "io.github.crossi-dev/latam-tools",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:36:02.025Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.somosvelora",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/crossi-dev/velora-mcp",
      "total": 0,
      "sample": []
    },
    "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": "16122",
    "server_name": "com.somosvelora/velora",
    "url": "https://tools.somosvelora.com/api/mcp",
    "host": "tools.somosvelora.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T16:30:11.079Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "9bb67e9669e168c8c75f5a0dea39cc78e4932be2ea4a3d79a03adec39681b97f",
    "first_listed_at": "2026-11-21T11:05:01.678Z",
    "created_at": "2026-11-21T06:45:08.607Z",
    "resolved_addresses": [
      "76.76.21.21"
    ]
  },
  "server": {
    "name": "com.somosvelora/velora",
    "title": null,
    "description": "Hosted Argentine commerce MCP: real AFIP invoicing, MercadoPago, logistics, catalog & WhatsApp.",
    "version": "1.0.1",
    "registry_status": "active",
    "repository_url": "https://github.com/crossi-dev/velora-mcp",
    "website_url": "https://somosvelora.com",
    "published_at": "2026-06-14T04:27:24.398Z",
    "updated_at": "2026-06-14T04:27:24.398Z",
    "first_seen": "2026-11-21T06:45:08.024Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "sends-messages",
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:21:32.884Z"
  },
  "operator": {
    "key": "somosvelora.com",
    "name": "somosvelora.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 325,
    "first_check_in_window": "2026-11-21T11:05:01.678Z",
    "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": "9bb67e9669e168c8c75f5a0dea39cc78e4932be2ea4a3d79a03adec39681b97f",
    "tools": 50,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T11:05:02.037Z",
    "tool_names": [
      "validate_cuit",
      "get_fiscal_readiness",
      "emit_invoice",
      "emit_nota",
      "create_product",
      "edit_product",
      "stock_load",
      "adjust_stock",
      "delete_product",
      "bulk_price_update",
      "query_catalog",
      "open_catalog_selector",
      "register_sale",
      "register_movement",
      "return_sale",
      "find_customer",
      "upsert_customer",
      "delete_customer",
      "quote_shipping",
      "create_shipment",
      "track_shipment",
      "get_package_profile",
      "send_whatsapp_text",
      "send_whatsapp_template",
      "connection_status",
      "caja_consultar_saldo",
      "caja_ciclo_caja",
      "caja_registrar_movimiento",
      "get_payment_intent_status",
      "open_payment_link_wizard",
      "open_pending_orders",
      "open_cobro_status",
      "open_delivery_receipt",
      "create_tracked_payment_link",
      "list_suppliers",
      "create_supplier",
      "create_purchase_request",
      "edit_supplier",
      "delete_supplier",
      "query_sales",
      "connect_mercadopago",
      "connect_pedidosya",
      "connect_whatsapp",
      "connect_tiendanube",
      "upload_catalog",
      "open_sale_confirm",
      "open_caja_status",
      "open_onboarding",
      "open_business_overview",
      "open_shipment_prep"
    ],
    "declared": {
      "tools": [
        {
          "name": "validate_cuit",
          "title": "Validate CUIT/CUIL",
          "description": "Validates an Argentine CUIT or CUIL number. Returns parsed components (prefix, body, check digit), person type, and whether the check digit is mathematically correct. Accepts any format: raw digits, hyphened (20-12345678-9), or spaced. This tool runs the REAL check-digit algorithm — not a demo fixture.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "cuit"
            ],
            "properties": {
              "cuit": {
                "type": "string",
                "description": "CUIT/CUIL in any format (digits, hyphens, or spaces)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_fiscal_readiness",
          "title": "Get fiscal readiness",
          "description": "Checks whether the business is ready to emit real ARCA electronic invoices. Returns { ready, missing, guidance } where ready=true means all fiscal fields and the ARCA certificate are configured.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "emit_invoice",
          "title": "Emit invoice (ARCA)",
          "description": "[demo: deshabilitada] Emits an ARCA (formerly AFIP)-compliant electronic invoice (factura electrónica) for the authenticated business and returns the CAE authorization code.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "customerCuit",
              "amountARS",
              "tipo"
            ],
            "properties": {
              "tipo": {
                "enum": [
                  "A",
                  "B",
                  "C"
                ],
                "type": "string",
                "description": "A = IVA discriminado (B2B), B = consumidor final, C = monotributo."
              },
              "concept": {
                "type": "string",
                "description": "Items or concept description (optional)."
              },
              "amountARS": {
                "type": "number",
                "description": "Invoice total in Argentine pesos (ARS).",
                "exclusiveMinimum": 0
              },
              "requestId": {
                "type": "string",
                "description": "Optional idempotency nonce."
              },
              "customerCuit": {
                "type": "string",
                "description": "Customer CUIT/CUIL (11 digits, any format)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "emit_nota",
          "title": "Emit credit/debit note (ARCA)",
          "description": "[demo: deshabilitada] Emits an ARCA-compliant Nota Crédito (NC) or Nota Débito (ND) against an original AFIP invoice and returns the CAE authorization code.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "customerCuit",
              "amountARS",
              "tipo",
              "kind",
              "associatedInvoice"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "credito",
                  "debito"
                ],
                "type": "string",
                "description": "credito = Nota Crédito, debito = Nota Débito."
              },
              "tipo": {
                "enum": [
                  "A",
                  "B",
                  "C"
                ],
                "type": "string",
                "description": "Invoice type letter for this nota."
              },
              "concept": {
                "type": "string",
                "description": "Items or concept description (optional)."
              },
              "amountARS": {
                "type": "number",
                "description": "Note total in Argentine pesos (ARS).",
                "exclusiveMinimum": 0
              },
              "requestId": {
                "type": "string",
                "description": "Optional idempotency nonce."
              },
              "customerCuit": {
                "type": "string",
                "description": "Customer CUIT/CUIL (11 digits, any format)."
              },
              "associatedInvoice": {
                "type": "object",
                "required": [
                  "tipo",
                  "ptoVta",
                  "nro"
                ],
                "properties": {
                  "nro": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "description": "Sequential number of the original invoice.",
                    "exclusiveMinimum": 0
                  },
                  "tipo": {
                    "enum": [
                      "1",
                      "6",
                      "11"
                    ],
                    "type": "string",
                    "description": "WSFE tipoComprobante of the original factura: 1=A, 6=B, 11=C."
                  },
                  "ptoVta": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "description": "Punto de venta of the original invoice.",
                    "exclusiveMinimum": 0
                  }
                },
                "description": "Reference to the original invoice being credited or debited."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "create_product",
          "title": "Create product",
          "description": "[demo: deshabilitada] Creates a new product in the business catalog. Requires name and price.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "name",
              "price"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "description": "Product name."
              },
              "price": {
                "type": "number",
                "description": "Selling price in ARS.",
                "exclusiveMinimum": 0
              },
              "costPrice": {
                "type": "number",
                "description": "Purchase cost price in ARS (optional).",
                "exclusiveMinimum": 0
              },
              "weightGrams": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Weight in grams (optional).",
                "exclusiveMinimum": 0
              },
              "initialStock": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Initial stock quantity (default 0)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "edit_product",
          "title": "Edit product",
          "description": "[demo: deshabilitada] Updates a single product's fields (name, price, costPrice, or stockQuantity).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "productId"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "description": "New product name (optional)."
              },
              "price": {
                "type": "number",
                "description": "New selling price in ARS (optional).",
                "exclusiveMinimum": 0
              },
              "costPrice": {
                "anyOf": [
                  {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "New cost price, or null to clear (optional)."
              },
              "productId": {
                "type": "string",
                "minLength": 1,
                "description": "ID of the product to update."
              },
              "stockQuantity": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Set stock to this value (optional)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "stock_load",
          "title": "Stock load",
          "description": "[demo: deshabilitada] Records inbound stock for a product — restock or initial stock, with an audit trail.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "itemName",
              "quantity"
            ],
            "properties": {
              "itemName": {
                "type": "string",
                "minLength": 1,
                "description": "Product name for resolution or auto-creation."
              },
              "quantity": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Units received.",
                "exclusiveMinimum": 0
              },
              "productId": {
                "type": "string",
                "description": "Existing product ID (optional if itemName resolves it)."
              },
              "unitPrice": {
                "type": "number",
                "minimum": 0,
                "description": "Cost per unit in ARS."
              },
              "supplierId": {
                "type": "string",
                "description": "Existing supplier ID (optional)."
              },
              "supplierName": {
                "type": "string",
                "description": "Supplier name (optional)."
              },
              "autoCreateProduct": {
                "type": "boolean",
                "default": false,
                "description": "Auto-create product if not found."
              },
              "createPurchaseRequest": {
                "type": "boolean",
                "default": false,
                "description": "Also create a purchase request for this stock load."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "adjust_stock",
          "title": "Adjust stock",
          "description": "[demo: deshabilitada] Sets the absolute stock quantity for a product (inventory sync, no audit trail).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "productId",
              "mode",
              "quantity"
            ],
            "properties": {
              "mode": {
                "type": "string",
                "const": "set",
                "description": "Must be 'set'. Absolute-set is the only mode available via MCP."
              },
              "quantity": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "New absolute stock quantity."
              },
              "productId": {
                "type": "string",
                "minLength": 1,
                "description": "Product ID to update."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "delete_product",
          "title": "Delete product",
          "description": "[demo: deshabilitada] Deletes (or soft-archives, when it has sale records) a product from the catalog.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "productId"
            ],
            "properties": {
              "productId": {
                "type": "string",
                "minLength": 1,
                "description": "ID of the product to delete."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "bulk_price_update",
          "title": "Bulk price update",
          "description": "[demo: deshabilitada] Mass price change for all products or a specified subset in this business.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "amount",
              "mode",
              "direction"
            ],
            "properties": {
              "mode": {
                "enum": [
                  "percent",
                  "fixed"
                ],
                "type": "string",
                "description": "'percent' = percentage change; 'fixed' = absolute ARS change."
              },
              "amount": {
                "type": "number",
                "description": "Adjustment amount — percentage or fixed ARS value depending on mode.",
                "exclusiveMinimum": 0
              },
              "direction": {
                "enum": [
                  "up",
                  "down",
                  "set"
                ],
                "type": "string",
                "description": "'up' raises, 'down' lowers, 'set' assigns an exact price."
              },
              "productIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Specific product IDs to update. Omit to update ALL products."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "query_catalog",
          "title": "Query catalog",
          "description": "Lists active products in the business catalog. Returns products sorted by name, each with id, name, price (ARS), costPrice, sku, stock quantity, and weightGrams.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "search": {
                "type": "string",
                "description": "Optional name filter (case-insensitive substring match)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "open_catalog_selector",
          "title": "Open catalog selector",
          "description": "Opens the catalog selector — a graphical product picker (MCP Apps widget) that shows active products with prices (ARS) and stock. Side-effect-free (no sale, no charge).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "search": {
                "type": "string",
                "description": "Optional name filter (case-insensitive substring match)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "register_sale",
          "title": "Register sale",
          "description": "[demo: deshabilitada] Records a sale for the authenticated business. Creates a full Sale with SaleItems, decrements inventory, creates a CashMovement and Invoice.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "productId",
                    "quantity"
                  ],
                  "properties": {
                    "quantity": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "description": "Units sold (positive integer).",
                      "exclusiveMinimum": 0
                    },
                    "productId": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Product ID."
                    },
                    "unitPrice": {
                      "type": "number",
                      "description": "Sale price per unit in ARS (optional; catalog price used when omitted).",
                      "exclusiveMinimum": 0
                    }
                  }
                },
                "maxItems": 500,
                "minItems": 1,
                "description": "Line items for the sale."
              },
              "requestId": {
                "type": "string",
                "description": "Optional idempotency override."
              },
              "customerId": {
                "type": "string",
                "description": "Optional customer ID. Omit for anonymous sales."
              },
              "paymentMethod": {
                "enum": [
                  "efectivo",
                  "transferencia",
                  "mp",
                  "qr",
                  "modo"
                ],
                "type": "string",
                "description": "Defaults to 'efectivo' when omitted."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "register_movement",
          "title": "Register cash movement",
          "description": "[demo: deshabilitada] Records a cash-register movement for the authenticated business ('purchase', 'income', 'salary', 'tax', 'adjustment').",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "type",
              "description",
              "amount"
            ],
            "properties": {
              "date": {
                "type": "string",
                "description": "ISO 8601 date/datetime. Defaults to now."
              },
              "type": {
                "enum": [
                  "purchase",
                  "tax",
                  "salary",
                  "adjustment",
                  "income",
                  "sale"
                ],
                "type": "string",
                "description": "Movement type."
              },
              "amount": {
                "type": "number",
                "description": "Amount in ARS (always positive).",
                "exclusiveMinimum": 0
              },
              "description": {
                "type": "string",
                "minLength": 1,
                "description": "Description (e.g. 'Pago proveedor Distribuidora ABC')."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "return_sale",
          "title": "Return sale",
          "description": "[demo: deshabilitada] Reverses the N most-recent sales within a time window. Restores inventory, removes CashMovement, SaleItem, Invoice, and Sale records. Destructive and irreversible.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "confirm"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "default": 1,
                "maximum": 10,
                "description": "Number of recent sales to reverse (max 10).",
                "exclusiveMinimum": 0
              },
              "confirm": {
                "type": "boolean",
                "const": true,
                "description": "Must be explicitly true to confirm reversing sales."
              },
              "cutoffHours": {
                "type": "number",
                "default": 24,
                "maximum": 48,
                "description": "Only consider sales within the last N hours (max 48).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "find_customer",
          "title": "Find customer",
          "description": "Searches customers in the business by name and/or phone. Returns up to 20 matching customers sorted by name.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "name": {
                "type": "string",
                "description": "Customer name substring to search (case-insensitive)."
              },
              "phone": {
                "type": "string",
                "description": "Customer phone number or partial number to search."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "upsert_customer",
          "title": "Upsert customer",
          "description": "[demo: deshabilitada] Creates a new customer or updates an existing one for the authenticated business.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "city": {
                "type": "string",
                "description": "Customer city or locality (optional)."
              },
              "name": {
                "type": "string",
                "description": "Customer display name."
              },
              "email": {
                "type": "string",
                "description": "Customer email address (optional)."
              },
              "phone": {
                "type": "string",
                "description": "Customer phone number."
              },
              "address": {
                "type": "string",
                "description": "Customer street address (optional)."
              },
              "customerId": {
                "type": "string",
                "description": "When provided, updates the customer with this id."
              },
              "postalCode": {
                "type": "string",
                "description": "Customer postal code (optional)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "delete_customer",
          "title": "Delete customer",
          "description": "[demo: deshabilitada] Deletes a customer from this business (blocked when the customer has sales or invoices).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "customerId"
            ],
            "properties": {
              "customerId": {
                "type": "string",
                "minLength": 1,
                "description": "ID of the customer to delete."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "quote_shipping",
          "title": "Quote shipping",
          "description": "Quotes shipment rates from every active courier configured for the authenticated business and returns options sorted by price ascending.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "originPostalCode",
              "destinationPostalCode",
              "weightGrams"
            ],
            "properties": {
              "weightGrams": {
                "type": "number",
                "description": "Total shipment weight in grams.",
                "exclusiveMinimum": 0
              },
              "declaredValue": {
                "type": "number",
                "minimum": 0,
                "description": "Declared value in ARS for insurance."
              },
              "originPostalCode": {
                "type": "string",
                "description": "Origin postal code (4 digits)."
              },
              "destinationPostalCode": {
                "type": "string",
                "description": "Destination postal code (4 digits)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_shipment",
          "title": "Create shipment",
          "description": "[demo: deshabilitada] Creates a physical shipment via the chosen courier and returns a tracking number and label URL.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "provider",
              "saleId",
              "customerName",
              "customerAddress",
              "customerPostalCode",
              "weightGrams"
            ],
            "properties": {
              "saleId": {
                "type": "string",
                "description": "Velora Sale ID."
              },
              "service": {
                "type": "string",
                "description": "Courier-specific service key (defaults to 'domicilio')."
              },
              "provider": {
                "type": "string",
                "description": "Courier slug from quote_shipping ('andreani', 'oca')."
              },
              "customerDni": {
                "type": "string",
                "description": "Recipient DNI (required by Andreani in production)."
              },
              "weightGrams": {
                "type": "number",
                "description": "Total shipment weight in grams.",
                "exclusiveMinimum": 0
              },
              "customerCity": {
                "type": "string",
                "description": "Recipient city (optional)."
              },
              "customerName": {
                "type": "string",
                "description": "Recipient first name."
              },
              "customerPhone": {
                "type": "string",
                "description": "Recipient phone number (optional)."
              },
              "customerAddress": {
                "type": "string",
                "description": "Recipient street name."
              },
              "customerLastName": {
                "type": "string",
                "description": "Recipient last name (optional)."
              },
              "customerProvince": {
                "type": "string",
                "description": "Recipient province (required by OCA)."
              },
              "customerPostalCode": {
                "type": "string",
                "description": "Recipient postal code."
              },
              "customerAddressNumber": {
                "type": "string",
                "description": "Recipient street number (required by OCA)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "track_shipment",
          "title": "Track shipment",
          "description": "Tracks the current status and event history of a shipment by tracking number.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "trackingNumber",
              "provider"
            ],
            "properties": {
              "provider": {
                "type": "string",
                "description": "Courier that created the shipment ('andreani', 'oca')."
              },
              "trackingNumber": {
                "type": "string",
                "description": "Tracking number returned by the courier at shipment creation time."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_package_profile",
          "title": "Get package profile",
          "description": "Computes the shipment weight and item breakdown for a package. Accepts a saleId, a list of productIds, or an explicit weightGramsOverride.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "saleId": {
                "type": "string",
                "description": "Velora Sale ID (takes priority over productIds)."
              },
              "productIds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Array of Velora Product IDs (assumes qty=1 per id)."
              },
              "weightGramsOverride": {
                "type": "number",
                "description": "Explicit weight override in grams.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "send_whatsapp_text",
          "title": "Send WhatsApp text",
          "description": "[demo: deshabilitada] Sends a plain-text WhatsApp message to a customer phone number. Only valid inside the 24-hour customer-service window (Meta error 131026 outside).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "to",
              "text"
            ],
            "properties": {
              "to": {
                "type": "string",
                "minLength": 1,
                "description": "Recipient phone number (local AR or E.164)."
              },
              "text": {
                "type": "string",
                "minLength": 1,
                "description": "Message text body."
              },
              "mediaUrl": {
                "type": "string",
                "format": "uri",
                "description": "Optional public URL of a media file to attach."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "send_whatsapp_template",
          "title": "Send WhatsApp template",
          "description": "[demo: deshabilitada] Sends a pre-approved Meta WhatsApp template message. Window-independent — can be sent proactively, outside the 24-hour session window.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "to",
              "templateName"
            ],
            "properties": {
              "to": {
                "type": "string",
                "minLength": 1,
                "description": "Recipient phone number (local AR or E.164)."
              },
              "components": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "parameters"
                  ],
                  "properties": {
                    "type": {
                      "enum": [
                        "body",
                        "header",
                        "button"
                      ],
                      "type": "string",
                      "description": "Component section to populate."
                    },
                    "parameters": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "type",
                          "text"
                        ],
                        "properties": {
                          "text": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string",
                            "const": "text"
                          }
                        }
                      },
                      "description": "Ordered text substitutions."
                    }
                  }
                },
                "description": "Template variable substitutions (omit for templates with no placeholders)."
              },
              "languageCode": {
                "type": "string",
                "description": "BCP-47 language code (defaults to 'es_AR')."
              },
              "templateName": {
                "type": "string",
                "description": "Exact template name as registered in Meta Business Manager."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "connection_status",
          "title": "Connection status",
          "description": "Returns the BYOA (Bring Your Own Account) integration readiness for the authenticated business — what is connected and how to connect what is missing. Read-only.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "caja_consultar_saldo",
          "title": "Consult cash balance",
          "description": "Queries the current cash register balance for the authenticated business — the open session data or the last closed session. Read-only.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "caja_ciclo_caja",
          "title": "Open or close cash shift",
          "description": "[demo: deshabilitada] Opens or closes a cash register shift for the authenticated business.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "action",
              "monto"
            ],
            "properties": {
              "nota": {
                "type": "string",
                "maxLength": 500,
                "description": "Optional operator note."
              },
              "monto": {
                "type": "number",
                "minimum": 0,
                "description": "Opening float (abrir) or physically counted cash (cerrar) in ARS."
              },
              "action": {
                "enum": [
                  "abrir",
                  "cerrar"
                ],
                "type": "string",
                "description": "'abrir' to open a shift, 'cerrar' to close it."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "caja_registrar_movimiento",
          "title": "Register cash movement (caja)",
          "description": "[demo: deshabilitada] Records a cash movement tied to the OPEN caja shift: income, expense, withdrawal, tax, or payroll.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "tipo",
              "monto",
              "descripcion"
            ],
            "properties": {
              "tipo": {
                "enum": [
                  "ingreso",
                  "gasto",
                  "retiro",
                  "sangria",
                  "sangría",
                  "impuesto",
                  "sueldo"
                ],
                "type": "string",
                "description": "Movement type."
              },
              "monto": {
                "type": "number",
                "description": "Positive amount in ARS.",
                "exclusiveMinimum": 0
              },
              "descripcion": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "Movement description."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "get_payment_intent_status",
          "title": "Get payment intent status",
          "description": "Checks the current status of a Velora PaymentIntent. Accepts a paymentIntentId OR a customer name.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "customerName": {
                "type": "string",
                "description": "Customer name (fuzzy match)."
              },
              "paymentIntentId": {
                "type": "string",
                "description": "Velora PaymentIntent id. Optional when customerName is provided."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "open_payment_link_wizard",
          "title": "Open payment link wizard",
          "description": "Opens the payment-link wizard — a graphical form pre-filled with the cobro, for the owner to review and confirm before any money moves. Side-effect-free (no charge).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "description",
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "productId",
                    "quantity"
                  ],
                  "properties": {
                    "quantity": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "description": "Units.",
                      "exclusiveMinimum": 0
                    },
                    "productId": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Product ID."
                    },
                    "unitPriceOverride": {
                      "type": "number",
                      "description": "Optional negotiated unit price.",
                      "exclusiveMinimum": 0
                    }
                  }
                },
                "minItems": 1,
                "description": "Line items (productId + quantity)."
              },
              "customerId": {
                "type": "string",
                "minLength": 1,
                "description": "Customer ID (optional)."
              },
              "description": {
                "type": "string",
                "minLength": 1,
                "description": "Cobro description (e.g. '3 alfajores')."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "open_pending_orders",
          "title": "Open pending orders",
          "description": "Opens the pending cobros dashboard — a read-only widget listing PaymentIntents awaiting payment. Side-effect-free.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "open_cobro_status",
          "title": "Open cobro status",
          "description": "Opens the cobro status widget — a read-only view of ONE PaymentIntent's payment state. Accepts paymentIntentId OR customerName.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "customerName": {
                "type": "string",
                "description": "Customer name (optional when paymentIntentId is provided)."
              },
              "paymentIntentId": {
                "type": "string",
                "description": "Velora PaymentIntent id (optional when customerName is provided)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "open_delivery_receipt",
          "title": "Open delivery receipt",
          "description": "Opens the comprobante + envío widget — a read-only view of the delivery receipt for a completed cobro. Accepts paymentIntentId, saleId, OR customerName.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "saleId": {
                "type": "string",
                "description": "Velora Sale id (optional)."
              },
              "customerName": {
                "type": "string",
                "description": "Customer name (optional)."
              },
              "paymentIntentId": {
                "type": "string",
                "description": "Velora PaymentIntent id (optional)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_tracked_payment_link",
          "title": "Create tracked payment link",
          "description": "[demo: deshabilitada] Creates a tracked MercadoPago payment link for a catalog-tied cobro: atomically records the Sale + Invoice + PaymentIntent, then generates a real Checkout Pro link. MONEY: real and irreversible.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "customerId",
              "items",
              "description",
              "idempotencyKey"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "productId",
                    "quantity"
                  ],
                  "properties": {
                    "quantity": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "description": "Units.",
                      "exclusiveMinimum": 0
                    },
                    "productId": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Product ID."
                    },
                    "unitPriceOverride": {
                      "type": "number",
                      "description": "Optional negotiated unit price.",
                      "exclusiveMinimum": 0
                    }
                  }
                },
                "minItems": 1,
                "description": "Line items."
              },
              "customerId": {
                "type": "string",
                "minLength": 1,
                "description": "Customer ID."
              },
              "description": {
                "type": "string",
                "minLength": 1,
                "description": "Cobro description shown on the MP preference."
              },
              "expiresInDays": {
                "type": "integer",
                "maximum": 30,
                "minimum": 1,
                "description": "Link lifetime in days (1–30, default 3)."
              },
              "idempotencyKey": {
                "type": "string",
                "minLength": 1,
                "description": "Stable UUID generated by the wizard."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "list_suppliers",
          "title": "List suppliers",
          "description": "Returns all suppliers for this business (up to 50, sorted by name).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "search": {
                "type": "string",
                "description": "Optional name substring to filter suppliers."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_supplier",
          "title": "Create supplier",
          "description": "[demo: deshabilitada] Creates a supplier for this business.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "description": "Supplier name (must be unique within this business)."
              },
              "email": {
                "type": "string",
                "format": "email",
                "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "description": "Supplier email address (optional)."
              },
              "phone": {
                "type": "string",
                "description": "Supplier phone number (optional)."
              },
              "contactName": {
                "type": "string",
                "description": "Contact person name (optional)."
              },
              "leadTimeDays": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Default lead time in days (optional).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_purchase_request",
          "title": "Create purchase request",
          "description": "[demo: deshabilitada] Creates a procurement order (purchase request) to a supplier.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "itemName",
              "quantity",
              "unitPrice"
            ],
            "properties": {
              "itemName": {
                "type": "string",
                "minLength": 1,
                "description": "Name of the item being ordered."
              },
              "quantity": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Quantity to order.",
                "exclusiveMinimum": 0
              },
              "unitPrice": {
                "type": "number",
                "minimum": 0,
                "description": "Unit price per item in ARS."
              },
              "supplierId": {
                "type": "string",
                "description": "Existing supplier ID (optional if supplierName is provided)."
              },
              "supplierName": {
                "type": "string",
                "description": "Supplier name (optional if supplierId is provided)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "edit_supplier",
          "title": "Edit supplier",
          "description": "[demo: deshabilitada] Updates an existing supplier's fields.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "supplierId"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "description": "New supplier name (optional)."
              },
              "email": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "email",
                    "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "New email, or null to clear."
              },
              "phone": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "New phone number, or null to clear."
              },
              "supplierId": {
                "type": "string",
                "minLength": 1,
                "description": "ID of the supplier to update."
              },
              "contactName": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "New contact person name, or null to clear."
              },
              "leadTimeDays": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "New lead time in days, or null to clear."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "delete_supplier",
          "title": "Delete supplier",
          "description": "[demo: deshabilitada] Deletes a supplier from this business (with full audit trail).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "supplierId"
            ],
            "properties": {
              "supplierId": {
                "type": "string",
                "minLength": 1,
                "description": "ID of the supplier to delete."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "query_sales",
          "title": "Query sales",
          "description": "Queries sales metrics from the database: 'ventas_periodo', 'margen', 'ranking_productos', 'por_empleado', or 'historial_cliente'.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "metrica"
            ],
            "properties": {
              "to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "End date YYYY-MM-DD. Requires 'from'."
              },
              "from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Start date YYYY-MM-DD. Requires 'to'."
              },
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 50,
                "minimum": 1,
                "description": "Max results (default 10, max 50)."
              },
              "preset": {
                "enum": [
                  "hoy",
                  "semana",
                  "mes"
                ],
                "type": "string",
                "description": "Preset date range. Mutually exclusive with from/to."
              },
              "metrica": {
                "enum": [
                  "ventas_periodo",
                  "margen",
                  "ranking_productos",
                  "por_empleado",
                  "historial_cliente"
                ],
                "type": "string",
                "description": "Metric to query."
              },
              "customer_name": {
                "type": "string",
                "minLength": 1,
                "description": "Customer name or fragment. Only for historial_cliente."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "connect_mercadopago",
          "title": "Connect MercadoPago",
          "description": "[demo: deshabilitada] Connects MercadoPago for this business using the BYOA OAuth-redirect model. Primary: returns an authorization URL. Fallback: accepts a production access token directly.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "accessToken": {
                "type": "string",
                "pattern": "^APP_USR-.*",
                "minLength": 20,
                "description": "Optional MercadoPago production access token."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "connect_pedidosya",
          "title": "Connect PedidosYa",
          "description": "[demo: deshabilitada] Connects PedidosYa for this business using the BYOA secure-form model. Primary: returns a secure link. Fallback: accepts an API token directly.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "apiToken": {
                "type": "string",
                "minLength": 1,
                "description": "Optional PedidosYa API token."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "connect_whatsapp",
          "title": "Connect WhatsApp",
          "description": "[demo: deshabilitada] Connects WhatsApp Business using the BYOA Meta Embedded Signup model. Primary: returns a signup link. Optional: registers a phone number as a lightweight pre-step.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "phone": {
                "type": "string",
                "minLength": 8,
                "description": "Optional WhatsApp Business phone in E.164 format."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "connect_tiendanube",
          "title": "Connect Tienda Nube",
          "description": "[demo: deshabilitada] Connects Tienda Nube (Nuvemshop) using the BYOA OAuth-redirect model. Returns an authorization URL — no token ever passes through chat. Gated behind env config in production.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "upload_catalog",
          "title": "Upload catalog",
          "description": "[demo: deshabilitada] Bulk-creates products in the business catalog from a structured list (up to 50 items).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "products"
            ],
            "properties": {
              "products": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "price"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "Product name."
                    },
                    "price": {
                      "type": "number",
                      "description": "Selling price in ARS."
                    }
                  }
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "List of products to create (1–50 items)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "open_sale_confirm",
          "title": "Open sale confirmation",
          "description": "Opens a VISUAL preview of a cash sale — resolved product names, unit prices, quantities, and total — with a confirm button that fires register_sale. Read-only preview itself.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "productId",
                    "quantity"
                  ],
                  "properties": {
                    "quantity": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "description": "Units to sell.",
                      "exclusiveMinimum": 0
                    },
                    "productId": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Product ID."
                    }
                  }
                },
                "maxItems": 500,
                "minItems": 1,
                "description": "Line items for the sale."
              },
              "customerId": {
                "type": "string",
                "description": "Optional customer ID (omit for anonymous sales)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "open_caja_status",
          "title": "Open caja status",
          "description": "Opens a visual widget showing the current shift state and action buttons. Read-only here.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "open_onboarding",
          "title": "Open onboarding hub",
          "description": "Opens a graphical onboarding hub showing integration status and connect links. Read-only.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "open_business_overview",
          "title": "Open business overview",
          "description": "ONE widget, two display modes: inline snapshot by default, fullscreen tabs (Cliente 360, Cerrar el día, Reposición de stock, Dashboard de ventas) on demand. Aggregates caja, payments, ventas, reportes, supplier, and customer reads.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "defaultTab": {
                "enum": [
                  "cliente_360",
                  "cierre_dia",
                  "reposicion_stock",
                  "dashboard_ventas"
                ],
                "type": "string",
                "description": "Optional fullscreen tab to open into."
              },
              "customerName": {
                "type": "string",
                "description": "Optional customer name to pre-search on the Cliente 360 tab."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "open_shipment_prep",
          "title": "Open shipment prep",
          "description": "Combines catalog stock/weight data and a live shipping quote into one widget — resolves items, computes total weight, and quotes couriers. Read-only, side-effect-free.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "items",
              "originPostalCode",
              "destinationPostalCode"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "productId",
                    "quantity"
                  ],
                  "properties": {
                    "quantity": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "description": "Units.",
                      "exclusiveMinimum": 0
                    },
                    "productId": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Product ID."
                    }
                  }
                },
                "minItems": 1,
                "description": "Line items to prepare for shipment."
              },
              "declaredValue": {
                "type": "number",
                "minimum": 0,
                "description": "Declared value in ARS for insurance."
              },
              "originPostalCode": {
                "type": "string",
                "description": "Origin postal code (4 digits)."
              },
              "destinationPostalCode": {
                "type": "string",
                "description": "Destination postal code (4 digits)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "DEMO MODE — this is a free, public, always-on demo of the Velora MCP toolkit, not the production server (which is paused). Pure tools (validate_cuit) run real logic. Read tools return a fixed, fictional dataset ('Almacén Demo SRL'), always labeled [DEMO] with _demo: true in structuredContent — never confuse this for real business data. Tools with a real side effect in production (fiscal emission, payments, WhatsApp sends, database writes) refuse to execute here and return isError: true with an honest explanation instead of a fabricated result — the schema and contract shown are the real production ones. See https://github.com/crossi-dev/velora-mcp-demo for source."
  },
  "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."
}