Skip to main content
Glama

clear_data_validation

Destructive

Removes data validation rules from a specified cell range in a Google Sheets spreadsheet using the spreadsheet ID, sheet name, and A1 notation range.

Instructions

Clear any data validation rule from a cell range.

Args: spreadsheet_id: The ID of the spreadsheet sheet: The name of the sheet range: A1 notation range to clear (e.g. "A2:A100")

Returns: Result of the batchUpdate operation.

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>",
      "sheet": "<sheet>",
      "range": "<range>"
    },
    "name": "clear_data_validation"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeYes
sheetYes
spreadsheet_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, so the destructive nature is known from structured data. The description adds mildly useful context in stating the operation is a batchUpdate and that it applies to a whole range, but it does not say what happens if the range has no validation rule, whether it errors, or whether the change is reversible.

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?

Front-loaded with the one sentence that matters, then a compact Args/Returns block. The 'Returns: Result of the batchUpdate operation' line leaks internal implementation wording and adds little, but the whole definition is short with no padding.

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

Completeness3/5

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

For a simple 3-parameter mutation tool with an output schema available, the definition covers the essentials. Missing are the behavioral edge cases an agent would want before a destructive call — behavior on empty/no-rule ranges and any confirmation or permission requirements.

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 compensate, and it does document all three parameters under Args with a concrete A1 notation example ('A2:A100') for range. spreadsheet_id and sheet get only tautological one-liners, which keeps it short of a 5.

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?

The description opens with a specific verb+resource: 'Clear any data validation rule from a cell range.' That distinguishes it from add_data_validation and get_data_validation by the verb alone, though it never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the verb 'clear' — the agent can infer this removes existing rules rather than reading them, but there is no explicit when-to-use, when-not, or alternative (e.g. use get_data_validation first to inspect rules).

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