Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by VolksRat71

summarize_document

Extracts text from a Google Doc so you can generate concise summaries from document content using its ID.

Instructions

Extract text content from a Google Document for summarization purposes

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "documentId": "<documentId>"
    },
    "name": "summarize_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentIdYesThe ID of the document to summarize.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. It never states whether the tool returns a generated summary or raw extracted text, how large documents are handled (truncation, chunking), or whether any authorization or quota constraints apply.

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?

One short, front-loaded sentence with no filler. It is efficient, though its brevity contributes to the unresolved question of what the tool actually returns.

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 simple single-parameter tool, the definition is nearly adequate, but with no output schema the description should clarify the return value, and it does not. An agent cannot tell from this text whether it will receive a summary or the document's extracted contents.

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?

There is a single parameter fully documented in the schema, so the baseline of 3 applies. The description adds only that the ID refers to the document being summarized, which the schema already conveys.

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

Purpose3/5

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

The description gives a specific verb and resource ("Extract text content from a Google Document"), but it describes extraction rather than summarization, leaving the actual output ambiguous relative to the tool name. It also fails to distinguish this from a plain retrieval sibling such as get_document, which on the wording would appear to do the same thing.

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

Usage Guidelines3/5

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

"For summarization purposes" implies the context of use but gives no explicit when-to-use or when-not-to-use guidance. There is no mention of when to prefer get_document over summarize_document, nor any prerequisite or limitation stated.

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