{
  "schema_version": "1.0",
  "server": {
    "name": "SPZ News — חדשות שפיץ",
    "description": "Israeli news aggregator with live coverage, breaking news and analysis around the clock. Provides tools to search articles, browse by category, get trending stories, and access article details.",
    "url": "https://www.spz.co.il",
    "logo_url": "https://www.spz.co.il/pwa-512.png",
    "language": "he",
    "contact_email": "info@spz.co.il"
  },
  "capabilities": {
    "tools": [
      {
        "name": "search_articles",
        "description": "Search news articles by keyword. Returns title, excerpt, category, source, published date, and link for each match.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "query": { "type": "string", "description": "Search query in Hebrew or English" },
            "limit": { "type": "number", "description": "Max results (1-50, default 10)", "minimum": 1, "maximum": 50 }
          },
          "required": ["query"]
        }
      },
      {
        "name": "get_latest_news",
        "description": "Get the most recent news articles across all categories.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "limit": { "type": "number", "description": "Number of articles (1-50, default 15)", "minimum": 1, "maximum": 50 }
          }
        }
      },
      {
        "name": "get_news_by_category",
        "description": "Get news articles from a specific category.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "category": {
              "type": "string",
              "description": "Category slug",
              "enum": ["technology", "politics", "security", "breaking", "finance", "culture-sports", "lifestyle", "ai", "law", "religion", "education"]
            },
            "limit": { "type": "number", "description": "Number of articles (1-50, default 15)", "minimum": 1, "maximum": 50 }
          },
          "required": ["category"]
        }
      },
      {
        "name": "get_article",
        "description": "Get full details of a specific article by slug or ID.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "article_id": { "type": "string", "description": "Article slug or UUID" }
          },
          "required": ["article_id"]
        }
      },
      {
        "name": "get_trending_articles",
        "description": "Get trending/most popular articles sorted by engagement, with configurable time window.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "limit": { "type": "number", "description": "Number of articles (1-50, default 10)", "minimum": 1, "maximum": 50 },
            "hours": { "type": "number", "description": "Look back period in hours (1-168, default 24)", "minimum": 1, "maximum": 168 }
          }
        }
      },
      {
        "name": "list_categories",
        "description": "List all available news categories with Hebrew names and URL slugs.",
        "inputSchema": { "type": "object", "properties": {} }
      },
      {
        "name": "get_site_info",
        "description": "Get site metadata, social links, and available resources.",
        "inputSchema": { "type": "object", "properties": {} }
      },
      {
        "name": "navigate",
        "description": "Navigate the browser to a specific page on the site.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "path": { "type": "string", "description": "Path to navigate to, e.g. \"/\" for home, \"/category/technology\", \"/article/{slug}\"" }
          },
          "required": ["path"]
        }
      },
      {
        "name": "get_articles_by_date",
        "description": "Get news articles published within a specific date range.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "from": { "type": "string", "description": "Start date (YYYY-MM-DD)" },
            "to": { "type": "string", "description": "End date (YYYY-MM-DD), defaults to today" },
            "category": { "type": "string", "description": "Optional category slug filter" },
            "limit": { "type": "number", "minimum": 1, "maximum": 50 }
          },
          "required": ["from"]
        }
      },
      {
        "name": "get_articles_by_source",
        "description": "Get news articles from a specific news source (e.g. ynet, וואלה, גלובס).",
        "inputSchema": {
          "type": "object",
          "properties": {
            "source": { "type": "string", "description": "Source name" },
            "limit": { "type": "number", "minimum": 1, "maximum": 50 }
          },
          "required": ["source"]
        }
      },
      {
        "name": "summarize_daily_news",
        "description": "Get a structured daily news summary — article counts per category and top headlines for a given date.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "date": { "type": "string", "description": "Date in YYYY-MM-DD, defaults to today" }
          }
        }
      },
      {
        "name": "get_blog_posts",
        "description": "Get editorial blog posts, opinion pieces, and analysis from SPZ News blog.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "limit": { "type": "number", "minimum": 1, "maximum": 20 }
          }
        }
      }
    ]
  },
  "categories_map": {
    "technology": "טכנולוגיה",
    "politics": "פוליטיקה",
    "security": "ביטחון ובטחון",
    "breaking": "כתבות חמות",
    "finance": "פיננסים",
    "culture-sports": "תרבות וספורט",
    "lifestyle": "לייף",
    "ai": "AI",
    "law": "משפט ופלילים",
    "religion": "דת ויהדות",
    "education": "חינוך"
  },
  "resources": {
    "sitemap": "https://www.spz.co.il/sitemap.xml",
    "news_sitemap": "https://gqmbbyhkfgpxiynuzqnt.supabase.co/functions/v1/news-sitemap",
    "llms_txt": "https://www.spz.co.il/llms.txt",
    "llms_full_txt": "https://www.spz.co.il/llms-full.txt",
    "webmcp_tools_js": "https://www.spz.co.il/webmcp-tools.js",
    "ai_plugin": "https://www.spz.co.il/.well-known/ai-plugin.json",
    "crawler_html": "https://gqmbbyhkfgpxiynuzqnt.supabase.co/functions/v1/crawler-pages"
  },
  "social": {
    "x": "https://x.com/Spz_news",
    "facebook": "https://www.facebook.com/spznewsil",
    "instagram": "https://www.instagram.com/spznews/",
    "threads": "https://www.threads.com/@spznews",
    "tiktok": "https://www.tiktok.com/@spznewsil",
    "youtube": "https://www.youtube.com/@חדשותשפיץ",
    "telegram": "https://t.me/spznewsil"
  }
}