def METHOD_NAME(url: str) -> dict:
    """Load global settings from Mongo database.
    We are loading data from database `openpype` and collection `settings`.
    There we expect document type `global_settings`.
    Args:
        url (str): MongoDB url.
    Returns:
        dict: With settings data. Empty dictionary is returned if not found.
    """
    kwargs = {}
    if should_add_certificate_path_to_mongo_url(url):
        kwargs["tlsCAFile"] = certifi.where()
    try:
        # Create mongo connection
        client = MongoClient(url, **kwargs)
        # Access settings collection
        openpype_db = os.environ.get("OPENPYPE_DATABASE_NAME") or "openpype"
        col = client[openpype_db]["settings"]
        # Query global settings
        global_settings = col.find_one({"type": "global_settings"}) or {}
        # Close Mongo connection
        client.close()
    except Exception:
        # TODO log traceback or message
        return {}
    return global_settings.get("data") or {}