Skip to main content
Glama

Google Docs MCP

Let Claude work with your Google Docs. Google Docs MCP is a Model Context Protocol (MCP) server that creates, reads, edits, formats and searches Google Docs through the official Google Docs and Google Drive APIs.

You can use it in two ways:

  • Claude Desktop extension (.mcpb). Install one file, fill in two settings, and sign in with Google. You don't need Node.js, npm or any JSON configuration.

  • Standalone MCP server. Run it with Node.js from any MCP client, such as Claude Code, VS Code or Cursor.

Google Docs MCP is an independent open-source project. It is not affiliated with or endorsed by Google.


Contents

Related MCP server: Google Drive MCP Server

Features

  • Documents: create a document (optionally with initial text), read it, list your documents, copy one, or move one to the Drive trash.

  • Content: append text, insert text at a position, replace every occurrence of a phrase, or delete a range. Deletion can first check that the range still contains the text you expect.

  • Formatting: bold, italic, underline, strikethrough, font family and size, text and highlight colors, Title, Subtitle and Heading 1–6 styles, and alignment.

  • Structure: page breaks, tables, links, and bulleted, numbered or checkbox lists.

  • Search: find documents by name or content, and find a phrase inside a document with its exact position.

  • Sign-in: Google OAuth 2.0 with PKCE. Access tokens refresh automatically, and you can sign in or out by asking Claude.

  • Resource and prompts: a google-docs://document/{documentId} resource with a document's text, plus prompts to summarize, rewrite and format a document or create meeting notes.

Requirements

  • Claude Desktop with extension support (macOS or Windows).

  • A Google account.

  • A Google Cloud OAuth client. It's free and takes about 10 minutes to create. See Setup.

The extension runs on the Node.js runtime built into Claude Desktop and requires Node.js 22 or newer.

Why do I need my own OAuth client? Full Google Drive access is a restricted Google scope. An app that shares one OAuth client with the public needs a paid Google security assessment. With your own client, your data only flows between your computer and Google, and you stay in control of the app that accesses your account.

Installation (Claude Desktop)

The extension ships as a single .mcpb file (an MCP Bundle: the server, its dependencies and a manifest in one archive). Nothing else has to be installed.

1. Get the file

Download google-docs-mcp.mcpb from the latest release.

macOS and Linux:

curl -L -o ~/Downloads/google-docs-mcp.mcpb https://github.com/ammarqaisar11a55/google-docs-mcp/releases/latest/download/google-docs-mcp.mcpb

Windows (PowerShell):

curl.exe -L -o "$env:USERPROFILE\Downloads\google-docs-mcp.mcpb" https://github.com/ammarqaisar11a55/google-docs-mcp/releases/latest/download/google-docs-mcp.mcpb

You can also build it yourself: npm run package writes build/google-docs-mcp.mcpb.

2. Install it in Claude Desktop

  1. Open Claude Desktop → Settings → Extensions.

  2. Drag google-docs-mcp.mcpb into the Extensions window, or choose Advanced settings → Install Extension… and select the file. Double-clicking the file also opens the installer. Labels differ slightly between Claude Desktop versions.

  3. Review the name, version and permissions, then click Install.

  4. Enter the Client ID and Client secret from Setup when Claude Desktop asks for the extension settings. The other settings can stay at their defaults.

  5. Make sure the extension is enabled.

The extension is listed as Google Docs for Claude. To change a setting later, reopen its configuration under Settings → Extensions. Then continue with Sign in with Google.

If your Claude Desktop has no Extensions screen

Extension support ships in Claude Desktop for macOS and Windows; other builds may not have it yet. Use the standalone MCP server instead — same tools, configured through claude_desktop_config.json.

Setup

1. Create a Google OAuth client (once)

  1. Open the Google Cloud Console and create a project, for example google-docs-claude.

  2. Go to APIs & Services → Library and enable the Google Docs API and the Google Drive API.

  3. Go to APIs & Services → OAuth consent screen (Google Auth Platform) and click Get started:

    • Branding: enter an app name and your email address.

    • Audience: choose External, and under Test users add the Google account you'll use.

    • Data access (optional): add the scopes listed under Permissions.

  4. Go to Clients → Create client and choose Application type: Desktop app. A Desktop app client is required.

  5. Copy the Client ID and the Client secret.

2. Configure the extension

In Settings → Extensions → Google Docs for Claude, open the configuration and fill in:

Setting

Required

Description

Google OAuth Client ID

yes

Ends in .apps.googleusercontent.com.

Google OAuth Client secret

yes

Stored securely by Claude Desktop as a sensitive value.

Limit Drive access to this extension's files

no

Least privilege. Drive operations (list, search, copy, trash) only see documents created or opened by this extension. Default: off.

Sign-in callback port

no

Local port on 127.0.0.1 that receives the sign-in redirect. Default: 53682. Change it only if another program uses the port.

Debug logging

no

Detailed diagnostic logs, with secrets always redacted. Default: off.

Make sure the extension is enabled.

3. Sign in with Google

In a new chat, ask Claude:

Sign in to Google.

Claude calls the authenticate tool, which opens a Google sign-in page in your browser and also shows the link in the chat. Choose your account and approve access.

While your OAuth app is in Testing status, Google shows a "Google hasn't verified this app" warning. That's expected for your own app: click Advanced → Go to app name. Afterwards, ask Claude to check the connection:

Check my Google sign-in status.

To disconnect at any time, ask Claude to sign out of Google. That revokes access at Google and deletes the stored tokens.

Available Tools

Every documentId parameter also accepts a full Google Docs URL.

Tool

Description

get_auth_status

Check whether the extension is signed in to Google with the required permissions. Never returns tokens.

authenticate

Start Google sign-in and return the link to approve access.

sign_out

Revoke Google access and delete the locally stored tokens.

create_document

Create a new Google Doc, optionally with initial text (title, initialContent?).

get_document

Read a document's text and structure outline, including exact positions (includeStructure?, maxTextLength?).

list_documents

List your Google Docs, most recently modified first (limit?, pageToken?, search?).

delete_document

Move a document to the Google Drive trash, where it can be restored for 30 days. Never deletes permanently.

copy_document

Copy a document under a new title (newTitle).

append_text

Append text to the end of a document (text, startNewParagraph?).

insert_text

Insert text at a position (index, text).

replace_text

Replace every occurrence of a phrase (searchText, replacementText, matchCase?).

delete_text

Delete a range (startIndex, endIndex), optionally only if it still contains expectedText.

format_text

Apply bold, italic, underline, strikethrough, fontSize, fontFamily, foregroundColor, backgroundColor.

set_paragraph_style

Apply NORMAL_TEXT, TITLE, SUBTITLE or HEADING_1 … HEADING_6.

set_alignment

Align paragraphs: START, CENTER, END or JUSTIFIED.

insert_page_break

Insert a page break at a position.

insert_table

Insert an empty table (rows, columns).

insert_link

Turn existing text into an http, https or mailto link.

create_bulleted_list

Turn paragraphs into a bulleted, numbered or checkbox list.

search_documents

Search Google Docs by name, content or both (query, searchIn?, limit?, pageToken?).

find_text

Find a phrase in a document and return the exact start and end position of each match.

Every tool returns { "success": true, "data": … } or { "success": false, "error": { "code", "message", "retryable" } }, and failures also set MCP's isError flag. The error codes are NOT_AUTHENTICATED, AUTH_EXPIRED, INVALID_CREDENTIALS, CONFIG_ERROR, INVALID_DOCUMENT_ID, DOCUMENT_NOT_FOUND, PERMISSION_DENIED, INVALID_INDEX, INVALID_ARGUMENT, INVALID_REQUEST, RATE_LIMITED, NETWORK_ERROR, GOOGLE_API_ERROR and INTERNAL_ERROR.

