Skip to main content
Glama

updateTableRange

Resize a Google Sheets table by updating its A1 range to add or remove rows and columns; the new range must include the original table range.

Instructions

Modifies a table's dimensions (add/remove rows and columns) by updating its range. The new range must include the original table range.

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>",
      "tableIdentifier": "<tableIdentifier>",
      "range": "<range>"
    },
    "name": "updateTableRange"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeYesNew A1 notation range for the table (e.g., "Sheet1!A1:F15"). Must include the original table range.
spreadsheetIdYesThe spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL.
tableIdentifierYesThe table name or table ID to update. Use listTables to see available tables.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one meaningful precondition — the new range must include the original table range — but says nothing about whether added rows/columns are empty, what happens to existing data at the edges, required permissions, or reversibility. That is a real gap for a mutation tool.

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?

Two short sentences, front-loaded with the action and followed by the key constraint. Nothing redundant, though the parenthetical could carry slightly more detail without bloat.

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 three-parameter mutation tool with no annotations and no output schema, the definition covers what it does and the main range constraint but leaves the effect on table contents and any error conditions unexplained. Adequate to invoke, not fully complete.

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 description coverage is 100%, including the A1 notation example and the 'must include the original table range' note for `range`. The description adds essentially no parameter meaning beyond the schema, so the baseline 3 applies.

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 and resource ('Modifies a table's dimensions... by updating its range') and clarifies the operation as adding/removing rows and columns. That distinguishes it from siblings like appendTableRows or deleteTable without naming them.

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 mechanics of the operation. There is no explicit guidance on when to prefer this over appendTableRows (adding rows to data) or insertTable, and no statement of prerequisites beyond the range constraint.

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