Skip to main content
Glama
GhazwaPasha

Google Workspace MCP Server

by GhazwaPasha

docs_add_header

Create a header in a Google Doc to structure documents, then use segment text to insert content.

Instructions

Create a header for a doc. Use docs_insert_segment_text to add content to it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYes
header_typeNoDEFAULT

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description alone must disclose side effects and behavior. It only says 'Create a header' without explaining whether an existing header is overwritten, required permissions, or what the response contains. Significant transparency gaps remain.

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 two sentences with no redundant or filler content. The cross-reference to docs_insert_segment_text is a valuable addition that earns its place.

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

Completeness2/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 annotations and no output schema explanation, the description overlooks prerequisites, side effects, error conditions, and return values. It is barely sufficient for an agent to know when and how to invoke correctly.

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

Parameters1/5

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

The schema provides zero description coverage, and the description adds no meaning for document_id or header_type. The mention of 'header' does not clarify the meaning or default behavior of header_type, leaving both parameters semantically opaque.

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 'Create a header for a doc' uses a specific verb and resource, clearly distinguishing it from sibling tools like docs_insert_text or docs_add_footer. The purpose is unambiguous.

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?

The instruction to use docs_insert_segment_text for adding content implies a typical workflow but does not explicitly state when to prefer this tool over alternatives or any exclusion criteria. It provides some directional guidance, but not comprehensive usage context.

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/GhazwaPasha/Google-wrk-spc-mcp'

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