Skip to main content
Glama
tom275275

Google Workspace MCP Server

by tom275275

update_doc_headers_footers

Update headers or footers in a Google Doc by providing document ID, section type, content, and optional header/footer type for default, first page, or even pages.

Instructions

Updates headers or footers in a Google Doc.

Args: user_google_email: User's Google email address document_id: ID of the document to update section_type: Type of section to update ("header" or "footer") content: Text content for the header/footer header_footer_type: Type of header/footer ("DEFAULT", "FIRST_PAGE_ONLY", "EVEN_PAGE")

Returns: str: Confirmation message with update details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
document_idYes
section_typeYes
user_google_emailYes
header_footer_typeNoDEFAULT

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.14.3

TDQS

A3.5/5.0
Behavior2/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 of explaining behavior. It does state that the tool updates and returns a confirmation message, but it never discloses whether existing header/footer content is overwritten, how the header_footer_type variants behave, or what side effects or permissions are involved. This is comparable to mutation tools that need explicit behavioral disclosure but omit it.

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?

The description is well structured with a one-line summary followed by Args and Returns sections. It contains no filler or repetition, and the format makes the parameter documentation easy to scan. A short note about behavior or usage would improve it, but it is already appropriately sized.

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 mutation tool with no annotations and five parameters, the description covers the input semantics and return type well, but it leaves out behavioral details such as whether content is replaced, whether the operation is idempotent, and what happens when the doc has no headers/footers. It is adequate for a basic call but has clear gaps around side effects and preconditions.

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

Parameters5/5

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

Schema description coverage is 0%, so the schema alone provides only bare property names. The description compensates fully by explaining every parameter, including the semantic meaning of user_google_email and document_id, the allowed values for section_type ('header' or 'footer'), and the allowed values for header_footer_type. This gives an agent everything needed to populate the arguments correctly.

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 opens with a specific verb and resource: 'Updates headers or footers in a Google Doc.' This cleanly states the operation and the target, and the header/footer scope distinguishes it from sibling doc-editing tools like modify_doc_text or batch_update_doc without needing to open their schemas.

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?

The description provides no guidance on when to use this tool instead of other document-update siblings, nor does it mention prerequisites like prior authentication or whether the document must already contain a header/footer section. Usage context must be inferred entirely from the tool name and first sentence.

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

Deploy Server

Other Tools