[{'Text': 'Edited point-topic-mcp/src/point_topic_mcp/tools/gbs_query_tools.py:\n\n```diff\n@@ -57,24 +57,6 @@\n                     f"Only read-only aggregation pipelines are allowed."\n                 )\n \n-    def _find_used_collections(pipeline: list) -> set:\n-        """Determine which collections the pipeline references."""\n-        used = set()\n-        for stage in pipeline:\n-            if "$lookup" in stage:\n-                from_val = stage["$lookup"].get("from", "")\n-                # from could be a dynamic expression — use the literal string\n-                if isinstance(from_val, str) and from_val:\n-                    used.add(from_val)\n-            if "$unionWith" in stage:\n-                coll = stage["$unionWith"].get("coll", "")\n-                if isinstance(coll, str) and coll:\n-                    used.add(coll)\n-            if "$facet" in stage:\n-                for facet_name, facet_pipeline in stage["$facet"].items():\n-                    used |= _find_used_collections(facet_pipeline)\n-        return used\n-\n     def read_gbs(pipeline_json: str = "", pipeline: list | None = None) -> str:\n         """Run a read-only MongoDB aggregation pipeline against GBS collections.\n \n\n```'}]