Skip to main content
Glama

create_footer

Destructive

Add a page footer to a Google Doc and optionally insert plain text; use the returned footerId to add formatted content later.

Instructions

Add a page footer to a Google Doc.

Creates a footer section and optionally inserts plain text content into it. For rich formatting, use insert_doc_text with the returned footerId as segmentId after calling this tool.

Args: doc_id: The Google Doc file ID. footer_type: "DEFAULT" (all pages, default) or "FIRST_PAGE_FOOTER" (applies only to the first page — requires useFirstPageHeaderFooter to be set on the document section, which the Docs UI handles automatically). content: Optional plain text content to insert into the footer.

Returns: Confirmation with docId and footerId. Use footerId as the segmentId in subsequent insert_doc_text calls to add formatted content.

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": {
      "doc_id": "<doc_id>"
    },
    "name": "create_footer"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_idYes
contentNo
footer_typeNoDEFAULT

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.1/5.0
Behavior3/5

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

Annotations declare destructiveHint=true, so the description should explain the mutation's side effects. It does disclose that a footer section is created, that content is inserted as plain text, and that a footerId is returned for chaining, but it never says whether an existing footer is replaced, duplicated, or rejected—a material omission for a destructive operation. Permission requirements are also unstated.

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 purpose is front-loaded in a single sentence, followed by a clear behavior sentence and the rich-formatting alternative. The Args/Returns blocks are slightly redundant against the schema but are readable and contain real information, so there is little wasted text.

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?

An output schema exists, so the Returns block is a bonus rather than a necessity; the description still covers the chaining pattern via footerId. Preconditions for FIRST_PAGE_FOOTER are handled well. The missing piece is existing-footer semantics and auth scope, which matter for a destructive tool.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, and it largely does: footer_type names both allowed values and the precondition for FIRST_PAGE_FOOTER, and content is marked optional plain text only. doc_id is described minimally ('The Google Doc file ID'), which is the only weak spot.

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?

States a specific verb and resource ('Add a page footer to a Google Doc') plus the scope of what it creates ('Creates a footer section and optionally inserts plain text content'). It also distinguishes itself from insert_doc_text by routing rich formatting there, so an agent can tell the two apart without opening either schema.

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?

Gives a clear follow-up path ('use insert_doc_text with the returned footerId as segmentId') and explains the condition that makes FIRST_PAGE_FOOTER valid (useFirstPageHeaderFooter must be set). It does not state when not to use the tool or what happens if a footer already exists, which is the main gap.

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