About positions. Editing tools use Google Docs indexes: the body starts at index 1, and every insert or delete shifts the text after it. Claude gets exact positions from get_document or find_text, and applies several edits from the end of the document backwards.

About search. Name search matches words in a document's name that start with your query. Content search uses Google Drive's full-text index, which matches words rather than arbitrary fragments and may take a while to include recent edits. Results only include Google Docs that aren't in the trash.

Usage Examples

Create a Google Doc called "Project Notes" with a short introduction to our Q4 goals.
Find my document named "Semester Plan".
Add this content to the end of my "Semester Plan" doc: Week 10 — final project presentations.
Search my Google Docs for anything that mentions "budget".
In "Project Notes", make "Q4 Goals" a Heading 1 and turn the lines under it into a bulleted list.
Replace every "2025" with "2026" in my "Roadmap" document.
Make every mention of "deadline" in "Semester Plan" bold and red.
Summarize my "Meeting Notes 12 Sept" document.
Make a copy of "Proposal Template" called "FYP Proposal".
Move the "Old Draft" document to the trash.

Permissions

The extension requests exactly two Google OAuth scopes.

Scope

When

Why it is needed

https://www.googleapis.com/auth/documents

always

Create documents and read, edit and format their content through the Google Docs API. It applies to Google Docs you can access, which lets you point Claude at any document by URL or ID.

https://www.googleapis.com/auth/drive

default

Drive operations on all your existing Docs: list and search (list_documents, search_documents), copy (copy_document), move to trash (delete_document), and check that a file is a Google Doc before changing it. Narrower Drive scopes can't list or search documents this extension didn't create.

https://www.googleapis.com/auth/drive.file (instead)

"Limit Drive access" setting on

Least privilege. The same Drive operations, but only for documents created or opened by this extension.

Other scopes were ruled out:

  • drive.readonly and drive.metadata.readonly can't copy or trash documents.

  • drive.file alone can't find the documents you already have, so it's offered as an option rather than the default.

After changing the "Limit Drive access" setting, sign in again. The extension reports missing permissions until you do.

Troubleshooting

Problem

Solution

Claude says it isn't signed in (NOT_AUTHENTICATED)

Ask Claude to "sign in to Google" and approve access. This is also needed after changing the OAuth client or the Drive access setting.

AUTH_EXPIRED about once a week

Google expires sign-ins after 7 days while the OAuth app's publishing status is Testing. Sign in again, or set the app to In production under Google Auth Platform → Audience. Personal use doesn't need Google verification.

Error 403: access_denied in the browser

Your Google account isn't a test user of the OAuth app. Add it under Google Auth Platform → Audience → Test users.

Error 400: redirect_uri_mismatch

The OAuth client isn't of type Desktop app. Create a Desktop app client and update the settings.

INVALID_CREDENTIALS

The Client ID or Client secret is wrong or missing. Re-enter both in the extension settings.

CONFIG_ERROR: ... API is not enabled

Enable both the Google Docs API and the Google Drive API in the project that owns your OAuth client, wait a minute, and retry.

CONFIG_ERROR: The OAuth callback port ... is already in use

Change Sign-in callback port in the extension settings, for example to 53999. Nothing needs to change in Google Cloud.

The sign-in link doesn't work

Open it on the same computer that runs Claude Desktop, within 5 minutes. Ask Claude to sign in again for a fresh link.

Documents are missing from lists or searches

With "Limit Drive access" on, only documents created or opened by this extension are visible. Turn it off and sign in again. Recently edited documents can also take a moment to show up in content search.

INVALID_INDEX

The document changed since its positions were read. Ask Claude to re-read the document and try again.

RATE_LIMITED

Google API quota exceeded. Wait a minute and retry.

The extension fails to start or reports Node.js as incompatible

The extension needs Node.js 22 or newer. Update Claude Desktop, or install Node.js 22+ and let Claude Desktop use it instead of its built-in runtime (Settings → Extensions → Advanced settings, where available).

Where are the logs?

Claude Desktop keeps MCP server logs in its logs folder: ~/Library/Logs/Claude on macOS, %APPDATA%\Claude\logs on Windows. Turn on Debug logging for more detail. Tokens and secrets are always redacted.

Updating and Uninstalling

Updating. Download the new google-docs-mcp.mcpb and install it the same way; Claude Desktop replaces the existing version. Your Google sign-in is stored outside the extension, so you normally don't need to sign in again.

Uninstalling.

  1. Optional but recommended: ask Claude to sign out of Google. This revokes access and deletes the token file.

  2. In Settings → Extensions, open Google Docs for Claude and choose Uninstall.

  3. If you didn't sign out first, delete the token file (~/.config/google-docs-mcp/tokens.json on macOS and Linux, %APPDATA%\google-docs-mcp\tokens.json on Windows) and remove the app's access at myaccount.google.com/permissions.


Standalone MCP Server

The same server runs without Claude Desktop, from any MCP client that supports stdio servers.

Requirements

  • Node.js 22.12 or newer.

  • The Google OAuth client from Setup.

Install and build

git clone https://github.com/ammarqaisar11a55/google-docs-mcp.git
cd google-docs-mcp
npm ci
npm run build

Configure

cp .env.example .env

Edit .env:

Variable

Default

Description

GOOGLE_CLIENT_ID

–

OAuth client ID (Desktop app). Required.

GOOGLE_CLIENT_SECRET

–

OAuth client secret. Required.

GOOGLE_REDIRECT_URI

http://127.0.0.1:53682/oauth2callback

Loopback URL (127.0.0.1, localhost or [::1]) with an explicit port.

GOOGLE_TOKEN_PATH

~/.config/google-docs-mcp/tokens.json

Token file location. On Windows the default is %APPDATA%\google-docs-mcp\tokens.json.

GOOGLE_DRIVE_SCOPE

drive

drive or drive.file. See Permissions.

GOOGLE_DRIVE_FILE_ONLY

false

Boolean form of the same setting (true means drive.file). GOOGLE_DRIVE_SCOPE wins if both are set.

LOG_LEVEL

info

error, warn, info or debug. Logs go to stderr.

GOOGLE_DOCS_MCP_DEBUG

false

true is a shortcut for LOG_LEVEL=debug.

GOOGLE_DOCS_MCP_LOAD_DOTENV

true

Set to false to ignore .env files. The Claude Desktop extension does this.

.env is read from the working directory and from the package root, and never overrides variables already set in the environment.

Sign in and run

node dist/index.js auth
node dist/index.js status

Other commands: node dist/index.js logout signs out, npm start runs the server, and npm run dev runs it with automatic restarts. You can also sign in from the AI client with the authenticate tool.

Connect an MCP client

Claude Code

claude mcp add google-docs -- node /absolute/path/to/google-docs-mcp/dist/index.js

Claude Desktop (manual configuration instead of the extension), Cursor and other clients that use the mcpServers format:

{
  "mcpServers": {
    "google-docs": {
      "command": "node",
      "args": ["/absolute/path/to/google-docs-mcp/dist/index.js"]
    }
  }
}

VS Code (.vscode/mcp.json):

{
  "servers": {
    "google-docs": {
      "type": "stdio",
      "command": "node",
      "args": ["/absolute/path/to/google-docs-mcp/dist/index.js"]
    }
  }
}

With credentials in <repo>/.env, no env block is needed. To see every tool interactively, use the MCP Inspector:

