Skip to main content
Glama
Google Workspace MCP
by holms

Clear Google Sheet

clear_google_sheet

Clear values from a specified range in a Google Sheet to remove stale or unwanted data while keeping the sheet structure intact.

Instructions

Clear values in a range of a Google Sheet.

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": {
      "spreadsheet_id": "<spreadsheet_id>",
      "range_name": "<range_name>"
    },
    "name": "clear_google_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
range_nameYes
spreadsheet_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, yet it does not say that clearing is destructive/irreversible, whether formatting is preserved or removed, or what permissions are needed. Only the verb 'clear' implies mutation, which is thin for a destructive operation.

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?

A single tight sentence with the verb and scope front-loaded and nothing superfluous. Its brevity is efficient structurally, though the missing detail is penalized in other dimensions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, so return values needn't be described, but for a destructive mutation with no annotations and zero parameter documentation the definition is under-specified. Key facts an agent needs before calling it (range format, irreversibility) are absent.

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

Parameters2/5

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

Schema coverage is 0% and the description explains nothing about either parameter. It does not say that range_name expects A1 notation including a sheet name, nor how spreadsheet_id is obtained, so the agent gets no help beyond bare parameter names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Clear') and resource ('values in a range of a Google Sheet'), which an agent can distinguish from a write/append operation. It stops short of naming or contrasting the sibling tools such as write_google_sheet or append_to_google_sheet.

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?

No guidance on when to clear versus overwrite with write_google_sheet or append to a sheet, and no stated preconditions. The agent must infer the choice from the name alone.

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