Skip to main content
Glama

docs_get_document

Fetch a Google Doc as the full structured Google Docs API document by document ID or URL, including all tabs by default for reading or automation.

Instructions

Fetch a Google Doc as the full structured Google Docs API document, including all document tabs by default.

Input Schema

NameRequiredDescriptionDefault
emailNoGoogle account email. May be omitted when exactly one account is configured; required when multiple accounts are configured.
document_id_or_urlYesA Google Docs document ID or full docs.google.com document URL
include_tabs_contentNoDefault true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses the return format (structured Docs API document) and the default tab-inclusion behavior, but says nothing about the read-only nature, authentication requirements tied to the email parameter, or any size/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.

Conciseness5/5

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

A single sentence with zero waste, and the key differentiator (structured API document, all tabs) is front-loaded. Nothing to trim.

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

Completeness3/5

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

For a read tool with no annotations and no output schema, the description is minimally adequate but leaves gaps: it never explains the email/account requirement or how this tool relates to the similarly named docs_read_document sibling.

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 baseline is 3 and the schema already documents all three parameters. The phrase 'including all document tabs by default' loosely mirrors the include_tabs_content default, but the description adds no syntax or format detail beyond the schema.

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 ('Fetch') and resource ('Google Doc') and even specifies the return shape ('full structured Google Docs API document'), which is more than most definitions offer. However, it does not differentiate itself from the sibling tool docs_read_document, so an agent cannot tell the two apart from the description alone.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance is given, and no alternative is named. The existence of a close sibling, docs_read_document, makes this omission costly: nothing in the description tells the agent which of the two read tools to pick.

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