{
  "name": "blogaizer",
  "version": "1.0.0",
  "description": "AI content pipeline as a service. Generate research-backed, EEAT-compliant blog posts with featured images via API.",
  "tools": [
    {
      "name": "generate_article",
      "description": "Generate a full blog article with research, EEAT audit, featured image, and social posts. Async — returns job_id, poll or use webhook for result.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "topic": { "type": "string", "description": "Article topic" },
          "keywords": { "type": "array", "items": { "type": "string" } },
          "product_id": { "type": "string", "description": "Product to promote" },
          "word_count": { "type": "integer", "default": 1500 },
          "outputs": {
            "type": "array",
            "items": { "type": "string", "enum": ["html", "markdown", "social", "featured_image"] }
          }
        },
        "required": ["topic"]
      }
    },
    {
      "name": "get_article_status",
      "description": "Check the status of an article generation job",
      "inputSchema": {
        "type": "object",
        "properties": {
          "job_id": { "type": "string" }
        },
        "required": ["job_id"]
      }
    },
    {
      "name": "generate_ideas",
      "description": "Generate 10 curated content ideas based on trends, competitors, and analytics. Costs 2 credits.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "brand_id": { "type": "string" },
          "product_id": { "type": "string" },
          "consider": {
            "type": "object",
            "properties": {
              "trends": { "type": "boolean", "default": true },
              "competitors": { "type": "boolean", "default": true },
              "existing_posts": { "type": "boolean", "default": true }
            }
          }
        },
        "required": ["brand_id"]
      }
    },
    {
      "name": "get_analytics",
      "description": "Get AI-powered analysis of published content performance. Requires GA4 connected. Costs 1 credit.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "brand_id": { "type": "string" },
          "date_range": { "type": "string", "enum": ["7d", "30d", "90d"], "default": "30d" }
        },
        "required": ["brand_id"]
      }
    },
    {
      "name": "configure_brand",
      "description": "Set up brand identity, voice, and image style for content generation",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "industry": { "type": "string" },
          "brand_voice": { "type": "string" },
          "image_style": { "type": "object" }
        },
        "required": ["name", "industry", "brand_voice"]
      }
    }
  ],
  "authentication": {
    "type": "bearer",
    "description": "API key from blogaizer.com/dashboard"
  }
}
