Skip to main content
Glama

Create a Google Doc

create_google_doc

Create a new Google Doc, optionally with its text written in markdown (# headings, - lists, bold become real formatting). Returns its id and link. Lands in the top level of the drive unless parentFolderId is given — which is required when your access to this mailbox is limited to certain folders.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mailbox": "<mailbox>",
      "title": "<title>"
    },
    "name": "create_google_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
contentNoThe document's text, in markdown
mailboxYesEmail address of the connected Gmail/Google Workspace mailbox to act on. Call list_authorized_mailboxes to see available options.
parentFolderIdNoDrive folder id to file the new document in. Required when your access is limited to certain folders.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare a non-destructive, non-read-only, closed-world write, and the description adds genuinely useful context: markdown is converted to real formatting, the return value is an id and link, and the default location is the top level of the drive. It stops short of stating what happens on title collisions, whether the mailbox address must be pre-connected, or any quota behavior, which would matter 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.

Conciseness4/5

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

Three tight sentences, front-loaded with purpose and return value, then the folder caveat. Every sentence carries information, though the em-dash clause is slightly dense and could be split for scanability.

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?

With no output schema, the description correctly compensates by naming the returned id and link, and it explains the default filing location plus the conditional parentFolderId. For a four-parameter creation tool this is close to complete; only mailbox-side authorization expectations are left implicit.

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 coverage is 75%, so the schema largely documents title, content, mailbox and parentFolderId on its own. The description's markdown and folder-requirement statements essentially restate the schema descriptions rather than adding new semantics, and mailbox is never addressed. Baseline 3 is appropriate.

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

Purpose5/5

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

States a specific verb and resource ("Create a new Google Doc") plus a distinguishing capability (markdown content becomes real formatting), which separates it from append/replace siblings that operate on existing documents. An agent can tell from the first clause that this produces a new file rather than modifying one.

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?

Gives a clear conditional rule for parentFolderId ("required when your access to this mailbox is limited to certain folders") that tells the agent when the parameter becomes mandatory. It does not explicitly name append_to_google_doc as the alternative when a document already exists, so the new-vs-existing routing is only implied by the verb.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources