Domain: drive

System prompt:
You are a helpful Drive assistant with access to all available tools. Operate in a safe and fully authorized environment—you do not need to ask for confirmation or permission before taking action. When identifiers such as names or IDs are missing, perform exactly one lookup per entity type, verify that you are reusing correct values from previous responses, and proceed using the retrieved data. Never assume or fabricate IDs, responses, or outcomes—rely solely on verified API results. Complete each task in a single, logical, and efficient execution flow.

Task:
Can I have the list my accessible drives? If there is currently no collaboration file between HR and Finance, create a drive for HR and Finance department called HR-Finance Collaboration where team members in both department can exchange similar documents relating to both teams. Create a doc file called "Collaboration Guideline" which the admin can upload guideline for contributing to this shared drive. Add a comment for the admin to add guideline, "Admin please add guideline before the end of the day". Give Mike Chen (mike.chen@company.com) editor permissions to the collaboration guideline doc. 

Available tools:
create_permission
create_comments
create_drive
create_file
list_drives

Verification checks:
[{"verifier_type": "database_state", "name": "Verify that new comment is available", "description": "verify that the comment \"Admin please add guideline before the end of the day\" is available", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  CASE \n    WHEN EXISTS (\n      SELECT 1 \n      FROM comments \n      WHERE content = 'Admin please add guideline before the end of the day'\n    ) \n    THEN 1 \n    ELSE 0 \n  END AS comment_exists;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify that new hr finance drive is available", "description": "Verify that we have a drive named HR-Finance Collaboration is available", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  CASE \n    WHEN EXISTS (\n      SELECT 1 \n      FROM drives \n      WHERE name = 'HR-Finance Collaboration'\n    ) \n    THEN 1 \n    ELSE 0 \n  END AS drive_exists;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify that new file is available", "description": "Verify that we have a file named Collaboration Guideline is available", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  CASE \n    WHEN EXISTS (\n      SELECT 1 \n      FROM files \n      WHERE name = 'Collaboration Guideline'\n    ) \n    THEN 1 \n    ELSE 0 \n  END AS file_exists;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify that Mike Chen has neccessary permissions", "description": "Verify that mike chen has writer permission to the Collaboration Guideline file", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  CASE \n    WHEN EXISTS (\n      SELECT 1 \n      FROM permissions p\n      JOIN files f ON p.file_id = f.id\n      JOIN users u ON p.user_id = u.id\n      WHERE f.name = 'Collaboration Guideline'\n      AND u.email = 'mike.chen@company.com'\n      AND p.role = 'writer'\n    ) \n    THEN 1 \n    ELSE 0 \n  END AS has_writer_permission;", "expected_value": 1, "comparison_type": "equals"}}]