Skip to main content
Glama
aaronsb

Google Workspace MCP Server

by aaronsb

manage_scratchpad

Compose and edit multi-line text in a scratchpad, then deliver to Gmail, Docs, Sheets, Calendar, or Tasks. Supports line/JSON editing, file attachments, and imports.

Instructions

Compose, edit, and deliver text content. Use for any multi-line content: emails, documents, descriptions. Compose in the scratchpad, edit by line or JSON path, attach files, then send to any target. For short one-liners, use the service tool directly instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keepNoFor send: keep scratchpad after successful send (default: true)
pathNoFor json_* ops: JSON path (e.g., $.config.name, $.items[0].value)
labelNoFor create: optional human-readable label
refIdNoFor detach: attachment reference ID (att-1, att-2, etc.)
valueNoFor json_set, json_insert: value to set or insert (any JSON type)
fileIdNoFor attach (drive source): Drive file ID
formatNoFor create: content format (default: text). Controls validation and addressing mode.
sourceNoFor attach: file source (workspace or drive). For import: resource type (doc, email, sheet, drive_file).
targetNoFor send: delivery target
contentNoText content. For create (pre-fill), insert_lines, append_lines, replace_lines.
endLineNoEnd of line range (inclusive). For replace_lines, remove_lines, copy_lines, view.
filenameNoFor attach (workspace source): filename in workspace
afterLineNoInsert after this line number (0 = prepend). For insert_lines, copy_lines, attach.
operationYescreate: new buffer | view: show content | discard: free buffer | list: show all | insert_lines/append_lines/replace_lines/remove_lines: line editing | copy_lines: copy from another scratchpad | json_get/json_set/json_delete/json_insert: path-addressed JSON editing | attach/detach: file references | import: load from Google Workspace resource | send: deliver to target
startLineNoStart of line range (1-based). For replace_lines, remove_lines, copy_lines, view.
scratchpadIdNoScratchpad ID (sp-XXXX). Required for all operations except create and list.
sourceParamsNoFor import: source-specific parameters (e.g., { documentId, mode } for doc, { messageId } for email)
targetParamsNoFor send: target-specific parameters (e.g., { email, to, subject } for email, { filename } for workspace)
fromScratchpadIdNoFor copy_lines: source scratchpad ID
Install Server

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden of behavioral disclosure. It usefully states the workflow: compose, edit by line or JSON path, attach files, and send to any target. However, it does not disclose side effects, irreversibility of sends, lifecycle/destruction of scratchpads, auth requirements, or error behavior, so important behavioral context is left to the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tightly packed sentences: purpose, workflow, and a functional exclusion. Every sentence earns its place, the main payload is front-loaded, and there is no fluff or repetition that wastes an agent's context window.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 19-parameter tool with 17 operations and no output schema, the description supplies a clear mental model that the schema cannot provide, and the schema supplies the per-operation and per-parameter detail. The main gap is that the generic 'service tool' alternative is not mapped to a concrete sibling, and import/copy/list/discard aspects are only discoverable from the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 19 parameters. The description adds a useful high-level grouping (line editing, JSON path, attachment, delivery) but does not add syntactic or semantic detail beyond what the parameter descriptions already provide; baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool as composing, editing, and delivering multi-line text content, and ties it to a distinct scratchpad workflow (edit by line/JSON path, attach, send). It does not explicitly differentiate among the named sibling tools beyond pointing to a generic 'service tool', so it misses the strongest sibling-differentiation credit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit when-to-use signal ('any multi-line content: emails, documents, descriptions') and an explicit when-not-to-use signal ('short one-liners... use the service tool directly'). The alternative is named only generically, not tied to a specific sibling, which is a partial gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

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/aaronsb/google-workspace-mcp'

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