npx @modelcontextprotocol/inspector node dist/index.js

Development

npm ci                  # install dependencies from the lockfile
npm run dev             # run the server from source with automatic restarts
npm test                # unit tests (Google APIs mocked) and the stdio integration test
npm run typecheck       # type-check sources, tests and scripts
npm run lint            # ESLint (strict, type-aware)
npm run format          # Prettier
npm run build           # compile to dist/ (standalone server)
npm run package         # build the Claude Desktop extension: build/google-docs-mcp.mcpb
npm run package:check   # verify the .mcpb: contents, secrets, and a real launch
npm run validate:manifest  # validate manifest.json with the official mcpb CLI

npm run package does the following:

  1. Compiles the server into build/bundle without source maps.

  2. Installs only the production dependencies from package-lock.json (npm ci --omit=dev --ignore-scripts).

  3. Validates manifest.json and packs the folder with Anthropic's official @anthropic-ai/mcpb packer.

The result has no development dependencies, sources, tests or secrets, and needs nothing installed on the user's machine.

npm run package:check does the following:

  1. Unpacks the bundle into a temporary folder.

  2. Validates the manifest.

  3. Checks that every runtime dependency is present, and rejects source files, source maps, development dependencies, .env files, token files and anything that looks like a secret.

  4. Starts the bundled server outside the repository, with the same launch configuration Claude Desktop derives from manifest.json.

  5. Checks the tools, prompts, resources and sign-in state over MCP.

Optional real-account tests. These create, edit and trash real documents, so use a test account:

RUN_GOOGLE_INTEGRATION_TESTS=true npm run test:integration

Releases. Bump version in both package.json and manifest.json (a unit test enforces that they match), update CHANGELOG.md, then push a vX.Y.Z tag. The release workflow runs every check, builds and verifies the .mcpb, and attaches it to the GitHub release. See CONTRIBUTING.md.

Architecture

Claude Desktop
    │  installs google-docs-mcp.mcpb, stores the settings (client secret as a sensitive value)
    │  and launches: node ${__dirname}/dist/index.js with the settings as environment variables
    ▼
MCP server (stdio, @modelcontextprotocol/server v2)   ← also usable standalone: node dist/index.js
    │
    ├── Tools / Resource / Prompts        src/tools, src/resources, src/prompts
    │        ▼
    ├── Services (validation, business logic)   src/services
    │        ▼
    ├── Google API clients                src/google  (@googleapis/docs, @googleapis/drive)
    │        ▲
    └── Google OAuth 2.0                  src/auth
             │  authorization code + PKCE, loopback redirect on 127.0.0.1
             │  tokens in a local 0600 file, refreshed automatically
             ▼
      Google Docs API  ·  Google Drive API
google-docs-mcp/
├── manifest.json          # Claude Desktop extension manifest (MCPB 0.3)
├── assets/icon.png        # Extension icon
├── src/                   # Server source (TypeScript)
├── scripts/               # package-mcpb.ts, verify-mcpb.ts
├── tests/                 # Unit and integration tests
└── .github/workflows/     # CI and release

