Medium Risk

GOOGLESHEETS_ADD_SHEET

Adds a new sheet (worksheet) to a spreadsheet. Use this tool to create a new tab within an existing Google Sheet, optionally specifying its title, index, size, and other properties. IMPORTANT: - Always provide the spreadsheetId. Use 'Search Spreadsheets' action if you need to find it by name - Sh...

Part of the Google Sheets server.

GOOGLESHEETS_ADD_SHEET can modify Google Sheets data, with no limits today. PolicyLayer puts allow, deny, and rate-limit rules on every call. Live in minutes.

SECURE GOOGLE SHEETS →

Free to start. No card required.

AI agents use GOOGLESHEETS_ADD_SHEET to create or modify resources in Google Sheets. Write operations carry medium risk because an autonomous agent could trigger bulk unintended modifications. Rate limits prevent a single agent session from making hundreds of changes in rapid succession. Argument validation ensures the agent passes expected values.

Without a policy, an AI agent could call GOOGLESHEETS_ADD_SHEET repeatedly, creating or modifying resources faster than any human could review. PolicyLayer's rate limiting ensures write operations happen at a controlled pace, and argument validation catches malformed or unexpected inputs before they reach Google Sheets.

Write tools can modify data. A rate limit prevents runaway bulk operations from AI agents.

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "GOOGLESHEETS_ADD_SHEET": {
      "limits": [
        {
          "counter": "googlesheets_add_sheet_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}

See the full Google Sheets policy for all 38 tools.

Get this rule live on your own Google Sheets server in minutes. PolicyLayer enforces it on every call, before it runs.

ENFORCE ON MY GOOGLE SHEETS →

View all 38 tools →

These attack patterns abuse exactly the kind of access GOOGLESHEETS_ADD_SHEET gives an agent. Each links to the full case and the policy that stops it:

Browse the full MCP Attack Database →

Every attack above starts with a tool call. PolicyLayer checks each one against your policy first, so GOOGLESHEETS_ADD_SHEET only ever does what you allow.

SECURE GOOGLE SHEETS →

Other write tools across the catalogue. The same approach applies to each: rate-limit and validate the arguments.

What does the GOOGLESHEETS_ADD_SHEET tool do? +

Adds a new sheet (worksheet) to a spreadsheet. Use this tool to create a new tab within an existing Google Sheet, optionally specifying its title, index, size, and other properties. IMPORTANT: - Always provide the spreadsheetId. Use 'Search Spreadsheets' action if you need to find it by name - Sheet names must be unique within the spreadsheet - For tab colors, use EITHER rgbColor OR themeColor, never both - Index must be less than or equal to the current number of sheets - CONCURRENCY WARNING: Do not use 'index' when creating multiple sheets in parallel - this causes 'index is too high' errors. For parallel creation, omit the index field and let sheets be added at the end Common use cases: - Add a new sheet with a specific name - Insert a sheet at a specific position - Create a sheet with custom colors and formatting. It is categorised as a Write tool in the Google Sheets MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on GOOGLESHEETS_ADD_SHEET? +

Register the Google Sheets MCP server in PolicyLayer and add a rule for GOOGLESHEETS_ADD_SHEET: 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 Google Sheets. Nothing to install.

What risk level is GOOGLESHEETS_ADD_SHEET? +

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

Can I rate-limit GOOGLESHEETS_ADD_SHEET? +

Yes. Add a rate_limit block to the GOOGLESHEETS_ADD_SHEET 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 GOOGLESHEETS_ADD_SHEET completely? +

Set action: deny in the PolicyLayer policy for GOOGLESHEETS_ADD_SHEET. 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 GOOGLESHEETS_ADD_SHEET? +

GOOGLESHEETS_ADD_SHEET is provided by the Google Sheets MCP server (google-sheets-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Google Sheets tool call.

Deterministic rules across all 38 Google Sheets tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Free to start. No card required.

4,600+ MCP servers and 31,000+ tools scanned and risk-classified.

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.