New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

manage_conditional_formats

Manages conditional-format rules that style cells when a condition holds (boolean rules; gradient color scales need raw_request). Rules are addressed by SHEET + INDEX in that sheet's rule list — get current rules and indexes from get_spreadsheet (sheets[].conditionalFormats), and re-read after ev...

SERVERMcp Google Sheets SOURCE@a1-x-tech/mcp-google-sheets
Medium RISK CLASS
Category Write
Parameters 112 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/a1-x-tech-mcp-google-sheets/manage-conditional-formats.md

What manage_conditional_formats does on Mcp Google Sheets

AI agents use manage_conditional_formats to create or update resources in Mcp Google Sheets, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp Google Sheets environment.

ParameterTypeRequiredDescription
bold boolean — Bold text for matching cells.
index integer — Rule position in the sheet's list. add: insert position (default 0); update/delete: required.
action string Yes What to do with the rules.
italic boolean — Italic text for matching cells.
ranges array — add/update: the cells the rule applies to.
sheet_id integer — update/delete: the sheet whose rule list is addressed.
text_color string — Text color for matching cells, "#RRGGBB".
condition_type string — Sheets API condition type, e.g. ONE_OF_LIST, ONE_OF_RANGE, NUMBER_GREATER, NUMBER_LESS, NUMBER_BETWEEN, NUMBER_EQ, TEXT_CONTAINS, TEXT_STARTS_WITH, TEXT_EQ, TEX
spreadsheet_id string Yes The spreadsheet id — the long id from the URL (docs.google.com/spreadsheets/d/<spreadsheetId>/edit) or from create_spreadsheet / search_spreadsheets output.
background_color string — Fill for matching cells, "#RRGGBB".
condition_values array — Condition arguments: list items for ONE_OF_LIST (["Yes","No"]), one number for NUMBER_GREATER (["100"]), two for NUMBER_BETWEEN, "=A1>B1"-style formula for CUST

Parameters from the server's own tool schema.

Why manage_conditional_formats is rated Medium

Modifies spreadsheet formatting rules reversibly; no data deletion or code execution.

From the tool's definition Manages conditional-format rules that style cells when a condition holds; add inserts rule

Risk signalsHigh parameter count (16 properties) · Bulk/mass operation — affects multiple targets

Questions about manage_conditional_formats

What does the manage_conditional_formats tool do? +

Manages conditional-format rules that style cells when a condition holds (boolean rules; gradient color scales need raw_request). Rules are addressed by SHEET + INDEX in that sheet's rule list — get current rules and indexes from get_spreadsheet (sheets[].conditionalFormats), and re-read after every mutation because add/delete shift later indexes. action=add inserts a rule at index (default 0 = highest priority; rules are evaluated in order and the first match wins): needs ranges, condition_type (+condition_values; CUSTOM_FORMULA with a "=..." formula is the most flexible) and at least one format field (background_color, text_color, bold, italic). action=update replaces the ENTIRE rule at sheet_id+index with the newly provided one. action=delete removes the rule at sheet_id+index. It is categorised as a Write tool in the Mcp Google Sheets MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does manage_conditional_formats accept? +

manage_conditional_formats accepts 11 parameters: bold, index, action, italic, ranges, sheet_id, text_color, condition_type, spreadsheet_id, background_color, condition_values. Required: action, spreadsheet_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on manage_conditional_formats? +

Register the Mcp Google Sheets MCP server in PolicyLayer and add a rule for manage_conditional_formats: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Google Sheets. Nothing to install.

What risk level is manage_conditional_formats? +

manage_conditional_formats is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit manage_conditional_formats? +

Yes. Add a rate_limit block to the manage_conditional_formats rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block manage_conditional_formats completely? +

Set action: deny in the PolicyLayer policy for manage_conditional_formats. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides manage_conditional_formats? +

manage_conditional_formats is provided by the Mcp Google Sheets MCP server (@a1-x-tech/mcp-google-sheets). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Mcp Google Sheets, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Mcp Google Sheets's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.