Skip to main content
Glama

update_sheet_properties

Modify a Google Sheets tab’s display settings, including tab color, gridline visibility, and right-to-left layout, to match your preferred presentation or regional formatting.

Instructions

Update sheet-level display properties: tab color, gridline visibility, right-to-left layout.

Note: the Sheets API does not expose row/column header visibility as a settable sheet property, so it isn't included here. Frozen row/column counts are handled separately by the freeze tool.

Args: spreadsheet_id: The ID of the spreadsheet sheet: The name of the sheet tab_color: RGB color dict for the sheet tab, e.g. {"red": 1.0, "green": 0.0, "blue": 0.0}. Pass {} to clear the tab color back to the default. show_gridlines: Whether gridlines are shown in the UI. False hides them. right_to_left: Whether the sheet uses right-to-left layout.

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

Input Schema

NameRequiredDescriptionDefault
sheetYes
tab_colorNo
right_to_leftNo
show_gridlinesNo
spreadsheet_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.5/5.0
Behavior4/5

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

Annotations carry only a title, so the description bears the disclosure burden and does add real context: it warns about an API limitation (no header visibility), routes a related concern to another tool, and explains the empty-dict semantics that reset tab color. It does not mention permission requirements or whether unset options leave existing values untouched, which keeps it from a 5.

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 core purpose, then structured notes and Args. Every sentence carries information, though the explicit 'Args:' block partly duplicates what follows naturally from the property names and adds some length for a five-parameter tool.

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

Completeness5/5

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

For a five-parameter mutation tool with a rich output schema, the description covers purpose, scope limits, sibling routing, and every parameter's accepted form. An agent has everything needed to call it correctly; return values need not be detailed since an output schema exists.

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 coverage is 0%, so the description must carry all meaning and it does: each of the five parameters is explained, including the exact RGB dict shape with an example and the non-obvious '{} clears the color' behavior, plus the meaning of False for show_gridlines. This is substantial value beyond a schema that provides only names and types.

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

Purpose5/5

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

States a specific verb and resource ('Update sheet-level display properties') and enumerates the exact properties affected: tab color, gridline visibility, right-to-left layout. It also explicitly distinguishes itself from the freeze tool, so an agent can tell these apart without opening the schemas.

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

Usage Guidelines4/5

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

Gives a clear routing hint by noting that frozen row/column counts are handled by the freeze tool, and that header visibility isn't settable at all. It stops short of a full when-to-use/when-not framing against other update tools, but the scoping boundaries an agent would trip over are covered.

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