Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchA
Search across Drive and Gmail.

Writes results to mise/ and returns path + summary.
Read the deposited JSON file for full results.

Args:
    query: Search terms. Optional when type or folder_id is set.
    sources: ['drive', 'gmail'] — default: both (drive only in guest mode). Also: 'activity' (recent comments), 'calendar' (recent events with attachments)
    max_results: Maximum results per source
    base_path: Directory for deposits (pass your cwd so files land next to your project, not the MCP server's directory)
    folder_id: Optional Drive folder ID to scope results to immediate children only.
        Non-recursive — only files directly inside this folder are returned.
        When set, forces sources=['drive'] (Gmail has no folder concept).
    type: Optional Drive file type filter. Applies to Drive only.
        Values: folder, doc, spreadsheet, sheet, slides, presentation, pdf, image, video, form

Returns:
    path: Path to deposited search results JSON
    query: The search query
    sources: Sources searched
    drive_count: Number of Drive results
    gmail_count: Number of Gmail results
    activity_count: Number of Activity results
    calendar_count: Number of Calendar results
    cues: Scope notes and warnings
fetchA
Fetch content to mise/ — auto-detects type (Drive file, Gmail thread, folder).

Pass base_path=cwd. Use attachment= for specific Gmail attachments (Office/PDF/image).
Use recursive=True on folders for full tree. Use tabs= to fetch specific spreadsheet tabs.
doA

Act on Google Workspace — create, move, edit, draft/reply emails, organise Gmail.

Operations: create, move, rename, share, overwrite, prepend, append, replace_text, draft, reply_draft, archive, star, label, comment_reply, setup_oauth. Create: content + title + doc_type (doc/sheet/slides/file/folder/form). page_setup='pageless' for pageless docs. file_path= to read from disk. folder: title only, no content needed. form: content is YAML/JSON spec with title, description, questions. Edit: overwrite (full replace), prepend/append (add to), replace_text (find + content). Email: draft (to + subject + content), reply_draft (file_id + content), archive/star/label. Comments: comment_reply (file_id + comment_id [from comments.md] + content and/or action=resolve|reopen). Replies auto-prefix '[agent] '. Share: file_id + to + role (reader/writer/commenter), confirm=True to execute. Move: file_id (single or list) + folder_id (alias: destination_folder_id). setup_oauth: bootstrap Google credentials when none exist. Opens a browser for consent; saves token to Keychain. force=true to re-auth.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
docs_overviewOverview of mise-en-space MCP server.
docs_searchDetailed documentation for the search tool.
docs_gmail_searchGmail search operator reference — tested against production API.
gmail_labelsLive label directory from the connected Gmail account.
docs_fetchDetailed documentation for the fetch tool.
docs_doDetailed documentation for the do tool.
docs_cross_sourceDocumentation for cross-source search patterns.
docs_workspaceDocumentation for the workspace/deposit folder structure.

Latest Blog Posts

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/spm1001/mise-en-space'

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