Security

  • No secrets in the code or the package. The OAuth Client ID and secret come from the extension settings, where Claude Desktop stores the secret as a sensitive value, or from environment variables in standalone mode. npm run package:check fails if a .env, token or credentials file, or a token-like string, ends up in the bundle.

  • OAuth 2.0 done properly.

    • Sign-in uses the authorization-code flow with PKCE (S256) and a random state that is checked in constant time.

    • The redirect only goes to a loopback address.

    • The temporary callback server exists only during sign-in (at most 5 minutes).

  • Token storage.

    • Refresh and access tokens are created at runtime, and MCPB offers no host storage for runtime-generated secrets. So they are stored in a local file (tokens.json) with mode 0600 inside a 0700 folder, written atomically.

    • Tokens are only sent to Google, never returned by any tool, and are bound to the OAuth client that issued them.

    • sign_out revokes the grant at Google and deletes the file.

  • No token logging. Logs go to stderr only; stdout is reserved for MCP. Tokens, client secrets, authorization codes and Authorization headers are redacted, tool arguments (which may contain document content) are never logged, and library stack traces are never logged or returned.

  • Safe errors. Tool errors carry a stable code and a readable, actionable message without secrets, stack traces or file paths.

  • Input validation. Every tool has a strict schema that rejects unknown arguments. Document IDs and URLs must match a strict pattern, positions are checked against the live document before writing, link URLs must be http, https or mailto, and Drive search input is escaped.

  • Safe edits. delete_document only moves Google Docs files to the trash. delete_text can verify the text it is about to delete. Writes use targetRevisionId, so concurrent edits by collaborators don't shift positions onto the wrong text.

  • Settings isolation. The extension ignores .env files, so a stray file can't change its configuration. An invalid configuration doesn't crash the server: tools report exactly what to fix.

  • Dependencies. Only five runtime dependencies (the MCP SDK, Google's official API clients and auth library, and zod). The bundle is installed from the lockfile with install scripts disabled, and npm audit reports no known vulnerabilities at the time of release.

License

MIT © Muhammad Ammar Qaisar

Available Tools

21 tools
append_textAppend text to Google DocA

Append text to the end of a Google Doc’s body. No indexes are needed, so prefer this over insert_text whenever content should go at the end. By default the text starts in a new paragraph (a paragraph break is added first if the last paragraph is not empty); set startNewParagraph=false to continue the last paragraph instead. Use "\n" inside text to create further paragraphs. Returns insertedLength and the index range of the appended text (textStartIndex/textEndIndex), which can be passed to format_text or set_paragraph_style. Carriage returns become "\n" and control characters Google Docs cannot store are removed.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesThe text to append. "\n" starts a new paragraph.
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.
startNewParagraphNoStart the text in a new paragraph when the last paragraph is not empty (default true). Set false to continue the last paragraph.

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only cover the safety profile (non-read-only, non-idempotent, non-destructive). The description goes well beyond, disclosing the default new-paragraph behavior and the conditional paragraph break, text normalization (carriage returns to \n, control-character stripping), and the appended index range usable downstream.

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?

Purpose is front-loaded in the first sentence, then routing, defaults, return values, and normalization each earn their sentence. Dense but zero waste.

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?

No output schema exists, yet the description documents what is returned (insertedLength, textStartIndex/textEndIndex) and how to consume it, and covers the mutation's edge cases. Nothing needed to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description adds real meaning the schema does not, notably how startNewParagraph interacts with a non-empty last paragraph and the role of \n in creating further paragraphs.

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+resource+scope (append text to the end of a Google Doc's body) and explicitly contrasts with the sibling insert_text. An agent can distinguish it from insert_text and format_text without opening a schema.

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?

Explicitly names the alternative and the selecting condition: 'prefer this over insert_text whenever content should go at the end.' No prerequisite/authentication guidance, but the routing guidance is unambiguous.

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

authenticateSign in with GoogleA

Start the Google OAuth sign-in. Returns an authUrl that the user must open in a browser on the computer running this server to approve access to Google Docs and Drive; the server receives the result automatically on a local loopback address. Show the URL to the user, wait for them to confirm they approved access, then call get_auth_status. If already signed in, nothing happens unless force is true.

ParametersJSON Schema
NameRequiredDescriptionDefault
forceNoStart a new sign-in even if valid credentials already exist.
openBrowserNoAlso try to open the sign-in URL in the default browser automatically.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, but the description goes further with behavior the annotations cannot convey: the loopback callback means the flow only works when the user's browser is on the machine running the server, and the server receives the result automatically. It also discloses that no change occurs when credentials already exist. This is exactly the kind of context that prevents misuse.

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 sentences, front-loaded with the action and the returned artifact, then the procedural steps. Nothing is wasted, though the final conditional clause is slightly buried after the procedural instructions rather than merged with the earlier force mention.

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?

Although there is no output schema, the description explains the return value (authUrl) and what must be done with it. For a two-optional-parameter auth flow with annotations covering the safety profile, an agent has everything needed to call it correctly and handle the result.

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 both parameters carry their own descriptions, so the schema does the heavy lifting. The description reinforces force's semantics ("unless force is true") but says nothing about openBrowser, adding no meaning beyond the schema. 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?

"Start the Google OAuth sign-in" is a specific verb+resource and immediately separates this from sign_out and get_auth_status in the sibling list. The description also names the artifact it produces (authUrl), so an agent knows exactly what the tool does before opening the schema.

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 states the full workflow: show the URL, wait for user confirmation, then call get_auth_status. It also names the alternative condition explicitly ("If already signed in, nothing happens unless force is true"), which tells the agent when a call is a no-op and how to override it.

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

copy_documentCopy Google DocA

Create a copy of an existing Google Doc with a new title (content and formatting are copied). Returns the new document’s ID and URL. Useful for templates or making a backup before large edits.

ParametersJSON Schema
NameRequiredDescriptionDefault
newTitleYesTitle for the copy.
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true). The description adds value beyond them by explaining that a brand-new document is produced with a new title and that the response includes the new ID and URL, which compensates for the absence of an output 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 compact sentences that are front-loaded with the core action, followed by return info and a use case. No filler or redundancy.

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?

Covers what the tool does, roughly what is preserved, the return values, and a use case, which is sufficient for a simple two-parameter tool. The only minor gap is not stating that repeated calls yield distinct new documents (consistent with idempotentHint=false).

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%, and the schema already documents both parameters, including the accepted URL format for documentId. The description adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb (Create a copy) and resource (existing Google Doc) plus the scope of what is copied (content and formatting). It is clearly distinct from destructive or read tools, but it does not explicitly differentiate itself from the sibling create_document, which is a natural point of confusion.

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 clear usage context ('useful for templates or making a backup before large edits'), which tells an agent when this tool is appropriate. However, it names no alternatives or exclusions, so it does not explicitly contrast with create_document or get_document.

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

create_bulleted_listCreate list in Google DocA
Idempotent

Turn every paragraph that overlaps the index range [startIndex, endIndex) of a Google Doc into a list item: listType "bulleted" (default), "numbered" (1., a., i.) or "checkbox". Consecutive paragraphs become one list; to build a list from new content, append or insert the items as separate lines ("\n"-separated) first, then call this with their range. Leading tab characters in the paragraphs are converted into nesting levels and removed, which shifts later indexes; otherwise indexes are unchanged. Get paragraph indexes from get_document’s structure outline.

ParametersJSON Schema
NameRequiredDescriptionDefault
endIndexYesEnd of the range (exclusive); must be greater than startIndex.
listTypeNobulleted (•), numbered (1. 2. 3.) or checkbox (☐). Default: bulleted.bulleted
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.
startIndexYesStart of the range (inclusive). Get exact indexes from get_document or find_text.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=true, so safety is covered. The description adds substantive behavior beyond that: consecutive paragraphs merge into one list, leading tabs become nesting levels and are removed, which shifts later indexes while otherwise indexes are unchanged. Auth/permission and error behavior are not covered.

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 dense sentences, front-loaded with the core action, then the listType options and default, then the new-content workflow and index-shift caveat. Every clause carries information; there is no filler.

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 non-destructive, idempotent mutation tool with no output schema, the definition covers purpose, options, workflow, and index side effects well. It does not mention permissions/scope requirements or what the call returns, leaving minor gaps.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds meaning beyond the schema: it explains the nested-file default for listType, the '1., a., i.' numbering forms, and—most importantly—that leading-tab characters in the target paragraphs drive nesting levels, which is not captured in any parameter description.

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: turning paragraphs in an index range of a Google Doc into list items. It names concrete variants (bulleted/numbered/checkbox) and is easily distinguished from siblings like format_text or set_paragraph_style, which don't create list structure.

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 clear context for use and a workflow: to build a list from new content, append/insert the items as newline-separated lines first, then call this with their range. It also points to get_document for obtaining indexes. No explicit exclusions or when-not-to-use against specific siblings, so slightly short of 5.

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

create_documentCreate Google DocA

Create a new Google Docs document with the given title in the user’s Google Drive, optionally filled with initial plain text. Returns the new documentId, title and URL. Headings, bold text and lists are not created from the text: apply them afterwards with set_paragraph_style, format_text or create_bulleted_list (use find_text or get_document for the indexes). To add more content later use append_text.

ParametersJSON Schema
NameRequiredDescriptionDefault
titleYesTitle of the new document, e.g. "FYP Proposal".
initialContentNoOptional plain text to put in the new document. Use "\n" to separate paragraphs.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations indicate a non-read-only, non-idempotent mutation, and the description adds context by disclosing the exact return values (documentId, title, URL) and the plain-text-only behavior. It does not fully discuss authentication prerequisites or side effects on Drive, but the description meaningfully expands on what the annotations alone provide.

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 sentences carry the core create behavior, return values, formatting limitations, and sibling tool routing with no filler. The most important information is front-loaded, and each sentence earns its place.

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?

Despite having no output schema, the description discloses return values and the plain-text limitation, which are the main gaps an agent would need to know. It also covers what to use next for formatting and content additions, making it complete for a tool of this complexity.

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%, so the schema already documents title and initialContent with examples and constraints. The description mentions 'given title' and 'initial plain text,' but these largely mirror the existing parameter descriptions rather than adding significant new meaning beyond the schema.

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?

The description starts with a specific verb and resource: 'Create a new Google Docs document with the given title in the user’s Google Drive,' and further specifies optional initial content. It clearly distinguishes this tool from siblings like append_text, copy_document, and delete_document by stating what it does and what it returns.

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?

The description gives explicit routing guidance: it warns that formatting is not created from plain text and directs the agent to set_paragraph_style, format_text, or create_bulleted_list, plus find_text or get_document for indexes. It also explicitly says to use append_text for adding more content later, which is strong when-to-use-versus-alternatives guidance.

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

delete_documentMove Google Doc to trashA
DestructiveIdempotent

Delete a Google Doc by moving it to the user’s Google Drive trash. It is NOT permanently deleted and can be restored from the Drive trash for 30 days. Only Google Docs files are accepted. Only call this when the user clearly asked to delete this specific document; if it is ambiguous which document is meant, ask the user first.

ParametersJSON Schema
NameRequiredDescriptionDefault
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description adds context annotations cannot convey: the deletion is reversible ('NOT permanently deleted'), the recovery window (30 days in Drive trash), and an accepted-input restriction (Docs files only). This is exactly the behavioral detail an agent needs before calling a destructive tool.

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?

Four short sentences, front-loaded with the action and mechanism, then recovery behavior, then scope limits, then calling conditions. No redundant restatement of the title or schema.

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?

For a single-parameter destructive tool with no output schema, the definition covers reversibility, recovery window, accepted input type, and invocation preconditions. Annotations carry the safety profile and the description fills in everything else needed to call it correctly.

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% and the single documentId parameter is fully documented in the schema, including the URL-extraction hint. The description adds nothing further about the parameter, so the baseline 3 applies.

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+resource ('Delete a Google Doc') with an immediate clarification of mechanism ('by moving it to the user's Google Drive trash'). The scope constraint 'Only Google Docs files are accepted' distinguishes it from sibling text/format tools like delete_text, and the trash semantics separate it from any hard-delete operation.

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 an explicit precondition ('Only call this when the user clearly asked to delete this specific document') and a when-not branch ('if it is ambiguous which document is meant, ask the user first'). It does not name sibling alternatives such as delete_text for removing content inside a doc, so it stops short of full alternative routing.

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

delete_textDelete text from Google DocA
Destructive

DESTRUCTIVE: delete the content in the index range [startIndex, endIndex) of a Google Doc (endIndex is exclusive). Get the indexes from get_document or find_text immediately before calling. Strongly recommended: pass expectedText with the exact text currently in that range (including any "\n" paragraph breaks); if it does not match, nothing is deleted and the current text is returned, which protects against stale indexes. The document’s final newline cannot be deleted (the maximum endIndex is bodyEndIndex-1). Deleting a paragraph break merges the two paragraphs; tables can only be deleted as a whole, although the text inside a cell can be deleted. Every later index shifts back by deletedLength. Deleted content can only be recovered from the Google Docs version history. To delete every occurrence of a phrase use replace_text with an empty replacementText.

ParametersJSON Schema
NameRequiredDescriptionDefault
endIndexYesEnd of the range (exclusive); must be greater than startIndex.
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.
startIndexYesStart of the range (inclusive). Get exact indexes from get_document or find_text.
expectedTextNoThe exact text currently in [startIndex, endIndex). If given, the deletion is refused when the document text differs.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds substantial context beyond them: the expectedText mismatch guard (nothing deleted, current text returned), the un-deletable final newline, paragraph-merge on break deletion, whole-table-only deletion, index shifting, and version-history-only recovery.

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?

Long but front-loaded with the DESTRUCTIVE warning and endIndex exclusivity first. Every sentence carries operational information, though a few clauses could be tightened without losing meaning.

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?

Complete for a destructive mutation tool with no output schema: it discloses the guard's return behavior on mismatch, the index bounds invariant, and recovery limitations. Nothing an agent needs to call it safely is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents all four parameters and their semantics. The description still adds value by explaining the guard behavior of expectedText (including the "\n" paragraph-break requirement) and echoing the inclusive/exclusive index semantics.

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 (delete), a precise resource (content in [startIndex, endIndex) of a Google Doc), and clarifies scope (endIndex exclusive). Clear differentiation from siblings like delete_document and replace_text.

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?

Explicitly says to obtain indexes from get_document or find_text immediately before calling, and routes the 'delete every occurrence' case to replace_text with an empty replacementText. Covers both when-to-use and the alternative.

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

find_textFind text in a Google DocA
Read-only

Find every occurrence of a literal phrase in a Google Doc (including text inside table cells) and return the exact startIndex/endIndex of each match, its paragraph style, whether it is in a table, and a short context snippet. Use this to get exact indexes for index-based tools such as format_text, delete_text, insert_link or insert_text. Matching is literal (no wildcards or regular expressions), case-insensitive unless matchCase is true, and a match cannot span paragraphs or include the paragraph’s line break. Indexes are only valid until the document is edited: when applying several edits, work from the last occurrence backwards.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesThe exact text to find.
matchCaseNoMatch upper/lower case exactly (default: case-insensitive).
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.
maxResultsNoMaximum number of occurrences to return (1-500). totalMatches always reports the full count.

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantive behavior beyond that: literal matching with no wildcards/regex, case-insensitivity unless matchCase is true, matches cannot span paragraphs or include the line break, and indexes are invalidated by subsequent edits. These are exactly the failure modes an agent would otherwise hit blindly.

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?

Purpose and return shape come first, then routing to sibling tools, then matching caveats and the edit-order rule. It is dense but every sentence carries actionable information with no 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?

There is no output schema, so the description correctly compensates by enumerating the return fields (startIndex/endIndex, paragraph style, table membership, context snippet). Combined with the literal-match and index-lifetime caveats, an agent has everything needed to call it and use the result safely.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3; the description still adds meaning by explaining that matching is literal and case-insensitive unless matchCase is true, clarifying the semantics of that flag. It adds nothing further about maxResults, which the schema already covers via totalMatches.

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?

The description states a specific verb and resource ('Find every occurrence of a literal phrase in a Google Doc') and immediately delimits scope ('including text inside table cells'). It also enumerates what is returned, so the agent knows exactly what this tool produces versus sibling readers like get_document.

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 explicitly names the downstream consumers ('index-based tools such as format_text, delete_text, insert_link or insert_text'), which tells the agent when to reach for find_text instead of replace_text. It also gives an operational rule for multi-edit workflows: work from the last occurrence backwards.

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

format_textFormat text in Google DocA
Idempotent

Apply character formatting to the text in the index range [startIndex, endIndex) of a Google Doc (endIndex is exclusive): bold, italic, underline, strikethrough, fontSize (points), fontFamily (e.g. "Arial", "Roboto") and foregroundColor/backgroundColor (hex such as #1A73E8). Only the properties you pass are changed; all other formatting is kept. Pass false to remove bold, italic, underline or strikethrough. At least one property is required. Get indexes from get_document or find_text (append_text and insert_text also return the range of the new text). Does not change text or indexes.

ParametersJSON Schema
NameRequiredDescriptionDefault
boldNotrue = bold, false = remove bold.
italicNotrue = italic, false = remove italic.
endIndexYesEnd of the range (exclusive); must be greater than startIndex.
fontSizeNoFont size in points (1-400).
underlineNotrue = underline, false = remove underline.
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.
fontFamilyNoFont family name as shown in Google Docs, e.g. "Arial" or "Roboto".
startIndexYesStart of the range (inclusive). Get exact indexes from get_document or find_text.
strikethroughNotrue = strikethrough, false = remove strikethrough.
backgroundColorNoHighlight (background) color as hex, e.g. "#FFFF00".
foregroundColorNoText color as hex, e.g. "#1A73E8".

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover the safety profile (idempotent, non-destructive, open-world), so the bar is lower, yet the description adds real value: only passed properties change, all other formatting is preserved, false removes a boolean style, and "Does not change text or indexes." That partial-update semantics is the key behavior an agent must know and is not in the annotations.

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?

A single dense paragraph that front-loads the action, the range semantics, and the property list before moving to constraints and index sourcing. Every sentence carries information; it is slightly overloaded, which keeps it off a 5.

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 still covers mutation semantics, the at-least-one-property constraint, index sourcing, and that text/indexes are untouched. It omits what the call returns and error behavior for out-of-range indexes, but nothing critical for correct invocation 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 description coverage is 100%, so the schema already documents every parameter including units, ranges and hex format. The description largely restates this (fontSize in points, hex colors, exclusive endIndex), adding only marginal extra context, so the baseline of 3 applies.

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 ("Apply character formatting") plus resource and scope ("text in the index range [startIndex, endIndex) of a Google Doc"), and enumerates the exact properties it can set. This clearly distinguishes it from siblings like set_paragraph_style and delete_text without opening any schema.

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?

Explicitly routes the agent to get_document or find_text for indexes and notes that append_text/insert_text return the range of new text, which is exactly the pre-condition an agent needs. It also states "At least one property is required." It does not explicitly name when NOT to use it (e.g., paragraph-level styling belongs to set_paragraph_style), so it stops short of full routing.

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

get_auth_statusGet Google sign-in statusA
Read-only

Check whether this server is signed in to Google and holds the permissions required for Google Docs and Google Drive. Use it when another tool fails with NOT_AUTHENTICATED or AUTH_EXPIRED, or after the user finishes signing in via authenticate. Never returns tokens.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered by structured data. The description adds genuinely non-derived context: the check covers both sign-in state and Docs/Drive permissions, and 'Never returns tokens' is a useful privacy/safety guarantee an agent can rely on. It stops short of saying what it does return (e.g., account identity, granted scopes), which keeps it out of the top band.

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?

Two sentences, zero filler: the first defines the check, the second routes usage and ends on the safety guarantee. The most decision-relevant content (what it checks) is front-loaded.

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 zero-param status probe with no output schema, the description is nearly sufficient: it says what is verified and what will never be leaked. The one remaining gap is the shape of a successful response (status value, account, scopes), which matters when the agent must interpret the result.

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

Parameters4/5

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

The tool takes zero parameters and the description introduces none, so there is nothing to mis-specify. With no parameters the baseline is 4; there is no schema detail the description could usefully add.

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 ('Check whether this server is signed in to Google') and further specifies the scope of the check (permissions required for Google Docs and Google Drive). This clearly separates it from siblings like `authenticate` and `sign_out` without needing to open any schema.

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?

Gives two explicit trigger conditions — after another tool fails with NOT_AUTHENTICATED or AUTH_EXPIRED, or after the user signs in via `authenticate` — and names the sibling to pair it with. Nothing about when to invoke it is left to inference.

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

get_documentRead Google DocA
Read-only

Read a Google Doc: returns its title, URL, plain-text content and (by default) a structure outline listing every top-level paragraph and table with exact startIndex/endIndex, heading style and alignment. Also returns bodyEndIndex (valid insertion indexes are 1..bodyEndIndex-1). Use this before index-based edits such as insert_text, delete_text or format_text. Long documents are truncated to maxTextLength characters.

ParametersJSON Schema
NameRequiredDescriptionDefault
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.
maxTextLengthNoMaximum number of characters of document text to return.
includeStructureNoInclude the paragraph/table outline with indexes (needed for index-based edits).

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds real behavioral context beyond that: truncation of long documents to maxTextLength, the valid insertion range 1..bodyEndIndex-1, and that the structure outline is on by default. It omits auth/permission requirements and rate limits.

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 sentences, front-loaded with what is returned and why it matters, and the truncation caveat placed last. Dense but no filler; slightly long clauses keep it from a 5.

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?

With no output schema, the description carries the full return-value burden and does so completely: it documents the payload fields, the bodyEndIndex validity contract, and truncation limits. An agent has everything needed to call and consume this tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema: it explains that includeStructure is 'needed for index-based edits' and ties maxTextLength to actual truncation behavior. The documentId param is fully documented in the schema.

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+resource ('Read a Google Doc') and enumerates exactly what is returned (title, URL, plain text, structure outline, bodyEndIndex). This sharply distinguishes it from sibling readers like list_documents and search_documents.

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?

Explicitly states when to use it: 'Use this before index-based edits such as insert_text, delete_text or format_text.' It names the concrete sibling tools and the precondition that selects this one, leaving nothing to inference.

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

insert_page_breakInsert page break into Google DocA

Insert a page break at an index of a Google Doc, so the content after it starts on a new page. The index must be inside an existing body paragraph (not inside a table, header, footer or footnote); to break before a paragraph use its startIndex from get_document or find_text. Inserting shifts every later index, so re-read the document with get_document before further index-based edits.

ParametersJSON Schema
NameRequiredDescriptionDefault
indexYesA Google Docs index (UTF-16 offset). The body starts at index 1. Get exact indexes from get_document (structure) or find_text.
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly=false, idempotent=false, destructive=false), while the description adds the non-obvious side effect that inserting shifts every later index and mandates a re-read before subsequent edits. That is meaningful behavioral context beyond the structured fields.

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 clauses with zero filler: the action and effect come first, then the validity constraint, then the index-shift caveat. Nothing is repeated from the schema or annotations.

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?

With no output schema needed (the effect is described) and annotations covering the mutation profile, the description supplies the remaining essentials: placement constraints, index sourcing, and the shift side effect. An agent has everything required to call it correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds a real constraint not in the schema: the index must fall inside an existing body paragraph and not inside a table/header/footer/footnote. It also points to where valid indexes come from, though it doesn't restate index bounds or documentId handling.

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+resource ('Insert a page break ... of a Google Doc') and immediately describes the effect ('content after it starts on a new page'), which distinguishes it from siblings like insert_text or insert_table.

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?

Gives explicit preconditions (index must be inside an existing body paragraph; not inside table, header, footer or footnote) and routes to the right helpers ('use its startIndex from get_document or find_text'). It also prescribes a required follow-up (re-read with get_document before further index-based edits).

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

insert_tableInsert table into Google DocA

Insert an empty table with the given number of rows and columns at an index of a Google Doc. Google inserts a paragraph break before the table, so the table starts at index + 1 (returned as tableStartIndex). The index must be inside an existing paragraph — not at a table’s start and not inside a footnote; to add a table at the end use bodyEndIndex-1 from get_document. Every cell starts with an empty paragraph: call get_document afterwards to get exact cell indexes, then fill cells with insert_text starting from the LAST cell so earlier indexes stay valid. Inserting shifts every later index.

ParametersJSON Schema
NameRequiredDescriptionDefault
rowsYesNumber of rows (1-100).
indexYesA Google Docs index (UTF-16 offset). The body starts at index 1. Get exact indexes from get_document (structure) or find_text.
columnsYesNumber of columns (1-20).
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only supply the generic mutation profile (not read-only, not idempotent, open-world). The description adds non-obvious operational behavior beyond that: Google inserts a paragraph break so the table actually starts at index+1 (returned as tableStartIndex), every cell begins with an empty paragraph, and all later indexes shift after insertion.

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?

Front-loaded with the core action in sentence one, then behaviors, then the fill workflow. Dense but every clause carries actionable information; the cell-fill ordering note ('start from the LAST cell') is slightly beyond the core insert task but still earns its place given the index-shift warning.

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?

For a destructive-free but index-shifting mutation with no output schema, the description covers the resulting offset behavior, the returned tableStartIndex, cell paragraph initialization, and the required follow-up calls. Nothing an agent needs to invoke and then use this tool correctly is missing.

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

Parameters4/5

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

Schema description coverage is already 100%, so the baseline is 3, but the description contributes real semantics the schema lacks: the index must fall inside an existing paragraph, must not be a table start or footnote, and the bodyEndIndex-1 convention for appending. Range details (1-100 rows, 1-20 cols) are left to the schema.

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 ('Insert an empty table ... at an index of a Google Doc') plus the key qualifier that the table is empty. This clearly distinguishes it from sibling mutations like insert_text, insert_page_break, and create_bulleted_list.

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?

Explicitly states placement constraints (index must be inside an existing paragraph, not at a table's start, not inside a footnote), names the workaround for appending (bodyEndIndex-1 from get_document), and directs the agent to get_document + insert_text for the follow-up fill step. When-to-use, when-not-to-use, and alternatives are all covered.

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

insert_textInsert text into Google DocA

Insert text at a specific index of a Google Doc. Get the index from get_document (the structure outline’s startIndex/endIndex) or find_text; the body starts at index 1 and the largest valid index is bodyEndIndex-1. To insert at the start of a paragraph use its startIndex. The inserted text takes the style of the neighbouring text, and "\n" creates new paragraphs. Inserting shifts every later index by insertedLength, so when making several index-based edits work from the end of the document backwards or re-read it with get_document. To add text at the end use append_text; to change existing wording use replace_text.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesThe text to insert. "\n" starts a new paragraph.
indexYesA Google Docs index (UTF-16 offset). The body starts at index 1. Get exact indexes from get_document (structure) or find_text.
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond annotations by disclosing the index-shift side effect of every insertion, that inserted text inherits neighbouring style, that "\n" creates paragraphs, and the valid index boundary (1 .. bodyEndIndex-1). These are exactly the non-obvious behaviours an agent needs for a non-idempotent mutation.

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?

Front-loaded with the core action, then progressively adds index sourcing, edge cases, and routing to siblings. Dense but every sentence carries information; the index-shift warning is the only part that could be tightened.

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?

For a 3-parameter mutation tool with no output schema, the definition covers indexing rules, side effects, style inheritance, and alternatives completely; an agent has everything needed to invoke it correctly on the first try.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3; the description still adds real value by stating the body starts at index 1, the largest valid index is bodyEndIndex-1, how to obtain the index, and that paragraph startIndex can be used to insert at a paragraph start.

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 (insert) plus resource (text) plus precise location (at a specific index of a Google Doc), immediately distinguishing it from append_text and replace_text in the sibling list.

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?

Explicitly routes the agent: index comes from get_document or find_text, end-of-document insertion should use append_text, and rewording should use replace_text. It also gives the multi-edit workaround (work backwards or re-read).

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

list_documentsList Google DocsA
Read-only

List Google Docs the user can access in Google Drive, most recently modified first. Optionally filter by text contained in the document name (search). Returns documentId, name, URL, createdTime and modifiedTime, plus nextPageToken for pagination. To search inside document content use search_documents.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of documents to return (1-100).
searchNoOnly include documents whose name matches this text (case-insensitive; Drive matches words starting with it).
pageTokenNonextPageToken from a previous list_documents call, to get the next page.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds ordering behavior, the optional name filter's semantics, the pagination contract (nextPageToken), and the returned field set — genuine context beyond the annotations, though it does not mention rate limits or Drive permission nuances.

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, front-loaded with the core action and scope, then filtering, then return shape, then the sibling routing. No filler and no repetition of the title.

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?

With no output schema, the description usefully enumerates return fields and the pagination token, covers the filter option, and routes to search_documents for content search. An agent has everything needed to call it correctly on the first attempt.

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%, so the baseline is 3 and the schema already documents limit, search, and pageToken in detail, including the case-insensitive prefix-matching nuance. The description only restates the search-as-name-filter behavior, adding little beyond the structured data.

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 ('List Google Docs'), plus scope ('the user can access in Google Drive') and ordering ('most recently modified first'). It also names the sibling it is not — search_documents — so an agent can distinguish the two without opening either schema.

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?

Explicitly says to use search_documents when searching inside document content, which is the one plausible confusion for this tool. It also notes the `search` param filters names only, reinforcing when this tool applies versus the content-search alternative.

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

replace_textReplace text in Google DocA
Destructive

Replace ALL occurrences of searchText throughout the entire Google Doc with replacementText, in one operation. An empty replacementText DELETES every occurrence. Matching is plain text (no regular expressions) and case-insensitive unless matchCase is true, so a short search such as "an" may also match inside other words. If the search text is short or could match more than intended, preview the matches with find_text first, and use insert_text/delete_text for a single occurrence. Returns occurrencesChanged (0 means nothing matched and the document is unchanged). Indexes after each changed occurrence shift when the lengths differ. No index is needed.

ParametersJSON Schema
NameRequiredDescriptionDefault
matchCaseNoOnly replace matches with exactly the same upper/lower case (default false).
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.
searchTextYesThe exact text to search for (not a regular expression).
replacementTextYesText that replaces every match. An empty string deletes every match.

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, openWorldHint=true, and idempotentHint=false, and the description corroborates it by explaining that an empty replacementText DELETES every match. It adds further behavior annotations do not carry: case-insensitive default matching, plain-text (non-regex) semantics, substring false-positive risk, the occurrencesChanged return value, and index shifting after length-changing replacements.

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?

The behavior and the biggest pitfall (short search strings, empty replacement = deletion) are front-loaded. The remaining sentences each carry a distinct fact — matching semantics, alternative tools, return value, index shifting — with no 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?

Given a destructive write tool with no output schema and fully documented params, the description covers the gaps that matter: what deletion means, matching rules, how to preview, what is returned, and the index-shift caveat. An agent has enough to invoke it safely.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds genuine meaning beyond the schema: an empty replacementText deletes matches, matchCase is false by default, searchText is literal plain text, and matching may hit substrings inside other words. This clarifies parameter interaction rather than restating field docs.

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 (replace) plus resource (text in a Google Doc) with explicit scope: ALL occurrences, throughout the entire document, in one operation. This clearly separates it from the sibling single-occurrence tools insert_text/delete_text.

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?

Gives an explicit when-to-use condition for itself (bulk replacement) and names the alternatives: preview with find_text when the search text is short or ambiguous, and use insert_text/delete_text for a single occurrence. Also warns when NOT to trust the naive approach.

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

search_documentsSearch Google DocsA
Read-only

Search the user’s Google Drive for Google Docs by name and/or content. Only Google Docs the user can access and that are not in the trash are returned (other file types are never included).

  • searchIn "name": case-insensitive match on the document name. Drive matches words that start with the query ("Prop" finds "FYP Proposal"), so a fragment from the middle of a word may not match. Results sorted by most recently modified.

  • searchIn "content": Google Drive full-text search of document content. It is word/prefix based (not exact substring or phrase matching), also matches document names, and may lag behind very recent edits because Drive indexes content asynchronously. Results are ordered by relevance.

  • searchIn "both" (default): name OR full-text match, ordered by relevance. Returns documentId, name, URL, createdTime and modifiedTime for each match, plus nextPageToken for pagination. To locate text inside one specific document use find_text; to list recent documents use list_documents.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of documents to return (1-100).
queryYesText to search for, e.g. "FYP" or "quarterly report".
searchInNoWhere to search: "name" (words in the document name starting with the query), "content" (Drive full-text index) or "both".both
pageTokenNonextPageToken from a previous search_documents call with the same query and searchIn, to get the next page.

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only supply readOnlyHint and openWorldHint, but the description adds substantial behavioral context: trash/access filtering, word-prefix rather than substring matching (with a concrete 'Prop'/'FYP Proposal' example), Drive's asynchronous indexing lag, and differing result ordering per mode. It also discloses the returned fields and pagination token, which annotations cannot cover.

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?

Front-loads the core purpose in the first sentence, then uses a tight bulleted structure for mode-specific behavior, and closes with return fields plus sibling routing. Despite its length, every sentence conveys non-redundant, decision-relevant information.

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?

Although there is no output schema, the description enumerates the return fields (documentId, name, URL, createdTime, modifiedTime) and the nextPageToken pagination mechanism, covering what the output schema would otherwise have to provide. For a 4-parameter read tool with an enum, nothing an agent needs to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the parameter definitions already carry baseline meaning. The description goes beyond that by explaining the semantics of each searchIn value (prefix-matching for name, full-text index for content, relevance ordering for both) and how pageToken pairs with the same query/searchIn — real added value over the schema's terse enum descriptions.

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 ('Search the user's Google Drive for Google Docs by name and/or content') and bounds the result set (only accessible, non-trashed Docs; other file types never included). It explicitly differentiates itself from siblings find_text and list_documents by naming both.

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?

Gives explicit routing: use find_text to locate text inside one specific document, list_documents to list recent documents, and this tool for cross-Drive search. It also explains when each searchIn mode is appropriate and what each returns, so the alternative-selection problem is fully resolved.

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

set_alignmentSet paragraph alignment in Google DocA
Idempotent

Set the horizontal alignment of every paragraph that overlaps the index range [startIndex, endIndex): START (left in left-to-right text), CENTER, END (right in left-to-right text) or JUSTIFIED. Whole paragraphs are aligned even if the range covers only part of one. Get paragraph indexes from get_document’s structure outline or find_text. Does not change text or indexes.

ParametersJSON Schema
NameRequiredDescriptionDefault
endIndexYesEnd of the range (exclusive); must be greater than startIndex.
alignmentYesParagraph alignment.
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.
startIndexYesStart of the range (inclusive). Get exact indexes from get_document or find_text.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and readOnlyHint=false. The description adds genuinely non-redundant behavior: whole paragraphs are aligned even if the range covers only part of one, and text/indexes are unchanged. This is useful context beyond the structured fields, though auth/permission needs are unaddressed.

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?

Front-loaded with the core action and range, followed by enum semantics, edge-case behavior, and index sourcing. Every sentence earns its place with no 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?

For a 4-parameter mutation tool with no output schema, the definition covers effect, range semantics, enum meanings, whole-paragraph behavior, and index sourcing. Nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it defines the range as inclusive-exclusive '[startIndex, endIndex)' and glosses the enum values (START = left, END = right in left-to-right text). This supplements the terse schema enum label 'Paragraph alignment.'

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?

The description states a specific verb (set) and resource (horizontal alignment of paragraphs overlapping an index range), immediately distinguishing it from siblings like format_text and set_paragraph_style. An agent can tell exactly what operation is performed without opening the schema.

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 clearly directs the agent on where to obtain inputs ('Get paragraph indexes from get_document's structure outline or find_text'), naming concrete alternative sources. However, it never states when to use this tool versus sibling mutators like set_paragraph_style or format_text, so sibling routing is left implicit.

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

set_paragraph_styleSet paragraph style in Google DocA
Idempotent

Set the named paragraph style — NORMAL_TEXT, TITLE, SUBTITLE or HEADING_1 to HEADING_6 — of every paragraph that overlaps the index range [startIndex, endIndex). Whole paragraphs are restyled even if the range covers only part of one, so a range inside a single line changes just that line’s paragraph. Use it to turn a line into a heading or back into normal text. Get paragraph startIndex/endIndex from get_document’s structure outline or find_text. Does not change text or indexes.

ParametersJSON Schema
NameRequiredDescriptionDefault
styleYesNamed paragraph style, e.g. HEADING_1 for a top-level heading.
endIndexYesEnd of the range (exclusive); must be greater than startIndex.
documentIdYesThe Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted.
startIndexYesStart of the range (inclusive). Get exact indexes from get_document or find_text.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, so safety is covered; the description contributes beyond that by disclosing the non-obvious expansion behavior (whole paragraphs are restyled even for partial ranges) and the guarantee that text and indexes are unchanged. It does not mention revision IDs or response shape, but the key side effect is disclosed.

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?

Four compact sentences, front-loaded with what is set and over what range, then the behavioral caveat, then usage and provenance of indexes. No filler or restatement of the title.

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 mutation tool with no output schema, the definition covers range semantics, side effects, and index sourcing adequately. The only thin spot is the return payload (e.g., revisionId) and no explicit preconditions such as required scopes, but nothing essential for correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine semantics the schema lacks: the inclusive/exclusive range boundary plus the paragraph-granularity expansion rule, which is exactly what an agent needs to predict the effect of a partly-covering range. The style and documentId parameters are left to the schema.

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 (set) plus resource (named paragraph style) with the full enum enumerated inline and the affected scope stated as 'every paragraph that overlaps [startIndex, endIndex)'. This clearly separates it from siblings like format_text and set_alignment, which operate on character/alignment attributes rather than named paragraph styles.

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 concrete usage intent ('turn a line into a heading or back into normal text') and tells the agent where to obtain the indexes (get_document structure outline or find_text), which is real routing guidance. It stops short of an explicit when-not clause naming format_text/set_alignment as the alternatives for non-paragraph styling.

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

sign_outSign out of GoogleA
DestructiveIdempotent

Sign out: revoke this server’s Google access and delete the locally stored OAuth tokens. After this, every Google Docs tool fails until authenticate is called again. Only use it when the user explicitly asks to sign out or switch accounts.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, but the description adds substance beyond them: exactly what is destroyed (locally stored OAuth tokens, revoked server access), the blast radius (every Google Docs tool fails afterward), and the recovery path (call `authenticate` again). That is high-value behavioral context an agent needs before firing a destructive, hard-to-undo action.

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 short sentences, front-loaded with the action and its effects, then the usage restriction. Every sentence carries distinct information with no padding or repetition of the title.

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?

For a zero-parameter destructive tool with full annotation coverage, the description supplies everything an agent needs: effect, scope of damage, prerequisite for recovery, and a usage constraint. No output schema exists, and the description already explains the post-condition, so nothing further is required.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to clarify and the baseline of 4 applies. The schema is empty with additionalProperties=false, making the no-argument contract unambiguous.

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: sign out, revoke this server's Google access, delete locally stored OAuth tokens. It is immediately distinguishable from the sibling `authenticate`, which is the inverse operation, and from `get_auth_status`.

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?

Explicitly bounds when to use it: 'Only use it when the user explicitly asks to sign out or switch accounts.' This is a clear when-to-use condition with an implied when-not (do not call it unprompted), leaving nothing to inference.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.1.0
    • Changedcreate_document1 field changed
      • addedInput schema / properties / initialContent
        Added value: +{
        +  "description": "Optional plain text to put in the new document. Use \"\\n\" to separate paragraphs.",
        +  "maxLength": 1000000,
        +  "minLength": 1,
        +  "type": "string"
        +}
  2. 21 tool updatesv1.0.0
    • First observedappend_text
    • First observedauthenticate
    • First observedcopy_document
    • First observedcreate_bulleted_list
    • First observedcreate_document
    • First observeddelete_document
    • First observeddelete_text
    • First observedfind_text
    • First observedformat_text
    • First observedget_auth_status
    • First observedget_document
    • First observedinsert_link
    • First observedinsert_page_break
    • First observedinsert_table
    • First observedinsert_text
    • First observedlist_documents
    • First observedreplace_text
    • First observedsearch_documents
    • First observedset_alignment
    • First observedset_paragraph_style
    • First observedsign_out

TDQS

A4.3/5.0

Scored across 21 tools

Disambiguation4/5

Most tools map cleanly to distinct resources and actions: document lifecycle, text insertion, formatting, and search are clearly separated. The only mild ambiguity is list_documents vs. search_documents, both of which can filter by name, but their descriptions make the intended use cases clear.

Naming Consistency4/5

The majority of tools follow a consistent snake_case verb_noun pattern, such as get_document, create_document, insert_text, and delete_text. Minor deviations like sign_out and authenticate break the strict pattern, but the overall naming is predictable and readable.

Tool Count4/5

21 tools is on the heavier side, but the breadth of Google Docs functionality—auth, document CRUD, text editing, formatting, tables, lists, links, and search—justifies the count. Each tool has a distinct role, and the set does not feel padded or redundant.

Completeness4/5

The surface covers the full document lifecycle plus rich editing, formatting, search, and auth flows, with no obvious dead ends. Minor gaps exist—such as no rename, export, image insertion, or comment handling—but these are reasonable omissions for a core Google Docs MCP server.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers