Skip to main content
Glama

Docs Create Document

docs_create_document

Creates a new empty Google Docs document in My Drive and returns its document ID, title, revision ID, and URL for later editing or sharing.

Instructions

Create a new, empty Google Docs document in the root of the user's My Drive. Add text afterwards with docs_append_document_text, or copy an existing document with drive_copy_file instead. Returns status 'ok', document_id (the ID every other docs_ tool takes), title, revision_id and url.

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": {
      "title": "<title>"
    },
    "name": "docs_create_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesTitle of the new document, also used as its Drive file name.

Output Schema

NameRequiredDescriptionDefault
urlNo
titleNo
statusNoMachine-readable operation status.
document_idNo
revision_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare write, non-idempotent, non-destructive, open-world behavior, so the bar is lower. The description adds useful context beyond them: the document is empty at creation, it lands in the My Drive root, and document_id is the identifier every other docs_ tool consumes. It doesn't discuss title collisions or quota/permission requirements, keeping it short of a 5.

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 tight sentences: what it does, what to do instead in adjacent cases, then what comes back. Scope and alternatives are front-loaded with zero filler.

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

Completeness5/5

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

An output schema exists, yet the description still surfaces the key return fields including the cross-tool document_id, and the one required parameter is fully covered by the schema. Nothing an agent needs to invoke this correctly is missing.

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 100% and the single parameter's schema text already notes the title doubles as the Drive file name, so the description contributes no additional parameter meaning. The mention of document_id refers to the return value, not an input. 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?

Specific verb and resource ('Create a new, empty Google Docs document') with an explicit location scope ('root of the user's My Drive'). It is clearly separable from siblings: append-text and copy-file are named as different operations.

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

Usage Guidelines5/5

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

It routes the agent explicitly: use docs_append_document_text to add content afterwards, and drive_copy_file instead when copying an existing document. That covers both the follow-up action and the main create-vs-copy decision point.

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

Deploy Server

Other Tools