Skip to main content
Glama
conorbronsdon

Google Workspace (GWS) MCP Server

docs_get

Read-only

Retrieve a Google Doc's content and metadata by providing its document ID. Access document details directly for integration or analysis.

Instructions

Get a Google Doc's content and metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
documentIdYesThe document ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, covering the safety profile. The description adds that both content and metadata are returned, which is useful, but it does not disclose output structure, pagination, or authentication requirements.

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 description is a single efficient sentence with no wasted words. The action and target are 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 one-parameter read-only tool with annotations covering safety, the description is nearly complete. It could specify what 'content and metadata' includes, but an agent has enough to select and invoke the tool 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 coverage is 100% and the single parameter documentId is described as 'The document ID'. The description adds no further parameter guidance, so the schema carries the semantic load.

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

Purpose4/5

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

The description states a specific verb ('Get') and resource ('a Google Doc's content and metadata'), making the tool's basic purpose clear. It is distinct from mutating siblings like docs_batchUpdate and docs_create, though it does not explicitly contrast with similar getters like drive_files_get.

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?

The read-only verb and resource give clear context for when to use this tool: when an agent needs a Google Doc's content and metadata. It does not mention alternatives or exclusion criteria, but none are necessary for such a straightforward getter.

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