Skip to main content
Glama

sheets_format_cells

Idempotent

Apply custom formatting to Google Sheets cells: set background colors, text styles, alignment, padding, and number formats. Specify a range and format object to update cell appearance.

Instructions

Format cells in a Google Sheet (colors, fonts, alignment, number formats)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeYes
formatYes
spreadsheetIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv1.10.2
    • removedInput schema / properties / format / def
      Removed value: -{
      -  "shape": {
      -    "backgroundColor": {
      -      "def": {
      -        "innerType": {
      -          "def": {
      -            "shape": {
      -              "alpha": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "checks": [
      -                        {},
      -                        {}
      -                      ],
      -                      "type": "number"
      -                    },
      -                    "format": null,
      -                    "isFinite": true,
      -                    "isInt": false,
      -                    "maxValue": 1,
      -                    "minValue": 0,
      -                    "type": "number"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "blue": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "checks": [
      -                        {},
      -                        {}
      -                      ],
      -                      "type": "number"
      -                    },
      -                    "format": null,
      -                    "isFinite": true,
      -                    "isInt": false,
      -                    "maxValue": 1,
      -                    "minValue": 0,
      -                    "type": "number"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "green": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "checks": [
      -                        {},
      -                        {}
      -                      ],
      -                      "type": "number"
      -                    },
      -                    "format": null,
      -                    "isFinite": true,
      -                    "isInt": false,
      -                    "maxValue": 1,
      -                    "minValue": 0,
      -                    "type": "number"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "red": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "checks": [
      -                        {},
      -                        {}
      -                      ],
      -                      "type": "number"
      -                    },
      -                    "format": null,
      -                    "isFinite": true,
      -                    "isInt": false,
      -                    "maxValue": 1,
      -                    "minValue": 0,
      -                    "type": "number"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "type": "object"
      -        },
      -        "type": "optional"
      -      },
      -      "type": "optional"
      -    },
      -    "horizontalAlignment": {
      -      "def": {
      -        "innerType": {
      -          "def": {
      -            "entries": {
      -              "CENTER": "CENTER",
      -              "LEFT": "LEFT",
      -              "RIGHT": "RIGHT"
      -            },
      -            "type": "enum"
      -          },
      -          "enum": {
      -            "CENTER": "CENTER",
      -            "LEFT": "LEFT",
      -            "RIGHT": "RIGHT"
      -          },
      -          "options": [
      -            "LEFT",
      -            "CENTER",
      -            "RIGHT"
      -          ],
      -          "type": "enum"
      -        },
      -        "type": "optional"
      -      },
      -      "type": "optional"
      -    },
      -    "numberFormat": {
      -      "def": {
      -        "innerType": {
      -          "def": {
      -            "shape": {
      -              "pattern": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "type": "string"
      -                    },
      -                    "format": null,
      -                    "maxLength": null,
      -                    "minLength": null,
      -                    "type": "string"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "type": {
      -                "def": {
      -                  "entries": {
      -                    "CURRENCY": "CURRENCY",
      -                    "DATE": "DATE",
      -                    "DATE_TIME": "DATE_TIME",
      -                    "NUMBER": "NUMBER",
      -                    "PERCENT": "PERCENT",
      -                    "SCIENTIFIC": "SCIENTIFIC",
      -                    "TEXT": "TEXT",
      -                    "TIME": "TIME"
      -                  },
      -                  "type": "enum"
      -                },
      -                "enum": {
      -                  "CURRENCY": "CURRENCY",
      -                  "DATE": "DATE",
      -                  "DATE_TIME": "DATE_TIME",
      -                  "NUMBER": "NUMBER",
      -                  "PERCENT": "PERCENT",
      -                  "SCIENTIFIC": "SCIENTIFIC",
      -                  "TEXT": "TEXT",
      -                  "TIME": "TIME"
      -                },
      -                "options": [
      -                  "TEXT",
      -                  "NUMBER",
      -                  "PERCENT",
      -                  "CURRENCY",
      -                  "DATE",
      -                  "TIME",
      -                  "DATE_TIME",
      -                  "SCIENTIFIC"
      -                ],
      -                "type": "enum"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "type": "object"
      -        },
      -        "type": "optional"
      -      },
      -      "type": "optional"
      -    },
      -    "padding": {
      -      "def": {
      -        "innerType": {
      -          "def": {
      -            "shape": {
      -              "bottom": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "checks": [],
      -                      "type": "number"
      -                    },
      -                    "format": null,
      -                    "isFinite": true,
      -                    "isInt": false,
      -                    "maxValue": null,
      -                    "minValue": null,
      -                    "type": "number"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "left": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "checks": [],
      -                      "type": "number"
      -                    },
      -                    "format": null,
      -                    "isFinite": true,
      -                    "isInt": false,
      -                    "maxValue": null,
      -                    "minValue": null,
      -                    "type": "number"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "right": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "checks": [],
      -                      "type": "number"
      -                    },
      -                    "format": null,
      -                    "isFinite": true,
      -                    "isInt": false,
      -                    "maxValue": null,
      -                    "minValue": null,
      -                    "type": "number"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "top": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "checks": [],
      -                      "type": "number"
      -                    },
      -                    "format": null,
      -                    "isFinite": true,
      -                    "isInt": false,
      -                    "maxValue": null,
      -                    "minValue": null,
      -                    "type": "number"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "type": "object"
      -        },
      -        "type": "optional"
      -      },
      -      "type": "optional"
      -    },
      -    "textFormat": {
      -      "def": {
      -        "innerType": {
      -          "def": {
      -            "shape": {
      -              "bold": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "type": "boolean"
      -                    },
      -                    "type": "boolean"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "fontFamily": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "type": "string"
      -                    },
      -                    "format": null,
      -                    "maxLength": null,
      -                    "minLength": null,
      -                    "type": "string"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "fontSize": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "checks": [
      -                        {}
      -                      ],
      -                      "type": "number"
      -                    },
      -                    "format": null,
      -                    "isFinite": true,
      -                    "isInt": false,
      -                    "maxValue": null,
      -                    "minValue": 0,
      -                    "type": "number"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "foregroundColor": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "shape": {
      -                        "alpha": {
      -                          "def": {
      -                            "innerType": {
      -                              "def": {
      -                                "checks": [
      -                                  {},
      -                                  {}
      -                                ],
      -                                "type": "number"
      -                              },
      -                              "format": null,
      -                              "isFinite": true,
      -                              "isInt": false,
      -                              "maxValue": 1,
      -                              "minValue": 0,
      -                              "type": "number"
      -                            },
      -                            "type": "optional"
      -                          },
      -                          "type": "optional"
      -                        },
      -                        "blue": {
      -                          "def": {
      -                            "innerType": {
      -                              "def": {
      -                                "checks": [
      -                                  {},
      -                                  {}
      -                                ],
      -                                "type": "number"
      -                              },
      -                              "format": null,
      -                              "isFinite": true,
      -                              "isInt": false,
      -                              "maxValue": 1,
      -                              "minValue": 0,
      -                              "type": "number"
      -                            },
      -                            "type": "optional"
      -                          },
      -                          "type": "optional"
      -                        },
      -                        "green": {
      -                          "def": {
      -                            "innerType": {
      -                              "def": {
      -                                "checks": [
      -                                  {},
      -                                  {}
      -                                ],
      -                                "type": "number"
      -                              },
      -                              "format": null,
      -                              "isFinite": true,
      -                              "isInt": false,
      -                              "maxValue": 1,
      -                              "minValue": 0,
      -                              "type": "number"
      -                            },
      -                            "type": "optional"
      -                          },
      -                          "type": "optional"
      -                        },
      -                        "red": {
      -                          "def": {
      -                            "innerType": {
      -                              "def": {
      -                                "checks": [
      -                                  {},
      -                                  {}
      -                                ],
      -                                "type": "number"
      -                              },
      -                              "format": null,
      -                              "isFinite": true,
      -                              "isInt": false,
      -                              "maxValue": 1,
      -                              "minValue": 0,
      -                              "type": "number"
      -                            },
      -                            "type": "optional"
      -                          },
      -                          "type": "optional"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    "type": "object"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "italic": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "type": "boolean"
      -                    },
      -                    "type": "boolean"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "strikethrough": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "type": "boolean"
      -                    },
      -                    "type": "boolean"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              },
      -              "underline": {
      -                "def": {
      -                  "innerType": {
      -                    "def": {
      -                      "type": "boolean"
      -                    },
      -                    "type": "boolean"
      -                  },
      -                  "type": "optional"
      -                },
      -                "type": "optional"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "type": "object"
      -        },
      -        "type": "optional"
      -      },
      -      "type": "optional"
      -    },
      -    "verticalAlignment": {
      -      "def": {
      -        "innerType": {
      -          "def": {
      -            "entries": {
      -              "BOTTOM": "BOTTOM",
      -              "MIDDLE": "MIDDLE",
      -              "TOP": "TOP"
      -            },
      -            "type": "enum"
      -          },
      -          "enum": {
      -            "BOTTOM": "BOTTOM",
      -            "MIDDLE": "MIDDLE",
      -            "TOP": "TOP"
      -          },
      -          "options": [
      -            "TOP",
      -            "MIDDLE",
      -            "BOTTOM"
      -          ],
      -          "type": "enum"
      -        },
      -        "type": "optional"
      -      },
      -      "type": "optional"
      -    },
      -    "wrapStrategy": {
      -      "def": {
      -        "innerType": {
      -          "def": {
      -            "entries": {
      -              "CLIP": "CLIP",
      -              "LEGACY_WRAP": "LEGACY_WRAP",
      -              "OVERFLOW_CELL": "OVERFLOW_CELL",
      -              "WRAP": "WRAP"
      -            },
      -            "type": "enum"
      -          },
      -          "enum": {
      -            "CLIP": "CLIP",
      -            "LEGACY_WRAP": "LEGACY_WRAP",
      -            "OVERFLOW_CELL": "OVERFLOW_CELL",
      -            "WRAP": "WRAP"
      -          },
      -          "options": [
      -            "OVERFLOW_CELL",
      -            "LEGACY_WRAP",
      -            "CLIP",
      -            "WRAP"
      -          ],
      -          "type": "enum"
      -        },
      -        "type": "optional"
      -      },
      -      "type": "optional"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedInput schema / properties / format / properties
      Added value: +{
      +  "backgroundColor": {
      +    "properties": {
      +      "alpha": {
      +        "maximum": 1,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "blue": {
      +        "maximum": 1,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "green": {
      +        "maximum": 1,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "red": {
      +        "maximum": 1,
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "horizontalAlignment": {
      +    "enum": [
      +      "LEFT",
      +      "CENTER",
      +      "RIGHT"
      +    ],
      +    "type": "string"
      +  },
      +  "numberFormat": {
      +    "properties": {
      +      "pattern": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "enum": [
      +          "TEXT",
      +          "NUMBER",
      +          "PERCENT",
      +          "CURRENCY",
      +          "DATE",
      +          "TIME",
      +          "DATE_TIME",
      +          "SCIENTIFIC"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  "padding": {
      +    "properties": {
      +      "bottom": {
      +        "type": "number"
      +      },
      +      "left": {
      +        "type": "number"
      +      },
      +      "right": {
      +        "type": "number"
      +      },
      +      "top": {
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "textFormat": {
      +    "properties": {
      +      "bold": {
      +        "type": "boolean"
      +      },
      +      "fontFamily": {
      +        "type": "string"
      +      },
      +      "fontSize": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "foregroundColor": {
      +        "properties": {
      +          "alpha": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "blue": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "green": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "red": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "italic": {
      +        "type": "boolean"
      +      },
      +      "strikethrough": {
      +        "type": "boolean"
      +      },
      +      "underline": {
      +        "type": "boolean"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "verticalAlignment": {
      +    "enum": [
      +      "TOP",
      +      "MIDDLE",
      +      "BOTTOM"
      +    ],
      +    "type": "string"
      +  },
      +  "wrapStrategy": {
      +    "enum": [
      +      "OVERFLOW_CELL",
      +      "LEGACY_WRAP",
      +      "CLIP",
      +      "WRAP"
      +    ],
      +    "type": "string"
      +  }
      +}
    • removedInput schema / properties / range / def
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / range / format
      Removed value: -null
    • removedInput schema / properties / range / maxLength
      Removed value: -null
    • removedInput schema / properties / range / minLength
      Removed value: -null
    • removedInput schema / properties / spreadsheetId / def
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / spreadsheetId / format
      Removed value: -null
    • removedInput schema / properties / spreadsheetId / maxLength
      Removed value: -null
    • removedInput schema / properties / spreadsheetId / minLength
      Removed value: -null
  2. Changed19 schema fields changedv1.10.1
    • removedInput schema / properties / format / _cached
      Removed value: -null
    • removedInput schema / properties / format / _def
      Removed value: -{
      -  "catchall": {
      -    "_def": {
      -      "typeName": "ZodNever"
      -    },
      -    "~standard": {
      -      "vendor": "zod",
      -      "version": 1
      -    }
      -  },
      -  "typeName": "ZodObject",
      -  "unknownKeys": "strip"
      -}
    • addedInput schema / properties / format / def
      Added value: +{
      +  "shape": {
      +    "backgroundColor": {
      +      "def": {
      +        "innerType": {
      +          "def": {
      +            "shape": {
      +              "alpha": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "checks": [
      +                        {},
      +                        {}
      +                      ],
      +                      "type": "number"
      +                    },
      +                    "format": null,
      +                    "isFinite": true,
      +                    "isInt": false,
      +                    "maxValue": 1,
      +                    "minValue": 0,
      +                    "type": "number"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "blue": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "checks": [
      +                        {},
      +                        {}
      +                      ],
      +                      "type": "number"
      +                    },
      +                    "format": null,
      +                    "isFinite": true,
      +                    "isInt": false,
      +                    "maxValue": 1,
      +                    "minValue": 0,
      +                    "type": "number"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "green": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "checks": [
      +                        {},
      +                        {}
      +                      ],
      +                      "type": "number"
      +                    },
      +                    "format": null,
      +                    "isFinite": true,
      +                    "isInt": false,
      +                    "maxValue": 1,
      +                    "minValue": 0,
      +                    "type": "number"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "red": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "checks": [
      +                        {},
      +                        {}
      +                      ],
      +                      "type": "number"
      +                    },
      +                    "format": null,
      +                    "isFinite": true,
      +                    "isInt": false,
      +                    "maxValue": 1,
      +                    "minValue": 0,
      +                    "type": "number"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "object"
      +        },
      +        "type": "optional"
      +      },
      +      "type": "optional"
      +    },
      +    "horizontalAlignment": {
      +      "def": {
      +        "innerType": {
      +          "def": {
      +            "entries": {
      +              "CENTER": "CENTER",
      +              "LEFT": "LEFT",
      +              "RIGHT": "RIGHT"
      +            },
      +            "type": "enum"
      +          },
      +          "enum": {
      +            "CENTER": "CENTER",
      +            "LEFT": "LEFT",
      +            "RIGHT": "RIGHT"
      +          },
      +          "options": [
      +            "LEFT",
      +            "CENTER",
      +            "RIGHT"
      +          ],
      +          "type": "enum"
      +        },
      +        "type": "optional"
      +      },
      +      "type": "optional"
      +    },
      +    "numberFormat": {
      +      "def": {
      +        "innerType": {
      +          "def": {
      +            "shape": {
      +              "pattern": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "type": "string"
      +                    },
      +                    "format": null,
      +                    "maxLength": null,
      +                    "minLength": null,
      +                    "type": "string"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "type": {
      +                "def": {
      +                  "entries": {
      +                    "CURRENCY": "CURRENCY",
      +                    "DATE": "DATE",
      +                    "DATE_TIME": "DATE_TIME",
      +                    "NUMBER": "NUMBER",
      +                    "PERCENT": "PERCENT",
      +                    "SCIENTIFIC": "SCIENTIFIC",
      +                    "TEXT": "TEXT",
      +                    "TIME": "TIME"
      +                  },
      +                  "type": "enum"
      +                },
      +                "enum": {
      +                  "CURRENCY": "CURRENCY",
      +                  "DATE": "DATE",
      +                  "DATE_TIME": "DATE_TIME",
      +                  "NUMBER": "NUMBER",
      +                  "PERCENT": "PERCENT",
      +                  "SCIENTIFIC": "SCIENTIFIC",
      +                  "TEXT": "TEXT",
      +                  "TIME": "TIME"
      +                },
      +                "options": [
      +                  "TEXT",
      +                  "NUMBER",
      +                  "PERCENT",
      +                  "CURRENCY",
      +                  "DATE",
      +                  "TIME",
      +                  "DATE_TIME",
      +                  "SCIENTIFIC"
      +                ],
      +                "type": "enum"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "object"
      +        },
      +        "type": "optional"
      +      },
      +      "type": "optional"
      +    },
      +    "padding": {
      +      "def": {
      +        "innerType": {
      +          "def": {
      +            "shape": {
      +              "bottom": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "checks": [],
      +                      "type": "number"
      +                    },
      +                    "format": null,
      +                    "isFinite": true,
      +                    "isInt": false,
      +                    "maxValue": null,
      +                    "minValue": null,
      +                    "type": "number"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "left": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "checks": [],
      +                      "type": "number"
      +                    },
      +                    "format": null,
      +                    "isFinite": true,
      +                    "isInt": false,
      +                    "maxValue": null,
      +                    "minValue": null,
      +                    "type": "number"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "right": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "checks": [],
      +                      "type": "number"
      +                    },
      +                    "format": null,
      +                    "isFinite": true,
      +                    "isInt": false,
      +                    "maxValue": null,
      +                    "minValue": null,
      +                    "type": "number"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "top": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "checks": [],
      +                      "type": "number"
      +                    },
      +                    "format": null,
      +                    "isFinite": true,
      +                    "isInt": false,
      +                    "maxValue": null,
      +                    "minValue": null,
      +                    "type": "number"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "object"
      +        },
      +        "type": "optional"
      +      },
      +      "type": "optional"
      +    },
      +    "textFormat": {
      +      "def": {
      +        "innerType": {
      +          "def": {
      +            "shape": {
      +              "bold": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "type": "boolean"
      +                    },
      +                    "type": "boolean"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "fontFamily": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "type": "string"
      +                    },
      +                    "format": null,
      +                    "maxLength": null,
      +                    "minLength": null,
      +                    "type": "string"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "fontSize": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "checks": [
      +                        {}
      +                      ],
      +                      "type": "number"
      +                    },
      +                    "format": null,
      +                    "isFinite": true,
      +                    "isInt": false,
      +                    "maxValue": null,
      +                    "minValue": 0,
      +                    "type": "number"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "foregroundColor": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "shape": {
      +                        "alpha": {
      +                          "def": {
      +                            "innerType": {
      +                              "def": {
      +                                "checks": [
      +                                  {},
      +                                  {}
      +                                ],
      +                                "type": "number"
      +                              },
      +                              "format": null,
      +                              "isFinite": true,
      +                              "isInt": false,
      +                              "maxValue": 1,
      +                              "minValue": 0,
      +                              "type": "number"
      +                            },
      +                            "type": "optional"
      +                          },
      +                          "type": "optional"
      +                        },
      +                        "blue": {
      +                          "def": {
      +                            "innerType": {
      +                              "def": {
      +                                "checks": [
      +                                  {},
      +                                  {}
      +                                ],
      +                                "type": "number"
      +                              },
      +                              "format": null,
      +                              "isFinite": true,
      +                              "isInt": false,
      +                              "maxValue": 1,
      +                              "minValue": 0,
      +                              "type": "number"
      +                            },
      +                            "type": "optional"
      +                          },
      +                          "type": "optional"
      +                        },
      +                        "green": {
      +                          "def": {
      +                            "innerType": {
      +                              "def": {
      +                                "checks": [
      +                                  {},
      +                                  {}
      +                                ],
      +                                "type": "number"
      +                              },
      +                              "format": null,
      +                              "isFinite": true,
      +                              "isInt": false,
      +                              "maxValue": 1,
      +                              "minValue": 0,
      +                              "type": "number"
      +                            },
      +                            "type": "optional"
      +                          },
      +                          "type": "optional"
      +                        },
      +                        "red": {
      +                          "def": {
      +                            "innerType": {
      +                              "def": {
      +                                "checks": [
      +                                  {},
      +                                  {}
      +                                ],
      +                                "type": "number"
      +                              },
      +                              "format": null,
      +                              "isFinite": true,
      +                              "isInt": false,
      +                              "maxValue": 1,
      +                              "minValue": 0,
      +                              "type": "number"
      +                            },
      +                            "type": "optional"
      +                          },
      +                          "type": "optional"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "italic": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "type": "boolean"
      +                    },
      +                    "type": "boolean"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "strikethrough": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "type": "boolean"
      +                    },
      +                    "type": "boolean"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              },
      +              "underline": {
      +                "def": {
      +                  "innerType": {
      +                    "def": {
      +                      "type": "boolean"
      +                    },
      +                    "type": "boolean"
      +                  },
      +                  "type": "optional"
      +                },
      +                "type": "optional"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "object"
      +        },
      +        "type": "optional"
      +      },
      +      "type": "optional"
      +    },
      +    "verticalAlignment": {
      +      "def": {
      +        "innerType": {
      +          "def": {
      +            "entries": {
      +              "BOTTOM": "BOTTOM",
      +              "MIDDLE": "MIDDLE",
      +              "TOP": "TOP"
      +            },
      +            "type": "enum"
      +          },
      +          "enum": {
      +            "BOTTOM": "BOTTOM",
      +            "MIDDLE": "MIDDLE",
      +            "TOP": "TOP"
      +          },
      +          "options": [
      +            "TOP",
      +            "MIDDLE",
      +            "BOTTOM"
      +          ],
      +          "type": "enum"
      +        },
      +        "type": "optional"
      +      },
      +      "type": "optional"
      +    },
      +    "wrapStrategy": {
      +      "def": {
      +        "innerType": {
      +          "def": {
      +            "entries": {
      +              "CLIP": "CLIP",
      +              "LEGACY_WRAP": "LEGACY_WRAP",
      +              "OVERFLOW_CELL": "OVERFLOW_CELL",
      +              "WRAP": "WRAP"
      +            },
      +            "type": "enum"
      +          },
      +          "enum": {
      +            "CLIP": "CLIP",
      +            "LEGACY_WRAP": "LEGACY_WRAP",
      +            "OVERFLOW_CELL": "OVERFLOW_CELL",
      +            "WRAP": "WRAP"
      +          },
      +          "options": [
      +            "OVERFLOW_CELL",
      +            "LEGACY_WRAP",
      +            "CLIP",
      +            "WRAP"
      +          ],
      +          "type": "enum"
      +        },
      +        "type": "optional"
      +      },
      +      "type": "optional"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / format / type
      Added value: +"object"
    • removedInput schema / properties / format / ~standard
      Removed value: -{
      -  "vendor": "zod",
      -  "version": 1
      -}
    • removedInput schema / properties / range / _def
      Removed value: -{
      -  "checks": [],
      -  "coerce": false,
      -  "typeName": "ZodString"
      -}
    • addedInput schema / properties / range / def
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / range / format
      Added value: +null
    • addedInput schema / properties / range / maxLength
      Added value: +null
    • addedInput schema / properties / range / minLength
      Added value: +null
    • addedInput schema / properties / range / type
      Added value: +"string"
    • removedInput schema / properties / range / ~standard
      Removed value: -{
      -  "vendor": "zod",
      -  "version": 1
      -}
    • removedInput schema / properties / spreadsheetId / _def
      Removed value: -{
      -  "checks": [],
      -  "coerce": false,
      -  "typeName": "ZodString"
      -}
    • addedInput schema / properties / spreadsheetId / def
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / spreadsheetId / format
      Added value: +null
    • addedInput schema / properties / spreadsheetId / maxLength
      Added value: +null
    • addedInput schema / properties / spreadsheetId / minLength
      Added value: +null
    • addedInput schema / properties / spreadsheetId / type
      Added value: +"string"
    • removedInput schema / properties / spreadsheetId / ~standard
      Removed value: -{
      -  "vendor": "zod",
      -  "version": 1
      -}
  3. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With annotations showing idempotentHint=true and destructiveHint=false, the description adds no additional behavioral context. It fails to disclose what happens to existing formatting, whether the operation overrides all styles or just specified ones, or any permission requirements. The description only restates what the tool does without deeper behavioral insight.

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?

The description is extremely concise, consisting of one sentence that front-loads the primary purpose and examples of formatting types. No redundant information is present, making it efficient to parse.

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

Completeness2/5

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

Given the tool's complexity—a deeply nested format object, numerous enum options, and no output schema—the description is severely under-specified. It does not cover how the format object should be structured, the meaning of different color fields, or behavioral details like whether existing partial formatting is preserved. The lack of any examples or parameter explanations makes it inadequate for correct invocation.

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

Parameters2/5

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

Schema description coverage is 0%, and the description does not explain the meaning or expected usage of any parameters. While the schema is rich with nested objects and enums, the description provides no additional clarity (e.g., how to specify colors or number formats). The brief mention of format categories gives only a high-level hint of the format object's contents.

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 clearly states it formats cells in a Google Sheet and lists specific formatting categories (colors, fonts, alignment, number formats). It distinguishes the general purpose from siblings like sheets_batch_format_cells, though it doesn't explicitly differentiate between single and batch operations.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as sheets_batch_format_cells or sheets_update_borders. There is no mention of prerequisites, limitations, or context where a different formatting tool would be more appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.