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. For any tool that supports the 'supportsAllDrives' key, you must include it in the tool request body and set its value to true. A user must have the right privilege to carry out a change on any resource.

Task:
For our end-of-year audit, I need you to prepare a summary document. First, create these three files to ensure we have fresh, writable copies: 'Employee Handbook.docx', 'Marketing Strategy' and 'Market Analysis.txt'. For each of these new files, check permissions to confirm I am the owner, and then add a comment saying 'Accessed for audit summary'. Next, create a new folder named 'Audit Prep Q4' and inside it, create a file named 'Audit Summary 2025.txt'. Finally, share the 'Audit Prep Q4' folder with the 'Compliance' group (compliance@catalystcorp.com) giving them reader access.

Available tools:
get_about
list_permission
create_permission
create_comments
create_file

Verification checks:
[{"verifier_type": "database_state", "name": "New Folder Created", "description": "Confirm that the 'Audit Prep Q4' folder was created.", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) FROM files WHERE name = 'Audit Prep Q4' AND mime_type = 'application/vnd.google-apps.folder' AND trashed = 0;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "New Empty File Created", "description": "Confirm that the 'Audit Summary 2025.txt' file was created inside the new folder.", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "WITH new_folder AS (SELECT id FROM files WHERE name = 'Audit Prep Q4' AND trashed = 0)\nSELECT COUNT(*) FROM files f, new_folder nf WHERE f.name = 'Audit Summary 2025.txt' AND f.parent_id = nf.id AND f.trashed = 0;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Audit Comments Added to Source Files", "description": "Confirm that comments were added to the verified source files.", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) FROM comments\nWHERE content = 'Accessed for audit summary'\n  AND author_id = '9e2a66d40a13450dbef56d074f'\n  AND deleted = 0;", "expected_value": 3, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Internal Compliance Permission Granted", "description": "Confirm that the `create_permission` call on the new folder was successful for the existing group.", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "WITH new_folder AS (SELECT id FROM files WHERE name = 'Audit Prep Q4' AND trashed = 0)\nSELECT COUNT(*) FROM permissions p\nJOIN new_folder nf ON p.file_id = nf.id\nWHERE p.email_address = 'compliance@catalystcorp.com'\n  AND p.role = 'reader'\n  AND p.deleted = 0;", "expected_value": 1, "comparison_type": "equals"}}]