mcp-google-drive
Advanced MCP server for Google Drive integration with full CRUD operations, file management, search, sharing, and drive management capabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-google-drivesearch for files with 'budget' in name"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Google Drive
Advanced MCP server for Google Drive integration with full CRUD operations, file management, and sharing capabilities.
โจ Features
File Management: Create, read, update, delete files and folders
Search & Discovery: Advanced search with multiple criteria
Sharing & Permissions: Manage file sharing and access control
Content Operations: Upload, download, and modify file content
Drive Operations: List drives, manage shared drives
Type Safety: Full TypeScript support with Zod validation
Error Handling: Comprehensive error handling and logging
Related MCP server: Google Drive MCP Server
๐ Quick Setup
Prerequisites
Node.js 18+
Google Service Account with Drive API enabled
Service Account JSON key file
Installation
npm install mcp-google-driveEnvironment Setup
Set your Google Service Account credentials:
export GOOGLE_SERVICE_ACCOUNT_KEY='{"type":"service_account",...}'๐ง Cursor MCP Integration
Automatic Integration
The MCP server is designed to work seamlessly with Cursor. Add this configuration to your ~/.cursor/mcp.json:
{
"mcpServers": {
"mcp-google-drive": {
"command": "npx",
"args": ["mcp-google-drive@1.3.2"],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "your-service-account-json",
"MCP_MODE": "stdio",
"LOG_LEVEL": "info",
"DISABLE_CONSOLE_OUTPUT": "false"
},
"cwd": "/path/to/your/project"
}
}
}Troubleshooting Cursor Integration
If MCP tools are not working in Cursor:
Restart Cursor after updating
mcp.jsonCheck MCP Status: Command Palette โ "MCP: Show Servers"
Verify Connection: Command Palette โ "MCP: Test Connection"
Check Logs: Look for MCP server startup messages
Manual Server Start
If automatic integration fails, you can start the server manually:
# In your project directory
npm run start
# Or globally
npx mcp-google-drive๐ ๏ธ Available Tools
File Operations
search_files- Search files with advanced criteriaget_file- Get file metadata and contentcreate_file- Create new files and foldersupdate_file- Update file content and metadatadelete_file- Delete files and folderscopy_file- Copy files to new locationsmove_file- Move files between folders
Drive Management
get_drive_info- Get drive informationlist_shared_drives- List available shared drives
Sharing & Permissions
get_file_permissions- Get file sharing settingsshare_file- Share files with usersget_file_revisions- Get file version history
๐ Documentation
๐งช Development
Build
npm run buildDevelopment Mode
npm run devLinting
npm run lint
npm run lint:fix๐ License
MIT License - see LICENSE for details.
๐ค Contributing
Contributions welcome! Please read our contributing guidelines and submit pull requests.
๐ Support
Issues: GitHub Issues
Discussions: GitHub Discussions
Documentation: README and Setup Guide
Available Tools
15 toolscopy_fileC
Copy a file to a new location
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ID of the file to copy | |
| name | No | Name for the copied file | |
| parentId | No | ID of the destination folder |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must cover behavioral traits. It only says 'copy', which implies a duplicate is created, but does not explain side effects, permissions, error conditions, or that the original is unchanged. This is insufficient for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence that directly states the tool's purpose, with no unnecessary words. It is well-structured and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite the tool's simplicity, the description lacks details such as whether the copy succeeds silently, what happens if the destination name conflicts, or if metadata is preserved. Given no output schema, the agent has limited context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds no extra meaning beyond the parameter names and schema descriptions, which are already self-explanatory.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (copy) and the resource (file), and the destination ('new location'). It is distinct from sibling tools like move_file, though it does not explicitly mention that the original remains.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool instead of alternatives like move_file or create_file. No exclusions or prerequisites are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_fileB
Create a new file in Google Drive
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the file to create | |
| mimeType | Yes | MIME type of the file | |
| content | Yes | Content of the file | |
| parentId | No | ID of the parent folder | |
| description | No | Description of the file |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden of behavioral disclosure. However, it only states the basic action with no details about behavior such as file creation overwrite rules, required permissions, rate limits, or error handling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, very concise with no unnecessary words. However, it lacks structure that might front-load key information. It is efficient but not informative beyond basic purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 5 parameters (3 required), no output schema, and no annotations, the description is insufficient. It does not explain return values, success/failure indicators, or side effects. The description is too minimal to guide correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline is 3. The description does not add additional meaning beyond what the schema already provides for each parameter. It does not clarify formatting, constraints, or relationships between parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Create') and the resource ('a new file in Google Drive'). It is specific and distinguishes from sibling tools like copy_file (copy), create_folder (folder), and update_file (update).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. There is no mention of prerequisites, exclusions, or context that would help an agent decide between create_file and related tools like copy_file or update_file.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_folderC
Create a new folder in Google Drive
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the folder to create | |
| parentId | No | ID of the parent folder | |
| description | No | Description of the folder |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must fully disclose behavioral traits. It only states the action, omitting details like authentication requirements, rate limits, potential side effects, or error conditions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise at one sentence. It is directly front-loaded but could benefit from additional context without becoming verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description should indicate what the tool returns (e.g., folder ID). It also lacks behavioral context for a creation operation. This is insufficient for an agent to fully understand the tool's behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All parameters have descriptions in the schema (100% coverage), so the description adds no extra semantic value. It meets the baseline but does not compensate for any missing context.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (create) and resource (folder), making the purpose evident. However, it does not differentiate from the sibling tool 'create_file' which is a similar operation on a different resource type.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives like 'create_file'. There is no mention of prerequisites or context for using the optional parentId parameter.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
delete_fileC
Delete a file from Google Drive
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ID of the file to delete | |
| permanent | No | Permanently delete the file |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must disclose behavioral traits but only says 'delete'. It omits whether files go to trash or are permanently deleted (only hinted via schema parameter 'permanent'), and no mention of auth needs or consequences.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence with no unnecessary words. Highly concise and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite low complexity, the description fails to explain behavior (e.g., trash vs permanent), return values (none), or any side effects. For a deletion tool, more context is expected.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already describes parameters. The description adds no extra meaning beyond what the schema provides, meeting the baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'delete' and resource 'file from Google Drive'. It is specific but does not differentiate from sibling tools like 'move_file' or 'copy_file'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives. No prerequisites, exclusions, or context on appropriate scenarios provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_drive_infoC
Get information about a drive
| Name | Required | Description | Default |
|---|---|---|---|
| driveId | No | ID of the drive (defaults to 'root') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must fully disclose behavior. It merely states 'Get information about a drive' without revealing any behavioral traits like authentication requirements, rate limits, or whether the operation is read-only. The description is insufficient for an agent to understand side effects or constraints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that is front-loaded. It is not verbose, but its brevity may sacrifice necessary detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of an output schema, the description should explain what information is returned. It does not. The tool has low complexity with one parameter, but the description is incomplete for an information retrieval tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline score is 3. The description adds no additional meaning beyond the schema, as it only states the tool's purpose without elaborating on the parameter (driveId). The default value is mentioned in the schema but not in the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves information about a drive, using a specific verb and resource. However, it does not distinguish itself from sibling tools like 'list_shared_drives', which might also provide drive information, so it lacks differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, such as when to use 'get_drive_info' compared to 'list_shared_drives' or 'get_file'. There are no explicit conditions or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_fileA
Get file metadata and optionally content
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ID of the file to retrieve | |
| includeContent | No | Whether to include file content | |
| includePermissions | No | Include file permissions |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, and the description does not disclose behavioral traits such as whether the operation is read-only, requires specific permissions, or has rate limits. For a data retrieval tool, this leaves the agent uninformed about side effects or constraints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, clear sentence that efficiently conveys the tool's functionality without extraneous words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple retrieval tool with well-documented parameters, the description is largely complete. However, it could mention that the output is a file object (since no output schema exists) and hint at the relationship with sibling tools like get_file_permissions.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already describes each parameter. The description adds no new meaning beyond the parameter names, meeting the baseline expectation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves file metadata and optionally content, which is specific and distinct from sibling tools like get_file_content (content only) or get_file_permissions (permissions only).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like get_file_content or get_file_permissions. The description implies a general-purpose retrieval but doesn't exclude other tools for specific needs.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_file_contentC
Get file content in various formats
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ID of the file to get content from | |
| mimeType | No | MIME type for export (e.g., 'text/plain', 'application/pdf') | |
| encoding | No | Encoding for text files (e.g., 'utf-8', 'latin1') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must disclose behavior. It does not state whether the tool is read-only, what happens if the file is missing, or how authentication affects access. The description omits crucial behavioral traits such as whether content is streamed or returned fully, and how errors are handled.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no extraneous words. It is efficient, but the brevity sacrifices completeness. It earns a 4 for being concise without being misleading.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description should explain what the tool returns (e.g., file content as string, buffer, or stream). It does not mention output format handling or pagination for large files. The sibling tools are numerous, but the description fails to contextualize this tool within a typical workflow (e.g., first get file metadata, then get content).
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All three parameters are fully documented in the input schema (100% coverage). The description adds no extra meaning beyond the schema, such as specifying default values for 'mimeType' or 'encoding', or explaining how they interact. Baseline score is appropriate as schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Get file content in various formats' clearly states the action and resource. The verb 'Get' and resource 'file content' are specific, and 'various formats' adds scope. However, it does not differentiate from siblings like 'get_file' (which likely gets metadata) or 'get_file_revisions', missing an opportunity to clarify its unique role.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives (e.g., 'get_file', 'list_files'). No prerequisites or conditions mentioned. The phrase 'in various formats' hints at usage for conversion, but lacks direct context for selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_file_permissionsC
Get permissions for a file
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ID of the file to get permissions for |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must disclose behavioral traits. It does not specify what permissions are returned (e.g., list of users, roles), or if it requires specific auth scopes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no unnecessary words, efficient and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description should hint at the return format (e.g., list of permissions). It does not, leaving the agent to guess.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the description does not add meaning beyond what the schema provides for `fileId`. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the verb 'Get' and the resource 'permissions for a file', which is clear but does not differentiate from sibling tool `share_file` that also deals with permissions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like `share_file` or `get_file`. The description lacks context on prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_file_revisionsC
Get revision history of a file
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ID of the file to get revisions for | |
| maxResults | No | Maximum number of revisions to return |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, and the description lacks behavioral details such as required permissions, rate limits, or behavior when file has no revisions. It only implies a read operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is one sentence of 6 words, which is concise but under-specified. It could include more information without being verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of output schema and annotations, the description should provide more context about the return format, pagination (maxResults), and error cases. It is insufficient for a complete understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with clear parameter descriptions. The tool description adds no extra meaning beyond the schema, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Get revision history of a file', indicating the verb and resource. Among siblings like get_file, get_file_content, get_file_permissions, it is distinct as revision history. However, it does not explicitly differentiate itself.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives, no prerequisites, no exclusion criteria. The description is silent on usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_filesB
List files in Google Drive with optional filtering
| Name | Required | Description | Default |
|---|---|---|---|
| pageSize | No | Number of files to return | |
| pageToken | No | Token for pagination | |
| orderBy | No | Order by field (e.g., 'name', 'modifiedTime', 'size') | |
| q | No | Query string to filter files | |
| driveId | No | ID of the shared drive | |
| includeItemsFromAllDrives | No | Include items from all drives |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided. Description does not disclose pagination limitations, authentication needs, rate limits, or default behavior beyond listing. For a tool with 6 parameters, more transparency is needed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Extremely concise at 7 words, every word adds value. Front-loaded with verb and resource, no fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Minimal description for a tool with 6 parameters and no output schema. Adequate for a simple list operation but lacks details about sharing drives or query syntax that the schema hints at.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema covers all 6 parameters with descriptions (100% coverage). The description adds no extra parameter meaning beyond 'optional filtering', so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'list' and the resource 'files in Google Drive', with 'optional filtering' specifying a key capability. It distinguishes from siblings like search_files by implying a broader listing vs specific search.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives like search_files or get_file. No context on prerequisites or scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
move_fileC
Move a file to a new location
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ID of the file to move | |
| parentId | Yes | ID of the destination folder | |
| removeFromParents | No | Remove from current parent |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, description should disclose behavioral traits (e.g., file is removed from old parent, permissions may change). Merely says 'move to a new location', which is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, efficient. But could be slightly expanded for clarity without losing conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema and sibling tools like copy_file, description lacks detail on consequences (e.g., original file deletion) and return value. Incomplete for a file operation tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema descriptions cover 100% of parameters, so description adds no extra meaning beyond schema. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states 'Move a file to a new location', with a specific verb and resource. However, it lacks differentiation from sibling tool copy_file, which could cause confusion.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use move vs copy or alternatives. Does not mention prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_filesC
Search for files in Google Drive using Google's search syntax
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query for files in Google Drive | |
| maxResults | No | Maximum number of results to return | |
| fileType | No | Filter by file type (e.g., 'application/vnd.google-apps.spreadsheet') | |
| orderBy | No | Order by field (e.g., 'name', 'modifiedTime', 'size') | |
| includeTrashed | No | Include trashed files |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description must disclose behavior. It only states 'search' (a read operation) but omits details like authentication, rate limits, or that it uses Google Drive API.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence, no filler, efficiently conveys the core functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite 5 parameters and no output schema, the description is too brief. It lacks information on return format, pagination, or explanation of the search syntax, making it incomplete for effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%; the description adds minimal extra meaning by mentioning 'Google's search syntax' for the query parameter, but other parameters are not elaborated beyond schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'search' and resource 'files in Google Drive', and hints at differentiation through 'Google's search syntax'. However, it doesn't explicitly distinguish from sibling 'list_files'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like 'list_files'. No mention of prerequisites or context where search is preferred.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
update_fileC
Update an existing file in Google Drive
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ID of the file to update | |
| name | No | New name for the file | |
| description | No | New description for the file | |
| content | No | New content for the file |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must disclose behavioral traits. It only states 'Update an existing file' without mentioning that both metadata and content can be modified, required permissions, or whether updates are partial or full replacements. This is insufficient for safe autonomous invocation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, which is concise but lacks structure or additional details. It does not front-load key constraints or provide a clear overview, making it minimally acceptable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 4 parameters, no annotations, and no output schema, the description is incomplete. It does not specify return values, explain optional vs required parameters, or cover edge cases. The agent would lack critical information to use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description does not add any semantic value beyond 'Update an existing file' โ it repeats the verb but offers no context about parameter relationships or intended use.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Update') and resource ('file'), clearly indicating the tool modifies an existing file. It implicitly distinguishes from siblings like 'create_file' or 'delete_file', but does not explicitly differentiate from other update operations or provide scope (e.g., metadata vs content).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives (e.g., copy_file, move_file, or create_file). The description provides no exclusions, prerequisites, or context for selecting this tool over others.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
15 tool updates
v1.6.2- First observed
copy_file - First observed
create_file - First observed
create_folder - First observed
delete_file - First observed
get_drive_info - First observed
get_file - First observed
get_file_content - First observed
get_file_permissions - First observed
get_file_revisions - First observed
list_files - First observed
list_shared_drives - First observed
move_file - First observed
search_files - First observed
share_file - First observed
update_file
TDQS
Most tools have clearly distinct purposes, but get_file and get_file_content overlap somewhat, as do list_files and search_files. Descriptions help differentiate them.
All tool names follow a consistent verb_noun pattern (e.g., create_file, list_files, delete_file), with no exceptions.
15 tools is well-scoped for a Google Drive server, covering file operations, folders, sharing, permissions, and search without being excessive.
Core CRUD, sharing, permissions, and search are covered. Missing features like trash or copy folder are minor gaps that do not hinder typical workflows.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
A MCP server that works with Google Calendar to manage event listing, reading, and updates.
Notes, files, GitHub, and Drive through one MCP connection.
Notes, files, GitHub, and Drive through one MCP connection.
Related MCP Servers
- -licenseNot gradedqualityAmaintenanceThis MCP server integrates with Google Drive to allow listing, reading, and searching over files.6,70090,042MIT
- AlicenseNot gradedqualityDmaintenanceThis MCP server integrates with Google Drive to allow listing, reading, and searching files, as well as the ability to read and write to Google Sheets.1,3972MIT
- AlicenseNot gradedqualityAmaintenanceMCP server for Google Drive that enables listing, searching, uploading, downloading, and managing files and folders, as well as handling comments and permissions.2385MIT
- AlicenseAqualityAmaintenanceMCP server for interacting with Google Drive using a service account, restricted to a specific root folder. Supports file operations like search, list, create, update, and read.4241MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Longtran2404/mcp-google-drive'
If you have feedback or need assistance with the MCP directory API, please join our Discord server