We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CharlesAD/gmail-mcp-server-claude'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
debug_docs.py•530 B
from gmail_client import get_docs_service
import os
def main():
doc_id = os.environ.get("STYLE_GUIDE_DOC_ID")
if not doc_id:
raise RuntimeError("STYLE_GUIDE_DOC_ID is not set in environment")
service = get_docs_service()
doc = service.documents().get(documentId=doc_id).execute()
title = doc.get("title", "<no title>")
print("Doc title:", title)
print("First 500 chars of body:")
print(str(doc)[:500]) # just a crude check it's returning something
if __name__ == "__main__":
main()