[{'Text': 'import importlib\nfrom pathlib import Path\nfrom point_topic_mcp.context.general_db_instructions import GENERAL_DB_INSTRUCTIONS\n\n\ndef get_available_datasets() -> list[str]:\n    """Get list of available dataset names from the datasets directory."""\n    datasets_dir = Path(__file__).parent.parent / "context" / "datasets"\n    dataset_files = [f.stem for f in datasets_dir.glob("*.py") if f.name != "__init__.py"]\n    return dataset_files\n\n\ndef get_dataset_summary(dataset_name: str) -> str:\n    """Get summary for a specific dataset."""\n    try:\n        module = importlib.import_module(f"point_topic_mcp.context.datasets.{dataset_name}")\n        if hasattr(module, "get_dataset_summary"):\n            return module.get_dataset_summary()\n        else:\n            return f"Dataset \'{dataset_name}\' (no summary available)"\n    except ImportError:\n        raise ValueError(f"Dataset \'{dataset_name}\' not found")\n\n\ndef list_datasets() -> str:\n    """List all available datasets with their summaries."""\n    available = get_available_datasets()\n    summaries = []\n    \n    for dataset_name in available:\n        try:\n            summary = get_dataset_summary(dataset_name)\n            summaries.append(f"• **{dataset_name}**: {summary}")\n        except Exception as e:\n            summaries.append(f"• **{dataset_name}**: Error loading summary - {e}")\n    \n    return "Available datasets:\\n" + "\\n".join(summaries)\n\n\ndef assemble_context(db_names: list[str]) -> str:\n    """Assemble context from multiple datasets."""\n    context_parts = [GENERAL_DB_INSTRUCTIONS]\n\n    \n    for db_name in db_names:\n        try:\n            module = importlib.import_module(f"point_topic_mcp.context.datasets.{db_name}")\n            if hasattr(module, "get_db_info"):\n                context_parts.append(module.get_db_info())\n            else:\n                context_parts.append(f"# {db_name.upper()} Dataset\\nError: get_db_info() function not found")\n        except ImportError:\n            context_parts.append(f"# {db_name.upper()} Dataset\\nError: Dataset module not found")\n    \n    return "\\n\\n".join(context_parts)'}]