apply_heading

Format text as heading (H1-H6) or title

Server LLM2Docs (Unofficial) nomannayeem/google-docs-mcp-server
Category Write
Risk class Medium
Parameters 00 required

What apply_heading does on LLM2Docs (Unofficial)

AI agents use apply_heading to create or update resources in LLM2Docs (Unofficial) — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your LLM2Docs (Unofficial) environment.

Why apply_heading needs a policy

This is a Write operation because it creates or modifies document content (formatting text as headings) in a reversible manner. It does not execute code, delete data, or move funds. Severity is medium because a malicious agent could reformat large portions of a document to obscure content or make it unreadable, but the changes are undoable.

From the tool's definition The tool description explicitly states it formats text as heading/title. The sibling tools (append_text, apply_font_formatting, change_font, etc.) all perform document modifications.

Questions about apply_heading

What does the apply_heading tool do? +

Format text as heading (H1-H6) or title. It is categorised as a Write tool in the LLM2Docs (Unofficial) MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on apply_heading? +

Register the LLM2Docs (Unofficial) MCP server in PolicyLayer and add a rule for apply_heading: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches LLM2Docs (Unofficial). Nothing to install.

What risk level is apply_heading? +

apply_heading is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit apply_heading? +

Yes. Add a rate_limit block to the apply_heading rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block apply_heading completely? +

Set action: deny in the PolicyLayer policy for apply_heading. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides apply_heading? +

apply_heading is provided by the LLM2Docs (Unofficial) MCP server (nomannayeem/google-docs-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.