Skip to main content
Glama

freezeRowsAndColumns

Pins rows and columns in a Google Sheet so headers stay visible while scrolling. Set frozenRows or frozenColumns to 1; use 0 to unfreeze.

Instructions

Pins rows and/or columns so they stay visible when scrolling. Use frozenRows=1 to freeze a header row. Set a value to 0 to unfreeze.

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": {
      "spreadsheetId": "<spreadsheetId>"
    },
    "name": "freezeRowsAndColumns"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetNameNoName of the sheet/tab. Defaults to the first sheet if not provided.
frozenRowsNoNumber of rows to freeze from the top (e.g., 1 for a header row). Set to 0 to unfreeze rows.
frozenColumnsNoNumber of columns to freeze from the left. Set to 0 to unfreeze columns.
spreadsheetIdYesThe spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations provided, so the description carries the burden. It discloses the idempotent-ish behavior of setting 0 to unfreeze, but doesn't state required permissions, whether existing freezes are replaced, or the result format. Adequate but with gaps.

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?

Three short sentences, front-loaded with the purpose and followed by the two most important usage tips. No wasted words; could arguably be even tighter but it reads well.

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 4-parameter mutation with a fully documented schema and no output schema, the description covers purpose, the key parameters, and the unfreeze path. Only permission/return behavior is missing, which is minor here.

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

Parameters3/5

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

Schema coverage is 100% and each parameter is already documented in the schema, including the 0-to-unfreeze note. The description repeats the frozenRows=1 example, adding a small amount of practical framing but nothing new beyond the schema.

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?

Clear verb+resource: pins rows/columns so they stay visible while scrolling, and the description immediately ties to the frozenRows/frozenColumns parameters. It doesn't distinguish itself from siblings like groupRows, but the action 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?

Provides practical usage hints (frozenRows=1 for a header row, 0 to unfreeze) which effectively tell when and how to use it. No explicit exclusions or named alternatives, but the semantics are implied well enough.

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