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:
Carmen needs to get some solid monitoring in place for that 'Monthly Financials.xls.xlsx' file before the quarterly audit rolls around. 

First, make sure the file exists (create it if you can't find it).

Then, check who’s got access right now—just pull a full list of permissions. Also, take a quick look at the file’s security labels to make sure it’s properly classified.

After that, scroll through the revision history to see what’s been changed.

Once that background info is gathered, set up a watch that pings the webhook `https://monitoring.company.com/drive-changes` whenever something changes. Grab the sync token to keep the monitoring running smoothly, and pull the last 5 changes to spot any recent patterns.

Finally, drop in a comment that says: "Comprehensive Audit System Active: Permissions reviewed, labels verified, revision history analyzed, real-time monitoring enabled as of December 9, 2025." And update the file description to: "Under comprehensive monitoring - all changes tracked and audited."

Available tools:
list_changes
list_permission
get_files
get_changes_start_page_token
list_revisions
update_files
watch_files
create_comments
create_file

Verification checks:
[{"verifier_type": "database_state", "name": "File Description Updated", "description": "File Description Updated", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "WITH target_file AS (\n  SELECT id, description FROM files\n  WHERE name = 'Monthly Financials.xls.xlsx' AND trashed = 0\n  ORDER BY created_time DESC LIMIT 1\n)\nSELECT COUNT(*) AS cnt\nFROM target_file\nWHERE description = 'Under comprehensive monitoring - all changes tracked and audited.';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Comprehensive Audit Comment Created", "description": "Comprehensive Audit Comment Created", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "WITH target_file AS (\n  SELECT id FROM files WHERE name = 'Monthly Financials.xls.xlsx' AND trashed = 0\n  ORDER BY created_time DESC LIMIT 1\n),\nuser_info AS (\n  SELECT id FROM users WHERE email = 'carmenalvarez22@airbnb.com'\n)\nSELECT COUNT(*) AS cnt\nFROM comments c\nINNER JOIN target_file tf ON tf.id = c.file_id\nINNER JOIN user_info ui ON ui.id = c.author_id\nWHERE c.deleted = 0\n  AND LOWER(c.content) LIKE '%comprehensive audit system active%'\n  AND LOWER(c.content) LIKE '%permissions reviewed%'\n  AND LOWER(c.content) LIKE '%labels verified%'\n  AND LOWER(c.content) LIKE '%revision history analyzed%'\n  AND LOWER(c.content) LIKE '%real-time monitoring enabled%'\n  AND LOWER(c.content) LIKE '%december 9, 2025%';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Watch Channel Created", "description": "Watch Channel Created", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "WITH file_resource AS (\n  SELECT id FROM files WHERE name = 'Monthly Financials.xls.xlsx' AND trashed = 0\n  ORDER BY created_time DESC LIMIT 1\n)\nSELECT COUNT(*) AS cnt\nFROM channels ch\nWHERE ch.resource_id LIKE '%' || (SELECT id FROM file_resource) || '%'\n  AND ch.address = 'https://monitoring.company.com/drive-changes'\n  AND ch.expiration > CAST(strftime('%s', 'now') || '000' AS INTEGER);", "expected_value": 1, "comparison_type": "equals"}}]