Skip to main content
Glama

Set this project’s default account/folder

set_project_default

Set default Google account and folder for new documents by writing them to .gdocs-mcp.json in the project directory.

Instructions

Write this project’s defaults to a .gdocs-mcp.json in the current working directory (or update an existing one up the tree). Set a default account and/or a default folder (URL or id) for new docs. To set a folder by name, find it first with drive({ cmd: 'find' }) and pass its id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderNodefault Drive folder (URL or id) for new docs
accountNodefault Google account email (must be authorized)
Behavior4/5

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

Despite having no annotations, the description discloses the important side effect: writing to `.gdocs-mcp.json` in the current working directory or updating an existing file up the tree. It also clarifies that these are defaults for new docs, which adds meaningful behavioral context beyond the schema.

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

Conciseness4/5

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

Three concise sentences with key information front-loaded. The first sentence captures the core behavior, and the follow-ups add useful parameter semantics without 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?

For a simple two-parameter tool, the description covers the main side-effect, file location, scope, and folder-id resolution workflow. It does not explicitly say what happens to existing defaults when a parameter is omitted, but overall completeness is good.

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?

While the schema already documents both parameters at 100% coverage, the description adds valuable semantics: folder can be a URL or id, and account must be an authorized Google account email. The folder-by-name workaround also adds practical parameter guidance.

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 clearly states that the tool writes project defaults to a `.gdocs-mcp.json` file, with a default account and/or folder for new docs. This distinguishes it from sibling tools like `get_project_config` and other set-style tools.

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 explains when the defaults apply (new docs), and gives concrete workaround for setting a folder by name via `drive({ cmd: 'find' })` and passing its id. It does not explicitly mention when to avoid using this tool or name alternatives, but the use case is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dasasian/gdocs-mcp'

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