{
  "$schema": "https://webmcp.org/schemas/v1/manifest.json",
  "name": "CanalYar MCP Tools",
  "version": "1.0.0",
  "description": "Web Model Context Protocol tools for social channel management and broadcasting",
  "tools": [
    {
      "name": "calculate_roi_savings",
      "description": "Calculate monthly hours and admin salary saved by automating social posts",
      "parameters": {
        "type": "object",
        "properties": {
          "daily_posts": { "type": "number", "description": "Number of daily posts per channel", "default": 5 },
          "channels_count": { "type": "number", "description": "Number of managed channels", "default": 5 }
        },
        "required": ["daily_posts"]
      }
    },
    {
      "name": "clean_telegram_links",
      "description": "Strip rival Telegram links and signatures and format for Iranian messengers (Eitaa, Bale, Rubika)",
      "parameters": {
        "type": "object",
        "properties": {
          "text": { "type": "string", "description": "Raw message text to sanitize" },
          "target_channel_id": { "type": "string", "description": "Channel handle without @" },
          "platform": { "type": "string", "enum": ["eitaa", "bale", "rubika", "tg"], "description": "Target messenger platform" }
        },
        "required": ["text", "target_channel_id"]
      }
    },
    {
      "name": "get_subscription_plans",
      "description": "Retrieve current subscription pricing and feature matrices",
      "parameters": {
        "type": "object",
        "properties": {
          "billing_cycle": { "type": "string", "enum": ["1m", "3m", "1y"], "default": "1m" }
        }
      }
    },
    {
      "name": "register_lead_trial",
      "description": "Activate 14-day free gift subscription trial for a user phone number",
      "parameters": {
        "type": "object",
        "properties": {
          "phone": { "type": "string", "description": "Mobile phone number" }
        },
        "required": ["phone"]
      }
    }
  ]
}
