Skip to main content
Glama

Google Workspace MCP Server

MIT License
105
  • Apple
  • Linux

get_doc_content

Extracts and retrieves content from Google Docs or Drive files (e.g., .docx) using document_id. Fetches native Docs content via Docs API and extracts text from Office files via Drive API. Returns document content with metadata header.

Instructions

Retrieves content of a Google Doc or a Drive file (like .docx) identified by document_id. - Native Google Docs: Fetches content via Docs API. - Office files (.docx, etc.) stored in Drive: Downloads via Drive API and extracts text. Returns: str: The document content with metadata header.

Input Schema

NameRequiredDescriptionDefault
docs_serviceYes
document_idYes
drive_serviceYes
user_google_emailYes

Input Schema (JSON Schema)

{ "properties": { "docs_service": { "title": "docs_service", "type": "string" }, "document_id": { "title": "Document Id", "type": "string" }, "drive_service": { "title": "drive_service", "type": "string" }, "user_google_email": { "title": "User Google Email", "type": "string" } }, "required": [ "drive_service", "docs_service", "user_google_email", "document_id" ], "title": "get_doc_contentArguments", "type": "object" }

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/taylorwilsdon/google_workspace_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server