{
  "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.xonta.ru",
    "site": "xonta.ru",
    "addresses": [
      {
        "address": "80.68.156.117",
        "endpoints": 3,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "80.68.156.117"
        ],
        "first_seen": "2026-11-21T19:33:01.532Z",
        "last_seen": "2026-11-22T22:46:02.340Z",
        "checks": 2
      }
    ],
    "hosting": [],
    "software": [
      {
        "value": "nginx",
        "evidence": "Server header \"nginx/1.24.0 (Ubuntu)\""
      }
    ],
    "server_info": {
      "name": "xonta-max",
      "version": "0.1.1",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "nginx/1.24.0 (Ubuntu)"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 2,
      "sample": [
        {
          "id": "33295",
          "url": "https://mcp.xonta.ru/mcp",
          "server_name": "io.github.mrsergeiluzhnov/xonta-docs",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T20:34:02.287Z"
        },
        {
          "id": "45936",
          "url": "https://mcp.xonta.ru/customs/mcp",
          "server_name": "ru.xonta/customs",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T22:45:06.569Z"
        }
      ]
    },
    "same_site": {
      "total": 2,
      "sample": [
        {
          "id": "33295",
          "url": "https://mcp.xonta.ru/mcp",
          "server_name": "io.github.mrsergeiluzhnov/xonta-docs",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T20:34:02.287Z"
        },
        {
          "id": "45936",
          "url": "https://mcp.xonta.ru/customs/mcp",
          "server_name": "ru.xonta/customs",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T22:45:06.569Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "ru.xonta",
      "total": 1,
      "sample": [
        {
          "name": "ru.xonta/customs",
          "title": "Xonta Customs RU"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/mrsergeiluzhnov/xonta-max-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": "45937",
    "server_name": "ru.xonta/max",
    "url": "https://mcp.xonta.ru/max/mcp",
    "host": "mcp.xonta.ru",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T22:46:02.340Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "5e79a226a0f2388783a4a47ac453fef26d376f0924547b6289554c64f6406074",
    "first_listed_at": "2026-11-21T19:33:01.532Z",
    "created_at": "2026-11-21T13:20:11.359Z",
    "resolved_addresses": [
      "80.68.156.117"
    ]
  },
  "server": {
    "name": "ru.xonta/max",
    "title": "Xonta MAX",
    "description": "MAX messenger bots and mini-apps in English or Russian: Bot API, code checks, Telegram migration",
    "version": "0.1.0",
    "registry_status": "active",
    "repository_url": "https://github.com/mrsergeiluzhnov/xonta-max-mcp",
    "website_url": "https://xonta.ru",
    "published_at": "2026-11-16T10:21:08.759Z",
    "updated_at": "2026-11-16T10:21:08.759Z",
    "first_seen": "2026-11-21T13:20:10.627Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "defi"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:59:15.708Z"
  },
  "operator": {
    "key": "xonta.ru",
    "name": "xonta.ru",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1476,
    "first_check_in_window": "2026-11-21T19:33:01.532Z",
    "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"
      }
    ]
  },
  "tool_list": {
    "sha256": "5e79a226a0f2388783a4a47ac453fef26d376f0924547b6289554c64f6406074",
    "tools": 20,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T19:33:03.001Z",
    "tool_names": [
      "max_api_reference",
      "max_endpoint_info",
      "max_limits",
      "max_changelog",
      "max_lint_code",
      "max_migrate_from_telegram",
      "max_scaffold_bot",
      "max_validate_message",
      "max_build_message",
      "max_split_text",
      "max_convert_formatting",
      "max_deeplink",
      "max_mock_update",
      "max_mock_init_data",
      "max_bridge_mock",
      "max_check_webhook_secret",
      "server_status",
      "max_tracking_links",
      "max_ad_report",
      "max_check_ad_post"
    ],
    "declared": {
      "tools": [
        {
          "name": "max_api_reference",
          "description": "Look up current facts about the MAX Bot API and Mini Apps (MAX Bridge) with links to dev.max.ru.\n\n    Covers base URL and auth, the Russian Trusted Root CA, advertising in MAX (topic 'ads'), webhooks vs long polling, sending messages,\n    inline keyboards and callbacks, formatting, uploads, chat tracking without GET /chats, mini-apps,\n    initData validation, deep links, who may create bots, official libraries. Language models usually know an\n    outdated API (platform-api.max.ru, token in query, GET /chats) — use this before writing MAX code.\n    With no arguments returns the list of topics.\n    ",
          "inputSchema": {
            "type": "object",
            "title": "max_api_referenceArguments",
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Query",
                "default": null,
                "description": "Free text in English or Russian, e.g. 'webhook certificate', 'callback answer', 'initData', 'GET /chats', 'attachment.not.ready'"
              },
              "topic": {
                "anyOf": [
                  {
                    "enum": [
                      "auth",
                      "tls",
                      "webhook",
                      "messages",
                      "keyboard",
                      "formatting",
                      "uploads",
                      "chats",
                      "mini_apps",
                      "init_data",
                      "deeplinks",
                      "access",
                      "libraries",
                      "ads",
                      "sources"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Topic",
                "default": null,
                "description": "Return one whole topic instead of searching"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_endpoint_info",
          "description": "Details of one MAX Bot API method (query params, body, limits, gotchas, docs link) or the full method list.\n\n    Also tells when a method was removed or restricted (GET /chats, POST /chats/{chatId}/members).\n    ",
          "inputSchema": {
            "type": "object",
            "title": "max_endpoint_infoArguments",
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "path": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Path",
                "default": null,
                "description": "Path like '/messages', '/chats/{chatId}/pin' or a concrete one '/chats/-123/pin'"
              },
              "verb": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Verb",
                "default": null,
                "description": "HTTP method: GET, POST, PUT, PATCH, DELETE. Omit to list all endpoints"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_limits",
          "description": "All MAX platform limits in one table: text length, rate limits, keyboard size, attachments, file sizes,\n    deep link payloads, webhook rules, bots per profile — each with a source link. Also update types, button types, errors.",
          "inputSchema": {
            "type": "object",
            "title": "max_limitsArguments",
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_changelog",
          "description": "Dated MAX platform changes in 2026 that break old code: host move to platform-api2, removed GET /chats,\n    restricted member adding, HTTPS-only webhooks, comments API, self-employed access.",
          "inputSchema": {
            "type": "object",
            "title": "max_changelogArguments",
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_lint_code",
          "description": "Check MAX bot or mini-app code for known mistakes, with line numbers and fixes.\n\n    Finds: old host platform-api.max.ru, token in query string, 'Bearer' prefix, disabled TLS verification,\n    removed GET /chats, restricted member adding, type=photo uploads, wrong webhook setup (port, HTTP, /webhook),\n    disable_link_preview in body, plain == comparison of the webhook secret, initData signed directly with the token,\n    trusting initDataUnsafe, hardcoded upload hosts, Telegram leftovers. Static, never runs the code.\n    ",
          "inputSchema": {
            "type": "object",
            "title": "max_lint_codeArguments",
            "required": [
              "code"
            ],
            "properties": {
              "code": {
                "type": "string",
                "title": "Code",
                "description": "Source code of a MAX bot or mini-app (any language), or a config / curl snippet"
              },
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_migrate_from_telegram",
          "description": "Plan a port of a Telegram bot or Web App to MAX.\n\n    With code: every Telegram API usage with line number and the MAX replacement, features with no MAX equivalent,\n    effort estimate and a step-by-step plan. Without code: the full Telegram → MAX method map.\n    ",
          "inputSchema": {
            "type": "object",
            "title": "max_migrate_from_telegramArguments",
            "properties": {
              "code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Code",
                "default": null,
                "description": "Telegram bot source (aiogram, python-telegram-bot, telebot, Telegraf, grammY, raw HTTP…). Omit to get only the method map"
              },
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_scaffold_bot",
          "description": "Generate a ready MAX bot project: polling for dev, webhook for prod, the Russian Trusted Root CA in the Dockerfile,\n    chat tracking without GET /chats, callback answers, constant-time secret check, rate limits and text splitting (Python).\n    lang sets the language of comments, README and the bot's replies.\n\n    Returns a map of file name → content. Write the files as they are. Creating the bot itself and getting a token\n    requires a verified profile on business.max.ru.\n    ",
          "inputSchema": {
            "type": "object",
            "title": "max_scaffold_botArguments",
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "language": {
                "enum": [
                  "python",
                  "typescript",
                  "go"
                ],
                "type": "string",
                "title": "Language",
                "default": "python",
                "description": "python (httpx, no official SDK), typescript (@maxhub/max-bot-api) or go (official client v2)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "max_validate_message",
          "description": "Validate a message body before sending to MAX: 4000-char text, format, keyboard limits (210/30/7, 3 per row\n    with link/open_app/request_*), button fields and lengths, attachment combinations (≤12 media, file only with a keyboard,\n    audio/sticker/contact alone), comment restrictions, Telegram fields left in the body.",
          "inputSchema": {
            "type": "object",
            "title": "max_validate_messageArguments",
            "required": [
              "body"
            ],
            "properties": {
              "body": {
                "type": "object",
                "title": "Body",
                "description": "NewMessageBody JSON: {text, format, attachments, link, notify}",
                "additionalProperties": true
              },
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "target": {
                "enum": [
                  "message",
                  "comment"
                ],
                "type": "string",
                "title": "Target",
                "default": "message",
                "description": "message — POST /messages, comment — POST /messages/{id}/comments"
              },
              "chat_type": {
                "anyOf": [
                  {
                    "enum": [
                      "dialog",
                      "chat",
                      "channel"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Chat Type",
                "default": null,
                "description": "Where it goes, for channel-specific rules"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_build_message",
          "description": "Build a correct POST /messages request for MAX: JSON body with inline keyboard and images, validation result\n    and a ready curl command. Use it instead of hand-writing keyboard JSON.",
          "inputSchema": {
            "type": "object",
            "title": "max_build_messageArguments",
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Text",
                "default": null,
                "description": "Message text, up to 4000 characters"
              },
              "format": {
                "anyOf": [
                  {
                    "enum": [
                      "markdown",
                      "html"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Format",
                "default": null,
                "description": "Text markup"
              },
              "buttons": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Buttons",
                "default": null,
                "description": "Rows of buttons. Short form: {text, payload} → callback, {text, url} → link, {text, web_app, payload?} → open_app; or full {type, text, ...}"
              },
              "chat_id": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Chat Id",
                "default": null,
                "description": "For the curl example"
              },
              "user_id": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "User Id",
                "default": null,
                "description": "For the curl example, private dialog"
              },
              "image_urls": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Image Urls",
                "default": null,
                "description": "External image URLs to attach without uploading"
              },
              "reply_to_mid": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Reply To Mid",
                "default": null,
                "description": "Reply to this message id"
              },
              "disable_link_preview": {
                "type": "boolean",
                "title": "Disable Link Preview",
                "default": false
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_split_text",
          "description": "Split text into MAX messages of at most 4000 characters, cutting at paragraphs, lines or sentences.",
          "inputSchema": {
            "type": "object",
            "title": "max_split_textArguments",
            "required": [
              "text"
            ],
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "text": {
                "type": "string",
                "title": "Text",
                "description": "Long text to send"
              },
              "limit": {
                "type": "integer",
                "title": "Limit",
                "default": 4000,
                "maximum": 4000,
                "minimum": 100,
                "description": "Max characters per message"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_convert_formatting",
          "description": "Convert formatted text to MAX markup: Telegram MarkdownV2 (underline __x__ → ++x++, unescape), Telegram HTML\n    (tg://user → max://user, spoilers dropped) or ordinary Markdown from an LLM (lists → bullets, rules removed).\n    Reports what MAX cannot show (spoilers, tables, lists, inline images). Use the returned format value in the body.",
          "inputSchema": {
            "type": "object",
            "title": "max_convert_formattingArguments",
            "required": [
              "text",
              "source"
            ],
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "text": {
                "type": "string",
                "title": "Text",
                "description": "Formatted text"
              },
              "source": {
                "enum": [
                  "telegram_markdownv2",
                  "telegram_html",
                  "markdown"
                ],
                "type": "string",
                "title": "Source",
                "description": "Where the text comes from; 'markdown' = ordinary Markdown (e.g. LLM output)"
              },
              "target": {
                "enum": [
                  "max_markdown",
                  "max_html"
                ],
                "type": "string",
                "title": "Target",
                "default": "max_markdown",
                "description": "MAX format to produce"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_deeplink",
          "description": "Build and validate MAX deep links. 'share' gives a link, an HTML button and a JS helper that open\n    MAX's chat picker with prefilled text — works on any website or AI agent output without owning a bot.\n    Payload limits are checked, because MAX silently drops payloads that are too long or have bad characters.",
          "inputSchema": {
            "type": "object",
            "title": "max_deeplinkArguments",
            "required": [
              "kind"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "start",
                  "startapp",
                  "share",
                  "mention"
                ],
                "type": "string",
                "title": "Kind",
                "description": "start — open bot with payload; startapp — open mini-app; share — 'send to MAX' link for any site, no bot needed; mention — user mention markup"
              },
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Text",
                "default": null,
                "description": "share: text to prefill; mention: display name"
              },
              "payload": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Payload",
                "default": null,
                "description": "start: ≤128 chars; startapp: ≤512, A-Za-z0-9_- only"
              },
              "user_id": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "User Id",
                "default": null,
                "description": "mention: MAX user id"
              },
              "bot_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Bot Name",
                "default": null,
                "description": "Bot public name as in max.ru/<name> (start, startapp)"
              },
              "button_label": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Button Label",
                "default": null,
                "description": "share: label for the generated HTML button; default depends on lang"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_mock_update",
          "description": "Generate a realistic MAX webhook Update for tests, shaped like the official schema, plus a curl command to\n    send it to your local webhook. Lets you test a bot before it passes moderation or without a token.",
          "inputSchema": {
            "type": "object",
            "title": "max_mock_updateArguments",
            "required": [
              "update_type"
            ],
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Text",
                "default": null,
                "description": "Message text (message_created/edited, comments) or new title"
              },
              "secret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Secret",
                "default": null,
                "description": "Webhook secret to put into X-Max-Bot-Api-Secret"
              },
              "chat_id": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Chat Id",
                "default": null,
                "description": "Chat id; default is generated"
              },
              "payload": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Payload",
                "default": null,
                "description": "Callback payload or bot_started deep link payload"
              },
              "chat_type": {
                "enum": [
                  "dialog",
                  "chat",
                  "channel"
                ],
                "type": "string",
                "title": "Chat Type",
                "default": "dialog",
                "description": "Where it happens"
              },
              "overrides": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Overrides",
                "default": null,
                "description": "Deep-merge into the generated update"
              },
              "update_type": {
                "type": "string",
                "title": "Update Type",
                "description": "message_created, message_callback, bot_started, bot_added, bot_removed, message_edited, message_removed, user_added, user_removed, comment_created, chat_title_changed, dialog_muted, bot_admin_permissions_changed, …"
              },
              "webhook_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Webhook Url",
                "default": null,
                "description": "If set, also returns a curl command that POSTs the update there"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "max_mock_init_data",
          "description": "Produce a correctly signed MAX mini-app initData string (two-step HMAC with 'WebAppData') for backend tests,\n    with the token used, so you can check your validator end to end.",
          "inputSchema": {
            "type": "object",
            "title": "max_mock_init_dataArguments",
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "user_id": {
                "type": "integer",
                "title": "User Id",
                "default": 100500
              },
              "chat_type": {
                "enum": [
                  "DIALOG",
                  "CHAT",
                  "CHANNEL"
                ],
                "type": "string",
                "title": "Chat Type",
                "default": "DIALOG",
                "description": "Where the mini-app was opened"
              },
              "first_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "First Name",
                "default": null
              },
              "age_seconds": {
                "type": "integer",
                "title": "Age Seconds",
                "default": 0,
                "minimum": 0,
                "description": "Make auth_date this many seconds old, to test expiry"
              },
              "start_param": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Start Param",
                "default": null,
                "description": "Value from ?startapp="
              },
              "test_bot_token": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Test Bot Token",
                "default": null,
                "description": "A TEST token to sign with. Omit to generate a random one. Never pass a production token to a hosted server"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "max_bridge_mock",
          "description": "Generate max-bridge-mock.js: a window.WebApp emulator to develop MAX mini-apps in a normal browser on localhost.\n\n    Emulates initData/initDataUnsafe (signed if a test token is given), BackButton (Esc), DeviceStorage and\n    SecureStorage (localStorage, 10-key cap), BiometricManager, HapticFeedback, NfcManager, ScreenCapture,\n    requestContact with a valid hash, openLink/downloadFile/shareMaxContent click requirements and per-platform\n    restrictions. Logs every call. Use only on localhost.",
          "inputSchema": {
            "type": "object",
            "title": "max_bridge_mockArguments",
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "phone": {
                "type": "string",
                "title": "Phone",
                "default": "79990000000"
              },
              "user_id": {
                "type": "integer",
                "title": "User Id",
                "default": 100500
              },
              "platform": {
                "enum": [
                  "ios",
                  "android",
                  "desktop",
                  "web"
                ],
                "type": "string",
                "title": "Platform",
                "default": "android",
                "description": "Platform to emulate: limits which Bridge features work"
              },
              "first_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "First Name",
                "default": null
              },
              "entry_point": {
                "enum": [
                  "default",
                  "tabbar"
                ],
                "type": "string",
                "title": "Entry Point",
                "default": "default"
              },
              "start_param": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Start Param",
                "default": null,
                "description": "Emulated ?startapp= value"
              },
              "test_bot_token": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Test Bot Token",
                "default": null,
                "description": "TEST token: initData and requestContact hash will be validly signed with it"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "max_check_webhook_secret",
          "description": "Check a MAX webhook secret against the rules (5-256 chars, A-Z a-z 0-9 _ -) or generate a strong one.",
          "inputSchema": {
            "type": "object",
            "title": "max_check_webhook_secretArguments",
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "secret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Secret",
                "default": null,
                "description": "Secret to check; omit to generate a new one"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "server_status",
          "description": "Server version, facts date, mode (hosted or local), languages and whether operator tools are active.",
          "inputSchema": {
            "type": "object",
            "title": "server_statusArguments",
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_tracking_links",
          "description": "Make a separate tracking link (and promo code) for every channel where an ad is placed in MAX, so you can\n    see which placement brought users and sales. Bot links use ?start=<id>: the id arrives in bot_started.payload,\n    which works even for clicks that never leave the messenger. Returns a media plan as CSV.\n    Then feed the counts to max_ad_report.",
          "inputSchema": {
            "type": "object",
            "title": "max_tracking_linksArguments",
            "required": [
              "campaign",
              "placements"
            ],
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "bot_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Bot Name",
                "default": null,
                "description": "Your bot's public name: each placement gets max.ru/<bot>?start=<id>"
              },
              "campaign": {
                "type": "string",
                "title": "Campaign",
                "description": "Campaign name, e.g. 'black friday'"
              },
              "site_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Site Url",
                "default": null,
                "description": "Landing page: each placement gets UTM tags and its erid"
              },
              "placements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Placements",
                "description": "Channels where the ad goes: [{name, cost?, erid?}]. name may be a title or max.ru link"
              },
              "utm_medium": {
                "type": "string",
                "title": "Utm Medium",
                "default": "seeding"
              },
              "promo_codes": {
                "type": "boolean",
                "title": "Promo Codes",
                "default": true,
                "description": "Also make one promo code per placement"
              },
              "mini_app_bot": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Mini App Bot",
                "default": null,
                "description": "Bot with your mini-app: each placement gets ?startapp=<id>"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_ad_report",
          "description": "Compare ad placements in MAX by real results: CPM, cost per click or bot start, cost per lead and per order,\n    ROAS, profit after ads and ROMI (with margin), conversion with a 95% confidence interval.\n    Says when a difference between channels may be chance and when there is too little data.\n    A calculator only: it does not touch ad accounts or move money.",
          "inputSchema": {
            "type": "object",
            "title": "max_ad_reportArguments",
            "required": [
              "placements"
            ],
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "events": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {}
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Events",
                "default": null,
                "description": "Optional bot_started updates, {'payload': …} objects or payload strings; starts are counted per placement id"
              },
              "campaign": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Campaign",
                "default": null,
                "description": "Only count payloads of this campaign"
              },
              "min_orders": {
                "type": "integer",
                "title": "Min Orders",
                "default": 5,
                "minimum": 1,
                "description": "Below this many orders a placement is flagged as low data"
              },
              "placements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Placements",
                "description": "Per placement: {name, id?, cost, views?, clicks?, starts?, leads?, orders?, revenue?, margin_pct?}"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "max_check_ad_post",
          "description": "Check an ad post for MAX against Russian ad marking rules: the 'Реклама' label at the top, advertiser details\n    (name and INN/OGRN or a site), an erid token in the link or text, the A+ mark for channels over 10,000 subscribers,\n    and the 4000-character limit. A hint, not legal advice; ORD registration is not checked.",
          "inputSchema": {
            "type": "object",
            "title": "max_check_ad_postArguments",
            "required": [
              "text"
            ],
            "properties": {
              "lang": {
                "anyOf": [
                  {
                    "enum": [
                      "ru",
                      "en"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lang",
                "default": null,
                "description": "Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG)"
              },
              "text": {
                "type": "string",
                "title": "Text",
                "description": "Ad post text as it will be published"
              },
              "links": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Links",
                "default": null,
                "description": "Links used in buttons or elsewhere, if not in the text"
              },
              "advertiser_site": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Advertiser Site",
                "default": null,
                "description": "Site with the advertiser's details, if they are not in the text"
              },
              "channel_has_a_plus": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Channel Has A Plus",
                "default": null,
                "description": "Whether the channel has the A+ mark (RKN registry)"
              },
              "channel_subscribers": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Channel Subscribers",
                "default": null,
                "description": "Subscribers of the channel where it goes"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Tools for building bots and mini-apps for the MAX messenger (max.ru, dev.max.ru).\nEvery tool takes lang='en' or lang='ru' — answer in the user's language.\nKnowledge: max_api_reference, max_endpoint_info, max_limits, max_changelog — current Bot API facts with sources.\nCode: max_lint_code finds outdated hosts, TLS mistakes, removed methods and Telegram leftovers;\nmax_migrate_from_telegram plans a port from Telegram Bot API; max_scaffold_bot generates a working project.\nMessages: max_build_message, max_validate_message, max_split_text, max_convert_formatting.\nLinks: max_deeplink (bot start, mini-app startapp, share-to-MAX without a bot, user mention).\nTesting: max_mock_update (webhook payloads + curl), max_mock_init_data and max_bridge_mock (window.WebApp emulator).\nAds: max_api_reference topic='ads' (where to buy, channel monetization, marking), max_tracking_links (a link per placement),\nmax_ad_report (cost per order, ROAS, ROMI with confidence intervals), max_check_ad_post (marking check).\nWhen the server runs locally with MAX_BOT_TOKEN, operator tools (max_send_message etc.) act as that bot.\nAlways use platform-api2.max.ru and never suggest disabling TLS verification."
  },
  "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."
}