{
  "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": "mcp.gyotakuprotocol.com",
    "site": "gyotakuprotocol.com",
    "addresses": [
      {
        "address": "172.67.129.132",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "104.21.2.177",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:3035::6815:2b1",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:3032::ac43:8184",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.129.132",
          "104.21.2.177",
          "2606:4700:3035::6815:2b1",
          "2606:4700:3032::ac43:8184"
        ],
        "first_seen": "2026-11-23T16:43:03.908Z",
        "last_seen": "2026-11-23T16:43:03.908Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.21.2.177",
          "172.67.129.132",
          "2606:4700:3032::ac43:8184",
          "2606:4700:3035::6815:2b1"
        ],
        "first_seen": "2026-11-22T16:42:02.988Z",
        "last_seen": "2026-11-22T16:42:02.988Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "GYOTAK Fish Market",
      "version": "1.0.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.thaifishsashimicatalog",
      "total": 0,
      "sample": []
    },
    "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": "16938",
    "server_name": "com.thaifishsashimicatalog/fish-market",
    "url": "https://mcp.gyotakuprotocol.com/mcp",
    "host": "mcp.gyotakuprotocol.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T16:43:03.908Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "106542126e877eca9e320c595f356e4089ba68ff123b8fbe7110815419061887",
    "first_listed_at": "2026-11-21T11:22:02.256Z",
    "created_at": "2026-11-21T06:55:03.963Z",
    "resolved_addresses": [
      "172.67.129.132",
      "104.21.2.177",
      "2606:4700:3035::6815:2b1",
      "2606:4700:3032::ac43:8184"
    ]
  },
  "server": {
    "name": "com.thaifishsashimicatalog/fish-market",
    "title": "GYOTAK Fish Market",
    "description": "Sashimi-grade flash-frozen fish from Thailand. Catalog, ordering, and on-chain traceability.",
    "version": "1.1.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://gyotak-thailand.pages.dev",
    "published_at": "2026-10-04T08:16:43.136Z",
    "updated_at": "2026-10-04T08:16:43.136Z",
    "first_seen": "2026-11-21T06:55:03.192Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "trades"
    ],
    "evm_addresses": [],
    "chains": [
      "base"
    ],
    "tokens": [
      "USDC"
    ],
    "computed_at": "2026-11-22T15:23:07.337Z"
  },
  "operator": {
    "key": "gyotakuprotocol.com",
    "name": "gyotakuprotocol.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 511,
    "first_check_in_window": "2026-11-21T11:22:02.256Z",
    "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": "106542126e877eca9e320c595f356e4089ba68ff123b8fbe7110815419061887",
    "tools": 24,
    "resources": 3,
    "prompts": 3,
    "first_seen": "2026-11-21T11:22:02.692Z",
    "tool_names": [
      "get_catalog",
      "search_fish",
      "get_contact_info",
      "get_catch_reports",
      "place_order",
      "get_order_history",
      "my_orders",
      "verify_catch",
      "verify_temp",
      "get_komon_records",
      "verify_komon",
      "ask_gyotak",
      "contact_gyotak",
      "check_reply",
      "register_customer",
      "recover_customer_key",
      "apply_referrer",
      "my_referrals",
      "get_share_kit",
      "verify_purchase",
      "report_share",
      "claim_purchase_proof",
      "register_payout",
      "claim_stay_proof"
    ],
    "declared": {
      "tools": [
        {
          "name": "get_catalog",
          "title": "Fish catalog",
          "description": "Get GYOTAK's full fish catalog with real-time availability, retail prices (THB/kg), freshness tiers, and traceability records. Retail prices are always included. For registered chat customers, pass customerKey (gyotak_cus_...) to show wholesale pricing and let them order with their saved details. For LINE VIP customers, pass lineUserId. Delivery is available within Thailand only. International addresses are not accepted.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "lineUserId": {
                "type": "string",
                "description": "LINE user ID for VIP pricing (optional)"
              },
              "customerKey": {
                "type": "string",
                "description": "GYOTAK customerKey (gyotak_cus_...) for registered chat customers — identifies the customer, shows wholesale pricing and lets them order with their saved details (optional)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "items"
            ],
            "properties": {
              "vip": {
                "type": "object",
                "required": [
                  "companyName"
                ],
                "properties": {
                  "orderMode": {
                    "enum": [
                      "view_only",
                      "line_order_page",
                      "chat"
                    ],
                    "type": "string",
                    "description": "LINE VIP order-page catalog: catalog browsing only / order from the LINE VIP order page / order in this chat"
                  },
                  "companyName": {
                    "type": "string"
                  },
                  "tierPricing": {
                    "type": "boolean",
                    "description": "true when shown as \"tier pricing applied\""
                  },
                  "shippingZone": {
                    "type": "string",
                    "description": "\"0\" = local (free), otherwise the zone number shown"
                  }
                },
                "description": "Customer line shown for a registered customer"
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "fishName",
                    "weightKg"
                  ],
                  "properties": {
                    "days": {
                      "type": "integer",
                      "description": "Days tier shown next to the tier (LINE VIP order-page catalog only)"
                    },
                    "tier": {
                      "type": "string",
                      "description": "Fresh / Tier1 / Tier2, or \"all\" for lines listed as [all tiers]"
                    },
                    "bands": {
                      "type": "object",
                      "description": "Packs per weight band, as listed under 📦",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    },
                    "label": {
                      "type": "string",
                      "description": "Card label shown in parentheses (LINE VIP order-page catalog only)"
                    },
                    "packs": {
                      "type": "integer",
                      "description": "Stock packs as shown"
                    },
                    "status": {
                      "type": "string",
                      "description": "Cut / preparation as shown"
                    },
                    "onchain": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "network",
                          "url"
                        ],
                        "properties": {
                          "url": {
                            "type": "string"
                          },
                          "tier": {
                            "type": "string"
                          },
                          "network": {
                            "type": "string"
                          },
                          "moreRecords": {
                            "type": "integer"
                          }
                        }
                      },
                      "description": "Midnight on-chain links as listed"
                    },
                    "orderAs": {
                      "type": "object",
                      "required": [
                        "status",
                        "tier"
                      ],
                      "properties": {
                        "tier": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        }
                      },
                      "description": "Status and tier to pass to place_order, as shown after →"
                    },
                    "section": {
                      "type": "string",
                      "description": "Section heading (LINE VIP order-page catalog only)"
                    },
                    "fishName": {
                      "type": "string"
                    },
                    "thaiName": {
                      "type": "string"
                    },
                    "weightKg": {
                      "type": "number",
                      "description": "Stock weight as shown (kg, one decimal)"
                    },
                    "preferred": {
                      "type": "boolean",
                      "description": "true when marked ★ (preferred fish)"
                    },
                    "orderUpToKg": {
                      "type": "number",
                      "description": "Shown as \"order up to …kg\"; 0 when shown as \"cannot be ordered by kg right now\""
                    },
                    "catchRecords": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "photoAt"
                        ],
                        "properties": {
                          "blogUrl": {
                            "type": "string"
                          },
                          "photoAt": {
                            "type": "string"
                          },
                          "location": {
                            "type": "string"
                          }
                        }
                      },
                      "description": "Up to 3 catch records as listed"
                    },
                    "priceThbPerKg": {
                      "type": "number",
                      "description": "Price shown for this line (THB/kg). Retail for anonymous callers, the customer's own price when vip is present"
                    },
                    "priceOnRequest": {
                      "type": "boolean",
                      "description": "true when the line shows \"price on request\""
                    },
                    "catchRecordCount": {
                      "type": "integer",
                      "description": "Number of catch records in the traceability line"
                    }
                  },
                  "description": "One line of the catalog text"
                },
                "description": "Catalog lines in the order shown (empty when no stock)"
              },
              "catalog": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "Used by the catalog widget (on-chain provenance per item)"
              },
              "nextActions": {
                "type": "array",
                "description": "Used by the catalog widget (buttons)"
              },
              "customerContext": {
                "type": "object",
                "description": "Used by the catalog widget"
              }
            }
          },
          "annotations": {
            "title": "Fish catalog",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_fish",
          "title": "Search fish",
          "description": "Search fish by name (Japanese, Thai, or English). Provide lineUserId to include VIP tier pricing.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "query": {
                "type": "string",
                "description": "Fish name to search for"
              },
              "lineUserId": {
                "type": "string",
                "description": "LINE user ID for VIP pricing (optional)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "query",
              "results"
            ],
            "properties": {
              "query": {
                "type": "string"
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "fishName",
                    "tier",
                    "status",
                    "weightKg",
                    "packs"
                  ],
                  "properties": {
                    "tier": {
                      "type": "string"
                    },
                    "packs": {
                      "type": "integer"
                    },
                    "status": {
                      "type": "string"
                    },
                    "fishName": {
                      "type": "string"
                    },
                    "thaiName": {
                      "type": "string"
                    },
                    "weightKg": {
                      "type": "number"
                    },
                    "priceThbPerKg": {
                      "type": "number",
                      "description": "VIP price (only shown for VIP callers)"
                    }
                  }
                }
              },
              "vipCompanyName": {
                "type": "string",
                "description": "Shown as (VIP: …) when VIP pricing is applied"
              }
            }
          },
          "annotations": {
            "title": "Search fish",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_contact_info",
          "title": "How to buy / contact",
          "description": "Get the two ways to buy from GYOTAK, with the contact details for each: retail (order here through place_order, or browse the web shop) and B2B wholesale for restaurants and businesses (LINE @284ezjvm, tier pricing, application required). Call this when the user asks how to buy, how to open a wholesale account, or how to reach GYOTAK. Takes no arguments and returns static text — for product availability or prices use get_catalog, and for other questions use ask_gyotak.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {}
          },
          "annotations": {
            "title": "How to buy / contact",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_catch_reports",
          "title": "Catch records",
          "description": "Get catch records by date or freshness tier. Returns the catch date, the region (district name), the blog post URL when published (records whose blog post is not published yet are included, without a blog URL) and, for records registered on the Midnight blockchain, a verify link per batch. Exact GPS coordinates are never returned: on v3 records the exact position is not on the chain (only a commitment to it); the district name is a label set by GYOTAK. GYOTAK checks the region range when recording, but the range used is not part of the record, so a third party cannot confirm it from the chain; GYOTAK can disclose the position of a record individually. In-stock products reference these records by date. To check a record on-chain without trusting GYOTAK, open its verify link, or call verify_catch with network \"mainnet\", the v3 contract address given in the response and the batch ID.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "date": {
                "type": "string",
                "description": "YYYY-MM-DD format. Returns records for that specific date."
              },
              "tier": {
                "enum": [
                  "fresh",
                  "tier1",
                  "tier2"
                ],
                "type": "string",
                "description": "Freshness tier: fresh=last 30 days, tier1=31-60 days, tier2=61-90 days"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "count",
              "reports"
            ],
            "properties": {
              "count": {
                "type": "integer"
              },
              "limit": {
                "type": "integer",
                "description": "Present when only the most recent records are shown"
              },
              "reports": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "date",
                    "createdAt",
                    "location",
                    "onchain"
                  ],
                  "properties": {
                    "date": {
                      "type": "string"
                    },
                    "blogUrl": {
                      "type": "string"
                    },
                    "onchain": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "batchId",
                          "scheme"
                        ],
                        "properties": {
                          "scheme": {
                            "enum": [
                              "v3",
                              "legacy",
                              "out_of_scope"
                            ],
                            "type": "string"
                          },
                          "batchId": {
                            "type": "string"
                          },
                          "verifyUrl": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "location": {
                      "type": "string",
                      "description": "District name (or \"Unknown\")"
                    },
                    "createdAt": {
                      "type": "string"
                    }
                  }
                }
              },
              "verifyCatchContract": {
                "type": "object",
                "required": [
                  "network",
                  "contractAddress"
                ],
                "properties": {
                  "network": {
                    "type": "string"
                  },
                  "contractAddress": {
                    "type": "string"
                  }
                },
                "description": "Arguments for verify_catch on v3 records"
              }
            }
          },
          "annotations": {
            "title": "Catch records",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "place_order",
          "title": "Place order",
          "description": "Place an order. Two modes: (A) Guest retail: provide customerName, phone, items array, and a delivery address — shippingAddress, shippingProvince and email are all required, and an order missing any of them is rejected. Guest orders are priced at tier-linked retail rates (server-calculated) and the total is final at this point; a confirmation email with a PromptPay QR follows. Without customerKey or a personal token URL connection, every order creates a new customer with a new customerKey, even when the email was used before (orders are never linked to an existing customer by email); the new key is returned in the response and the confirmation email — tell the user to save it. Inventory is NOT deducted — orders go to the pick queue for staff fulfillment. Delivery is available within Thailand only, so the province must be a Thai one. International addresses are not accepted. (B) LINE VIP customer connected through a personal token URL (get_catalog says ordering is available in this chat): send vipItems only — one entry per item, with fishName, status and tier exactly as get_catalog shows them and the quantity in the form get_catalog gives for that item (bands, packs or kg). The server calculates prices, shipping and the total; the total is an estimate, billing is by invoice after picking, and no payment is taken now. Call with dryRun: true first, show the user the lines and the estimate, and place the order only after the user confirms.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "lang": {
                "enum": [
                  "ja",
                  "en",
                  "th"
                ],
                "type": "string",
                "description": "(Guest mode, optional) Language of the confirmation email. Defaults to en."
              },
              "memo": {
                "type": "string",
                "description": "(Optional) Order notes"
              },
              "email": {
                "type": "string",
                "description": "(Guest mode) Email address for the order confirmation — required for guest orders"
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "fishName",
                    "tier",
                    "band",
                    "qty"
                  ],
                  "properties": {
                    "qty": {
                      "type": "number",
                      "description": "Number of packs"
                    },
                    "band": {
                      "type": "string",
                      "description": "Weight band (e.g. \"140-180g\")"
                    },
                    "tier": {
                      "enum": [
                        "Fresh",
                        "Tier1",
                        "Tier2"
                      ],
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "description": "Cut / preparation of the fish (e.g. \"sashimi fillet\"). Pass the status shown for this fish in get_catalog, verbatim. Optional: when omitted the server fills it in from stock, and asks which one if more than one cut is available."
                    },
                    "fishName": {
                      "type": "string"
                    }
                  }
                },
                "description": "(Guest mode) Order items"
              },
              "phone": {
                "type": "string",
                "description": "(Guest mode) Contact phone number"
              },
              "dryRun": {
                "type": "boolean",
                "description": "(LINE VIP mode only) true = return the lines and the estimated total without placing the order"
              },
              "vipItems": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "fishName",
                    "status",
                    "tier"
                  ],
                  "properties": {
                    "kg": {
                      "type": "number",
                      "description": "Kilograms in steps of 0.5, or exactly the stock shown — only for items ordered by kg"
                    },
                    "tier": {
                      "enum": [
                        "Fresh",
                        "Tier1",
                        "Tier2",
                        "All"
                      ],
                      "type": "string",
                      "description": "As shown in get_catalog (All for cooking, prepared and whole cooking items)"
                    },
                    "bands": {
                      "type": "object",
                      "description": "Packs per weight band, e.g. {\"140-180g\": 3} — only for items get_catalog marks as ordered by bands",
                      "additionalProperties": {
                        "type": "number"
                      }
                    },
                    "packs": {
                      "type": "number",
                      "description": "Total packs — only for items ordered by packs"
                    },
                    "status": {
                      "type": "string",
                      "description": "As shown in get_catalog for this item"
                    },
                    "fishName": {
                      "type": "string"
                    }
                  }
                },
                "description": "(LINE VIP mode only) Order lines for a LINE VIP customer connected through a personal token URL. Ignored in other modes."
              },
              "referrerId": {
                "type": "string",
                "description": "(Optional) Referrer ID for tracking"
              },
              "customerKey": {
                "type": "string",
                "description": "(Guest mode) Registered customer key (from register_customer). Resolves name/phone/shipping automatically. If you are connected through a personal token URL the customer is already resolved: send items[] alone and omit this, customerName and phone."
              },
              "customerName": {
                "type": "string",
                "description": "(Guest mode) Customer name"
              },
              "shippingAddress": {
                "type": "string",
                "description": "(Guest mode) Street address and building name — required for guest orders"
              },
              "shippingDistrict": {
                "type": "string",
                "description": "(Guest mode) Hua Hin / Pranburi 等の地元配達判定に必須。住所に含まれていれば自動判定するが、明示推奨 / District name. Required to detect local (free) delivery for Hua Hin / Pranburi. Auto-detected from shippingAddress when present, but explicit value recommended."
              },
              "shippingProvince": {
                "type": "string",
                "description": "(Guest mode) Thai province name, used for shipping cost — required for guest orders. Thailand only."
              }
            }
          },
          "annotations": {
            "title": "Place order",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "get_order_history",
          "title": "VIP order history",
          "description": "Get B2B order history (last 20 orders). Requires lineUserId of a registered VIP customer.",
          "inputSchema": {
            "type": "object",
            "required": [
              "lineUserId"
            ],
            "properties": {
              "lineUserId": {
                "type": "string",
                "description": "LINE user ID of the VIP customer"
              }
            }
          },
          "annotations": {
            "title": "VIP order history",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "my_orders",
          "title": "My orders (LINE VIP)",
          "description": "Order history of a LINE VIP customer connected through their personal token URL (gyk_…). No arguments needed — the customer is the owner of this connection. Lists each order (and each invoice not tied to an order) with its date, status (paid / unpaid / overdue / cancelled / awaiting picking / awaiting invoice), the invoice total and due date when an invoice exists, and the items with requested kg → actual kg from the invoice. Invoices and receipts are not linked in the text: the user opens them from the buttons in the catalog widget (Orders tab). Chat-registered customers cannot list orders here; the Receipt button in their widget calls this tool with document=receipt and ref=<order id> to get a 15-minute receipt link for a paid order. Not for guests.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "ref": {
                "type": "string",
                "description": "Used only by the widget buttons (an order or invoice id from this tool's result)."
              },
              "document": {
                "enum": [
                  "invoice",
                  "receipt"
                ],
                "type": "string",
                "description": "Used only by the widget buttons. Do not set it when the user asks for their orders."
              }
            }
          },
          "annotations": {
            "title": "My orders (LINE VIP)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "verify_catch",
          "title": "Verify catch record on chain",
          "description": "Verify a GYOTAK catch record DIRECTLY from the Midnight blockchain. Reads on-chain state and returns the raw hex plus decoded fields for independent verification. Unlike get_catch_reports (GYOTAK's own list of records: date, district and verify links, never GPS), this lets you verify without trusting GYOTAK. The exact position is not on the chain (only a commitment to it). The region name is a label set by GYOTAK. GYOTAK checks the region range when recording, but the range used is not part of the record, so a third party cannot confirm it from the chain. Supports both preprod and mainnet. batchId also accepts several IDs separated by commas: they are all checked against a single fetch of the contract state, and the response lists found/not-found per ID.",
          "inputSchema": {
            "type": "object",
            "required": [
              "contractAddress"
            ],
            "properties": {
              "batchId": {
                "type": "string",
                "description": "Filter to a specific catch record by batchId (e.g. \"CR-20261021-37b2b7be\"). Omit to return all records in the contract."
              },
              "network": {
                "enum": [
                  "preprod",
                  "mainnet"
                ],
                "type": "string",
                "description": "Midnight network (default: mainnet)"
              },
              "contractAddress": {
                "type": "string",
                "description": "Midnight contract address (64-char hex). Example: bc33d8c05852decd4ef183201a8a9f3c25eabaa46a81786f306b95397ed118ab"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Same text as content when the input or the lookup failed"
              },
              "found": {
                "type": "boolean"
              },
              "source": {
                "type": "object",
                "required": [
                  "indexer_url",
                  "contract_address",
                  "network"
                ],
                "properties": {
                  "network": {
                    "type": "string"
                  },
                  "tx_hash": {
                    "type": "string"
                  },
                  "indexer_url": {
                    "type": "string"
                  },
                  "block_height": {
                    "type": "integer"
                  },
                  "contract_address": {
                    "type": "string"
                  }
                },
                "description": "Where the on-chain state was read from"
              },
              "message": {
                "type": "string",
                "description": "Same text as content when there is nothing to show"
              },
              "records": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "All catch records (no batchId given)"
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "batch_id",
                    "found"
                  ],
                  "properties": {
                    "found": {
                      "type": "boolean"
                    },
                    "decoded": {
                      "type": "object"
                    },
                    "offsets": {
                      "type": "array",
                      "items": {
                        "type": "integer"
                      }
                    },
                    "batch_id": {
                      "type": "string"
                    },
                    "window_hex": {
                      "type": "string"
                    }
                  }
                },
                "description": "Several batch IDs"
              },
              "raw_state": {
                "type": "string"
              },
              "match_type": {
                "type": "string"
              },
              "occurrences": {
                "type": "integer"
              },
              "verify_urls": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "match_offsets": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "offset": {
                      "type": "integer"
                    },
                    "window_hex": {
                      "type": "string"
                    },
                    "window_start": {
                      "type": "integer"
                    }
                  }
                }
              },
              "batchId_queried": {
                "type": "string"
              },
              "gps_recoverable": {
                "type": "boolean"
              },
              "customer_summary": {
                "type": "string"
              },
              "raw_state_sha256": {
                "type": "string"
              },
              "tentative_records": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              },
              "verification_note": {
                "type": "string"
              },
              "presentation_guidance": {
                "type": "string"
              },
              "raw_state_length_bytes": {
                "type": "integer"
              },
              "tentative_records_note": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Verify catch record on chain",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "verify_temp",
          "title": "Verify storage temperatures on chain",
          "description": "Verify GYOTAK cold-chain storage temperatures DIRECTLY from the Midnight blockchain. Reads on-chain state and returns decoded hourly temperature records per freezer for independent verification. Unlike the dashboard (which reads from GYOTAK's D1 database), this lets you verify without trusting GYOTAK. Each value is the HOURLY AVERAGE committed on-chain; it does not prove the temperature stayed within any limit at every moment in that hour. Supports both preprod and mainnet.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "network": {
                "enum": [
                  "preprod",
                  "mainnet"
                ],
                "type": "string",
                "description": "Midnight network (default: mainnet)"
              },
              "freezerId": {
                "type": "number",
                "description": "Filter to a specific freezer by ID. Omit to return all freezers."
              },
              "hourStartUtc": {
                "type": "string",
                "description": "Filter to a specific hour (e.g. \"2026-07-09 11:00:00\"). Omit to return all hours."
              },
              "contractAddress": {
                "type": "string",
                "description": "Midnight temp-log contract address (64-char hex). Default: mainnet production contract."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Same text as content when the input or the lookup failed"
              },
              "source": {
                "type": "object",
                "required": [
                  "indexer_url",
                  "contract_address",
                  "network"
                ],
                "properties": {
                  "network": {
                    "type": "string"
                  },
                  "tx_hash": {
                    "type": "string"
                  },
                  "indexer_url": {
                    "type": "string"
                  },
                  "block_height": {
                    "type": "integer"
                  },
                  "contract_address": {
                    "type": "string"
                  }
                },
                "description": "Where the on-chain state was read from"
              },
              "message": {
                "type": "string",
                "description": "Same text as content when there is nothing to show"
              },
              "freezers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "freezerId",
                    "records"
                  ],
                  "properties": {
                    "records": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "hourStartUtc",
                          "avgTempC"
                        ],
                        "properties": {
                          "avgTempC": {
                            "type": "number"
                          },
                          "hourStartUtc": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "freezerId": {
                      "type": "integer"
                    }
                  }
                }
              },
              "total_records": {
                "type": "integer"
              },
              "verification_note": {
                "type": "string"
              },
              "availableFreezerIds": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "description": "Listed when the filter matched nothing"
              }
            }
          },
          "annotations": {
            "title": "Verify storage temperatures on chain",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_komon_records",
          "title": "KOMON records",
          "description": "Get GYOTAK KOMON physical authentication records from the database. Each record represents a PUF (physically unclonable function) registration with minutiae extraction and on-chain commitment. Shielded records do not expose GPS.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "status": {
                "enum": [
                  "pending",
                  "live"
                ],
                "type": "string",
                "description": "Filter by status (default: all non-test)"
              }
            }
          },
          "annotations": {
            "title": "KOMON records",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "verify_komon",
          "title": "Verify KOMON record on chain",
          "description": "Verify a GYOTAK KOMON record directly from the Midnight blockchain. Reads on-chain state and returns the raw hex plus decoded fields for independent verification. Unlike get_komon_records (which returns GYOTAK's database), this reads directly from the chain. Shielded records do not put the GPS coordinates on the chain, only a hash of them (gpsHash); the region is a label set by GYOTAK. GYOTAK checks the region range when recording, but the range used is not stored in the record, so the region cannot be confirmed from the chain. Currently preprod only.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "komonId": {
                "type": "string",
                "description": "Filter to a specific komon record by ID. Omit to return all records."
              },
              "network": {
                "enum": [
                  "preprod",
                  "mainnet"
                ],
                "type": "string",
                "description": "Midnight network (default: preprod)"
              },
              "contractAddress": {
                "type": "string",
                "description": "Midnight komon contract address (64-char hex)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Same text as content when the input or the lookup failed"
              },
              "source": {
                "type": "object",
                "required": [
                  "indexer_url",
                  "contract_address",
                  "network"
                ],
                "properties": {
                  "network": {
                    "type": "string"
                  },
                  "tx_hash": {
                    "type": "string"
                  },
                  "indexer_url": {
                    "type": "string"
                  },
                  "block_height": {
                    "type": "integer"
                  },
                  "contract_address": {
                    "type": "string"
                  }
                },
                "description": "Where the on-chain state was read from"
              },
              "message": {
                "type": "string",
                "description": "Same text as content when there is nothing to show"
              },
              "records": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "komonId"
                  ],
                  "properties": {
                    "lat": {
                      "type": "number"
                    },
                    "lng": {
                      "type": "number"
                    },
                    "region": {
                      "type": "string"
                    },
                    "gpsHash": {
                      "type": "string"
                    },
                    "komonId": {
                      "type": "string"
                    },
                    "photoHash": {
                      "type": "string"
                    },
                    "committedAt": {
                      "type": "number"
                    },
                    "komonCommit": {
                      "type": "string"
                    },
                    "privacyMode": {
                      "type": "string"
                    }
                  }
                }
              },
              "raw_state": {
                "type": "string"
              },
              "gps_recoverable": {
                "type": "boolean"
              },
              "availableKomonIds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Listed when no record matched komonId"
              },
              "verification_note": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Verify KOMON record on chain",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "ask_gyotak",
          "title": "Search FAQ",
          "description": "Search GYOTAK FAQ for answers about shipping, payment, products, defrosting, traceability, B2B registration, etc. Returns top matching FAQ entries. If no match, suggest using contact_gyotak to escalate.",
          "inputSchema": {
            "type": "object",
            "required": [
              "question"
            ],
            "properties": {
              "question": {
                "type": "string",
                "description": "Question text (any language)"
              }
            }
          },
          "annotations": {
            "title": "Search FAQ",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contact_gyotak",
          "title": "Message GYOTAK staff",
          "description": "Submit a question to GYOTAK staff when FAQ does not have the answer. Staff will reply via Discord. Use check_reply to retrieve the response later.",
          "inputSchema": {
            "type": "object",
            "required": [
              "question"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Your name (optional)"
              },
              "question": {
                "type": "string",
                "description": "Question to ask GYOTAK staff"
              }
            }
          },
          "annotations": {
            "title": "Message GYOTAK staff",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "check_reply",
          "title": "Check staff reply",
          "description": "Check if GYOTAK staff has replied to a previously submitted inquiry.",
          "inputSchema": {
            "type": "object",
            "required": [
              "inquiryId"
            ],
            "properties": {
              "inquiryId": {
                "type": "string",
                "description": "Inquiry ID (e.g. \"INQ-042\")"
              }
            }
          },
          "annotations": {
            "title": "Check staff reply",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "register_customer",
          "title": "Register customer",
          "description": "Register as a GYOTAK customer. Collect name, phone, address, email, and customer type (Retail or Wholesale) via conversation BEFORE calling this tool. Returns a customerKey for future orders.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name",
              "phone",
              "address",
              "customerType"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Full name (English)"
              },
              "email": {
                "type": "string",
                "description": "Email address (optional)"
              },
              "phone": {
                "type": "string",
                "description": "Contact phone number"
              },
              "address": {
                "type": "string",
                "description": "Shipping address"
              },
              "customerType": {
                "enum": [
                  "Retail",
                  "Wholesale"
                ],
                "type": "string",
                "description": "Customer type: Retail (consumer) or Wholesale (business)"
              }
            }
          },
          "annotations": {
            "title": "Register customer",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "recover_customer_key",
          "title": "Find a lost customerKey",
          "description": "Explains where a lost customerKey can be found: a key issued with an order is written in the order confirmation email sent to the registered address (each order placed without a key has its own key). For keys that cannot be found there, it points to contact_gyotak. This tool does not look up, verify or send anything.",
          "inputSchema": {
            "type": "object",
            "required": [
              "phone"
            ],
            "properties": {
              "phone": {
                "type": "string",
                "description": "Phone number used at registration"
              }
            }
          },
          "annotations": {
            "title": "Find a lost customerKey",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "apply_referrer",
          "title": "My referral URL",
          "description": "Look up your GYOTAK referral MCP URL. The URL is issued automatically when the payment for your first chat order is confirmed and is included in the payment confirmation email; call this to see it again. If you have a paid order but no URL yet, one is issued now. Referrers earn 5% of the product subtotal on paid orders placed through their URL. If you are connected through a personal token URL, omit customerKey.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "name": {
                "type": "string",
                "description": "Referrer display name — optional, defaults to your registered name"
              },
              "contact": {
                "type": "string",
                "description": "Contact (email, LINE ID, etc.) — optional"
              },
              "customerKey": {
                "type": "string",
                "description": "Your customerKey (gyotak_cus_...). Omit when connected through a personal token URL."
              }
            }
          },
          "annotations": {
            "title": "My referral URL",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "my_referrals",
          "title": "Referral summary",
          "description": "Show your referral summary as a GYOTAK referrer: your referral URL, number of referred orders (paid / unpaid), this month's estimated commission, unpaid balance, payout destination status, and the last 5 paid referred orders (order number, date, subtotal, commission — no buyer details). Only works for the customer of this connection; if you are connected through a personal token URL, omit customerKey.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "customerKey": {
                "type": "string",
                "description": "Your customerKey (gyotak_cus_...). Omit when connected through a personal token URL."
              }
            }
          },
          "annotations": {
            "title": "Referral summary",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_share_kit",
          "title": "Share post kit",
          "description": "Get the facts and constraints for writing a social media post about GYOTAK with the caller's referral URL: order facts, fish photo URLs, verification page URLs of the caller's stamped purchase proofs, allowed and forbidden claims, and the required referral disclosure. The wording is up to the user and their assistant. Call this again each time the user asks for a post; do not reuse a previous result.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "customerKey": {
                "type": "string",
                "description": "Your customerKey (gyotak_cus_...). Omit when connected through a personal token URL."
              },
              "includePhotos": {
                "type": "boolean",
                "description": "Set true only if the user wants to attach a photo they take themselves with a blockchain capture record. Returns photo_capture_url and the list of recorded photos."
              }
            }
          },
          "annotations": {
            "title": "Share post kit",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "verify_purchase",
          "title": "Purchase proof and trace",
          "description": "Show a purchase proof and trace it: purchase → catch → storage temperature. Use this when the customer asks to see what they bought, where it was caught or how it was stored. Pass the customerKey from this conversation, or a purchase ID (PB-…). Read-only; returns only stamped (on-chain) proofs, with the arguments for verify_catch and verify_temp.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "purchaseId": {
                "type": "string",
                "description": "Purchase ID (PB-YYYYMMDD-xxxxxxxx). Takes precedence over customerKey."
              },
              "customerKey": {
                "type": "string",
                "description": "Your customerKey (gyotak_cus_...). Omit when connected through a personal token URL."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Same text as content when the input or the lookup failed"
              },
              "message": {
                "type": "string",
                "description": "Same text as content when there is nothing to show"
              },
              "pending_stamp": {
                "type": "integer",
                "description": "Proofs of this customer still waiting to be stamped"
              },
              "older_not_shown": {
                "type": "integer",
                "description": "Older proofs not shown"
              },
              "purchase_proofs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "purchase_id",
                    "network",
                    "verify_url",
                    "items",
                    "lots",
                    "storage"
                  ],
                  "properties": {
                    "lots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "area": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "fish": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "catch_date": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "catch_batches": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "batch_id",
                                "verify_url"
                              ],
                              "properties": {
                                "batch_id": {
                                  "type": "string"
                                },
                                "verify_url": {
                                  "type": "string"
                                },
                                "verify_catch": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "batchId": {
                                      "type": "string"
                                    },
                                    "network": {
                                      "type": "string"
                                    },
                                    "contractAddress": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "missing_reason": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "catch_report_id": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "fish_of_the_day": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "storage_average_c": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "network": {
                      "type": "string"
                    },
                    "storage": {
                      "type": "object",
                      "properties": {
                        "note": {
                          "type": "string"
                        },
                        "stays": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "to": {
                                "type": "string"
                              },
                              "from": {
                                "type": "string"
                              },
                              "freezer_id": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "average_c": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "verify_temp": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "network": {
                                "type": "string"
                              },
                              "freezerId": {
                                "type": "integer"
                              },
                              "hourStartUtc": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "missing_reason": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    "corrected": {
                      "type": "boolean"
                    },
                    "order_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "verify_url": {
                      "type": "string"
                    },
                    "purchase_id": {
                      "type": "string"
                    },
                    "contract_address": {
                      "type": "string"
                    },
                    "test_customer_order": {
                      "type": "boolean"
                    }
                  },
                  "description": "Purchase proof traced to catch and storage"
                }
              }
            }
          },
          "annotations": {
            "title": "Purchase proof and trace",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "report_share",
          "title": "Report a share post",
          "description": "Report a social media post you published that recommends GYOTAK with your referral URL. Call this right after posting, with the platform and the public URL of the post. GYOTAK records it and later verifies that the post is public and contains the referral URL.",
          "inputSchema": {
            "type": "object",
            "required": [
              "platform",
              "post_url"
            ],
            "properties": {
              "platform": {
                "enum": [
                  "x",
                  "instagram",
                  "facebook",
                  "threads",
                  "line",
                  "other"
                ],
                "type": "string",
                "description": "Platform the post was published on"
              },
              "post_url": {
                "type": "string",
                "description": "Public https URL of the published post"
              },
              "customerKey": {
                "type": "string",
                "description": "Your customerKey (gyotak_cus_...). Omit when connected through a personal token URL."
              }
            }
          },
          "annotations": {
            "title": "Report a share post",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "claim_purchase_proof",
          "title": "Link purchase proofs to X account",
          "description": "Link your own purchases’ on-chain purchase proofs to your X (Twitter) account, so a post of yours can be checked against the chain. Buyer’s X account (self-declared): the buyer linked this purchase to their own X account; GYOTAK has not checked that the account belongs to the buyer. Each stamped purchase comes with the URL of its public verification page. Only works through a personal token URL connector — there is no customerKey argument. Called with no arguments it only lists the purchases that can be linked and links nothing, every time — pass handle to actually link. A link is stamped on chain and cannot be undone, so let the user pick the handle before you pass one. Automatic binding of future purchases is off by default: to turn it on, pass handle with auto_bind \"on\" — the first such call returns the consent text; show it to the user word for word (the text is in Japanese and English; show both), and only if they agree call again with consent true. Pass auto_bind \"off\" to stop it (no handle needed); only later purchases stop, anything already recorded stays.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "handle": {
                "type": "string",
                "description": "Your X handle without the leading @ (letters, digits and underscore, 1-15 characters). Required to link: a call without it only lists your purchases and links nothing, even if you linked before. Pass it on every link."
              },
              "consent": {
                "type": "boolean",
                "description": "Set true only when the user has read the consent text returned by an earlier auto_bind \"on\" call and agreed to it. Never set it on your own."
              },
              "auto_bind": {
                "enum": [
                  "on",
                  "off"
                ],
                "type": "string",
                "description": "Turn automatic binding of future purchases to your X handle on or off. \"on\" needs handle and consent. \"off\" needs nothing else. Omit to leave the setting as it is."
              },
              "purchase_id": {
                "type": "string",
                "description": "Link only this purchase (e.g. \"PB-20260917-a97953d3\"). Omit to link every purchase of yours that is not linked yet."
              }
            }
          },
          "annotations": {
            "title": "Link purchase proofs to X account",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "register_payout",
          "title": "Payout destination (email link)",
          "description": "Email the GYOTAK referrer a link to the form where they register where their commission should be sent: a Thai PromptPay QR (read inside the form, the image is never uploaded) or a stablecoin address (USDC on Base, or USDM on Cardano). Call this when the user wants to register, see, or change their payout destination. Returns the destination currently on file, masked, and the masked address the link was sent to. For security the form URL is never shown in the chat — the link goes only to the email address on file, so tell the user to open it from their email. Never ask the user to type the number or the wallet address into the chat.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "customerKey": {
                "type": "string",
                "description": "Your customerKey (gyotak_cus_...). Omit when connected through a personal token URL."
              }
            }
          },
          "annotations": {
            "title": "Payout destination (email link)",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "claim_stay_proof",
          "title": "Receive stay purchase proof",
          "description": "Receive a stay purchase proof (SB-… ID, from a stay booked and paid through a GYOTAKU Protocol store window) with its claim code, and link it to your GYOTAK referral account. Works only through your personal token URL. Optional: show_referral puts your referral URL for that stay on the public proof page; handle links your own X account to the proof on the public chain (permanent; it cannot be removed). Call again with the same code to change show_referral or add an X account.",
          "inputSchema": {
            "type": "object",
            "required": [
              "purchase_id",
              "claim_code"
            ],
            "properties": {
              "handle": {
                "type": "string",
                "description": "Your own X handle without @ (optional; recorded permanently on the public chain). Pass it only if the user explicitly asks."
              },
              "claim_code": {
                "type": "string",
                "description": "Claim code shown with the booking status (SC-...)"
              },
              "purchase_id": {
                "type": "string",
                "description": "Stay purchase proof ID, SB-YYYYMMDD-xxxxxxxx"
              },
              "show_referral": {
                "type": "boolean",
                "description": "Show your referral URL for this stay on the public proof page (default false)"
              }
            }
          },
          "annotations": {
            "title": "Receive stay purchase proof",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "GYOTAK カタログ",
          "uri": "ui://gyotak/catalog-view-v13",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Interactive fish catalog with tier filters, weight gauges, and on-chain status"
        },
        {
          "name": "GYOTAK 食べた写真",
          "uri": "ui://gyotak/share-photo-v3",
          "mimeType": "text/html;profile=mcp-app",
          "description": "SP-1 PoC: pick or capture a photo of the dish in the browser (nothing is uploaded)"
        },
        {
          "name": "GYOTAK 報酬の受取先",
          "uri": "ui://gyotak/payout-v3",
          "mimeType": "text/html;profile=mcp-app",
          "description": "RP-1: register a PromptPay QR (read in the browser) or a stablecoin address for referral payouts"
        }
      ],
      "prompts": [
        {
          "name": "todays_picks",
          "description": "Show today's recommended fish from the live catalog."
        },
        {
          "name": "verify_purchase_proof",
          "description": "Check a GYOTAK purchase proof from its ID or verification page URL.",
          "arguments": [
            {
              "name": "proof",
              "required": true,
              "description": "Purchase ID (PB-YYYYMMDD-xxxxxxxx) or the URL of its verification page"
            }
          ]
        },
        {
          "name": "order_flow",
          "description": "Explain step by step how to order from GYOTAK in this chat."
        }
      ]
    },
    "instructions": "GYOTAK sells sashimi-grade flash-frozen fish from Pranburi, Thailand. Delivery within Thailand only.\n- Start by checking stock: get_catalog for the full list, or search_fish to look up a fish by name.\n- Before place_order, show the user the items, quantities and total amount, and place the order only after the user confirms. For LINE VIP connections, call place_order with dryRun: true first.\n- Verification: verify_purchase shows a purchase proof (PB-… ID) and traces it to the catch and storage temperature, and returns the arguments for verify_catch and verify_temp. verify_catch, verify_temp and verify_komon read the Midnight blockchain directly; get_catch_reports gives the contract address and batch IDs for verify_catch.\n- For other questions use ask_gyotak; if the FAQ has no answer, use contact_gyotak."
  },
  "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."
}