{
  "specVersion": "2024-11-05",
  "protocol": "jsonrpc-2.0",
  "name": "LogicsLevel MCP",
  "description": "Model Context Protocol server for LogicsLevel — expose services, pricing, availability, and booking to autonomous AI agents.",
  "endpoint": "https://logicslevel.com/api/mcp",
  "transport": "http",
  "methods": ["initialize", "tools/list", "tools/call", "prompts/list", "resources/list"],
  "capabilities": {
    "tools": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "ask_question",
      "description": "Ask a natural-language question about LogicsLevel's services, pricing, delivery timelines, or how to engage.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "question": { "type": "string", "maxLength": 500 }
        },
        "required": ["question"],
        "additionalProperties": false
      }
    },
    {
      "name": "list_services",
      "description": "List all 12 productized services with slug, name, starting price, delivery window, canonical URL.",
      "inputSchema": { "type": "object", "properties": {}, "additionalProperties": false }
    },
    {
      "name": "get_service",
      "description": "Get full details of one service by slug.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "enum": [
              "gohighlevel-migration", "gohighlevel-setup", "n8n-development",
              "make-automation", "zapier-automation", "ai-agents",
              "airtable-ops", "pipedream-integrations", "hubspot-ops",
              "seo-indexing", "website-build", "crm-migration"
            ]
          }
        },
        "required": ["slug"],
        "additionalProperties": false
      }
    },
    {
      "name": "list_regions_served",
      "description": "List the countries LogicsLevel serves with compliance notes and hub-page URLs.",
      "inputSchema": { "type": "object", "properties": {}, "additionalProperties": false }
    },
    {
      "name": "get_available_slots",
      "description": "Query Cal.com for available 20-minute discovery-call slots over the next N days. Returns ISO-8601 UTC start times.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "days_ahead": { "type": "integer", "minimum": 1, "maximum": 30, "default": 7 }
        },
        "additionalProperties": false
      }
    },
    {
      "name": "book_discovery_call",
      "description": "Book a 20-minute discovery call. Rate-limited to 1 per IP per 10 minutes. Always confirm the slot with the user before calling.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name":       { "type": "string", "minLength": 2, "maxLength": 100 },
          "email":      { "type": "string", "format": "email", "maxLength": 200 },
          "timezone":   { "type": "string", "default": "America/New_York" },
          "slot_start": { "type": "string", "format": "date-time" },
          "notes":      { "type": "string", "maxLength": 1000 }
        },
        "required": ["name", "email", "slot_start"],
        "additionalProperties": false
      }
    }
  ]
}
