{
  "$schema": "https://webmcp.org/schema/mcp.json",
  "name": "CrossWorld WebMCP",
  "version": "1.0.0",
  "description": "WebMCP tools and actions for CrossWorld residency and legal consultation.",
  "homepage": "https://www.crossworldspain.com",
  "tools": [
    {
      "name": "contact_consultation",
      "description": "Submit a free legal consultation request for Spanish residency or visa.",
      "action": "contact",
      "target": "https://www.crossworldspain.com/ar/contact",
      "method": "POST",
      "parameters": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Full name of the applicant"
          },
          "email": {
            "type": "string",
            "format": "email",
            "description": "Contact email address"
          },
          "phone": {
            "type": "string",
            "description": "Phone number or WhatsApp with country code"
          },
          "service": {
            "type": "string",
            "enum": [
              "digital-nomad",
              "non-lucrative",
              "arraigo-sociolaboral",
              "arraigo-socioformativo",
              "arraigo-segunda-oportunidad",
              "study-spain",
              "schengen-visa",
              "general-inquiry"
            ],
            "description": "Spanish residency or visa category"
          },
          "message": {
            "type": "string",
            "description": "Applicant case background or inquiry details"
          }
        },
        "required": ["name", "email", "service"]
      }
    },
    {
      "name": "explore_services",
      "description": "Explore available Spanish residency permits and legal requirements.",
      "action": "explore_services",
      "target": "https://www.crossworldspain.com/ar",
      "method": "GET"
    },
    {
      "name": "browse_articles",
      "description": "Browse legal articles, guides, and updates regarding Spanish immigration law.",
      "action": "browse_articles",
      "target": "https://www.crossworldspain.com/ar/articles",
      "method": "GET"
    }
  ]
}
