SAMPLE_TASKS.md•8.14 kB
# 15 Powerful Tasks with the Ultimate Google Docs & Drive MCP Server
This document showcases practical examples of what you can accomplish with the enhanced Google Docs & Drive MCP Server. These examples demonstrate how AI assistants like Claude can perform sophisticated document formatting, structuring, and file management tasks through the MCP interface.
## Document Formatting & Structure Tasks
## 1. Create and Format a Document Header
```
Task: "Create a professional document header for my project proposal."
Steps:
1. Insert the title "Project Proposal: AI Integration Strategy" at the beginning of the document
2. Apply Heading 1 style to the title using applyParagraphStyle
3. Add a horizontal line below the title
4. Insert the date and author information
5. Apply a subtle background color to the header section
```
## 2. Generate and Format a Table of Contents
```
Task: "Create a table of contents for my document based on its headings."
Steps:
1. Find all text with Heading styles (1-3) using findParagraphsMatchingStyle
2. Create a "Table of Contents" section at the beginning of the document
3. Insert each heading with appropriate indentation based on its level
4. Format the TOC entries with page numbers and dotted lines
5. Apply consistent styling to the entire TOC
```
## 3. Structure a Document with Consistent Formatting
```
Task: "Apply consistent formatting throughout my document based on content type."
Steps:
1. Format all section headings with applyParagraphStyle (Heading styles, alignment)
2. Style all bullet points with consistent indentation and formatting
3. Format code samples with monospace font and background color
4. Apply consistent paragraph spacing throughout the document
5. Format all hyperlinks with a consistent color and underline style
```
## 4. Create a Professional Table for Data Presentation
```
Task: "Create a formatted comparison table of product features."
Steps:
1. Insert a table with insertTable (5 rows x 4 columns)
2. Add header row with product names
3. Add feature rows with consistent formatting
4. Apply alternating row background colors for readability
5. Format the header row with bold text and background color
6. Align numeric columns to the right
```
## 5. Prepare a Document for Formal Submission
```
Task: "Format my research paper according to academic guidelines."
Steps:
1. Set the title with centered alignment and appropriate font size
2. Format all headings according to the required style guide
3. Apply double spacing to the main text
4. Insert page numbers with appropriate format
5. Format citations consistently
6. Apply indentation to block quotes
7. Format the bibliography section
```
## 6. Create an Executive Summary with Highlights
```
Task: "Create an executive summary that emphasizes key points from my report."
Steps:
1. Insert a page break and create an "Executive Summary" section
2. Extract and format key points from the document
3. Apply bullet points for clarity
4. Highlight critical figures or statistics in bold
5. Use color to emphasize particularly important points
6. Format the summary with appropriate spacing and margins
```
## 7. Format a Document for Different Audiences
```
Task: "Create two versions of my presentation - one technical and one for executives."
Steps:
1. Duplicate the document content
2. For the technical version:
- Add detailed technical sections
- Include code examples with monospace formatting
- Use technical terminology
3. For the executive version:
- Emphasize business impact with bold and color
- Simplify technical concepts
- Add executive summary
- Use more visual formatting elements
```
## 8. Create a Response Form with Structured Fields
```
Task: "Create a form-like document with fields for respondents to complete."
Steps:
1. Create section headers for different parts of the form
2. Insert tables for structured response areas
3. Add form fields with clear instructions
4. Use formatting to distinguish between instructions and response areas
5. Add checkbox lists using special characters with consistent formatting
6. Apply consistent spacing and alignment throughout
```
## 9. Format a Document with Multi-Level Lists
```
Task: "Create a project plan with properly formatted nested task lists."
Steps:
1. Insert the project title and apply Heading 1 style
2. Create main project phases with Heading 2 style
3. For each phase, create a properly formatted numbered list of tasks
4. Create sub-tasks with indented, properly formatted sub-lists
5. Apply consistent formatting to all list levels
6. Format task owners' names in bold
7. Format dates and deadlines with a consistent style
```
## 10. Prepare a Document with Advanced Layout
```
Task: "Create a newsletter-style document with columns and sections."
Steps:
1. Create a bold, centered title for the newsletter
2. Insert a horizontal line separator
3. Create differently formatted sections for:
- Main article (left-aligned paragraphs)
- Sidebar content (indented, smaller text)
- Highlighted quotes (centered, italic)
4. Insert and format images with captions
5. Add a formatted footer with contact information
6. Apply consistent spacing between sections
```
These examples demonstrate the power and flexibility of the enhanced Google Docs & Drive MCP Server, showcasing how AI assistants can help with sophisticated document formatting, structuring, and comprehensive file management tasks.
## Google Drive Management Tasks
## 11. Organize Project Files Automatically
```
Task: "Set up a complete project structure and organize existing files."
Steps:
1. Create a main project folder using createFolder
2. Create subfolders for different aspects (Documents, Templates, Archive)
3. Search for project-related documents using searchGoogleDocs
4. Move relevant documents to appropriate subfolders with moveFile
5. Create a project index document listing all resources
6. Format the index with links to all project documents
```
## 12. Create Document Templates and Generate Reports
```
Task: "Set up a template system and generate standardized reports."
Steps:
1. Create a Templates folder using createFolder
2. Create template documents with placeholder text ({{DATE}}, {{NAME}}, etc.)
3. Use createFromTemplate to generate new reports from templates
4. Apply text replacements to customize each report
5. Organize generated reports in appropriate folders
6. Create a tracking document listing all generated reports
```
## 13. Archive and Clean Up Old Documents
```
Task: "Archive outdated documents and organize current files."
Steps:
1. Create an Archive folder for old documents using createFolder
2. Use getRecentGoogleDocs to find documents older than 90 days
3. Review and move old documents to Archive using moveFile
4. Delete unnecessary duplicate files using deleteFile
5. Rename documents with consistent naming conventions using renameFile
6. Create an archive index document for reference
```
## 14. Duplicate and Distribute Document Sets
```
Task: "Create personalized versions of documents for different teams."
Steps:
1. Create team-specific folders using createFolder
2. Copy master documents to each team folder using copyFile
3. Rename copied documents with team-specific names using renameFile
4. Customize document content for each team using text replacement
5. Apply team-specific formatting and branding
6. Create distribution tracking documents
```
## 15. Comprehensive File Management and Reporting
```
Task: "Generate a complete inventory and management report of all documents."
Steps:
1. Use listFolderContents to catalog all folders and their contents
2. Use getDocumentInfo to gather detailed metadata for each document
3. Create a master inventory document with all file information
4. Format the inventory as a searchable table with columns for:
- Document name and ID
- Creation and modification dates
- Owner and last modifier
- Folder location
- File size and sharing status
5. Add summary statistics and organization recommendations
6. Set up automated folder structures for better organization
```