Skip to main content
Glama

unhide_columns

Destructive

Reveal hidden columns in a Google Sheets spreadsheet by specifying the sheet and a start/end column range, so you can restore visibility to concealed data.

Instructions

Unhide previously hidden columns in a sheet.

Args: spreadsheet_id: The ID of the spreadsheet (found in the URL) sheet: The name of the sheet start_column: 0-based index of the first column to unhide (0 = column A) end_column: 0-based index of the last column to unhide (inclusive). If omitted, unhides only start_column.

Returns: Result of the batchUpdate operation. Returns {"error": ...} without calling the Sheets API if start_column is negative or end_column precedes start_column.

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>",
      "start_column": "<start_column>"
    },
    "name": "unhide_columns"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetYes
end_columnNo
start_columnYes
spreadsheet_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the shallow destructiveHint annotation, the Returns section discloses a real behavioral trait: invalid indices (negative start_column, end_column before start_column) short-circuit with an {"error": ...} object and never hit the Sheets API. What is still undisclosed is permission requirements, behavior when a target column is already visible, and whether the range is applied atomically.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in a single sentence, then Args and Returns are cleanly separated, each fact appearing exactly once. There is no filler, restatement of the name, or promotional wording.

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

Completeness4/5

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

For a simple four-parameter sheet mutation with an output schema present, this covers purpose, all argument semantics, and the validation error path. The remaining gap is operational context (auth/permission expectations, idempotency on already-visible columns) rather than call mechanics.

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

Parameters5/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 carry the parameters entirely — and it does: spreadsheet_id provenance (from the URL), sheet name, 0-based start_column with an "0 = column A" anchor, and end_column's inclusive semantics plus its omission default. Nothing an agent needs to build a correct call is missing.

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 first line gives a specific verb and resource ("unhide previously hidden columns in a sheet"), so an agent immediately knows the operation and its scope. It doesn't explicitly contrast itself with siblings like hide_columns or unhide_rows, but the intent is unambiguous.

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 name and by the phrase "previously hidden" — there is no explicit when-to-use, when-not-to-use, or named alternative (e.g., hide_columns for the inverse). The Args/Returns sections describe mechanics rather than selection guidance.

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