Skip to content

[bug]: google docs mcp can’t target tabs/headings, blocks updating specific section #627

@AggManik

Description

@AggManik

Context

When given a Google Doc URL that includes tab + heading anchors, our current Google Docs MCP/tooling can’t reliably update content under a specific heading/section.

Why this is happening (current tool limitations)

We currently only support:

  • read_document
  • insert_text (by absolute index)
  • replace_text (global exact match)

Because of this:

  • We can’t locate/replace content under a heading safely.
  • read_document output lacks structure (no tab/heading IDs, no section/block identifiers).

Impact

We can’t paste/update content into the “Linkedin brand voice” section in the Skills Templates doc when the doc is referenced via URL + anchors.

Expected

Be able to target a specific tab/heading/section (stable IDs), then insert/replace content scoped to that section.

Actual

Forced to ask the user for the exact block text to do a global replace_text, which is brittle and unsafe.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions