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

set_borders

Draws borders around and/or inside a grid range. top/bottom/left/right are the range's outer edges; inner_horizontal/inner_vertical are the grid lines between cells inside it. Each side takes {style, color?} — styles SOLID, SOLID_MEDIUM, SOLID_THICK, DOTTED, DASHED, DOUBLE, or NONE to remove that...

SERVERMcp Google Sheets SOURCE@a1-x-tech/mcp-google-sheets
Medium RISK CLASS
Category Write
Parameters 82 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/set-borders.md

What set_borders does on Mcp Google Sheets

AI agents use set_borders 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
top object — Border line: {style, color?}.
left object — Border line: {style, color?}.
range object Yes Cell rectangle in grid coordinates: rows 1-10 × columns A-B = {start_row_index:0, end_row_index:10, start_column_index:0, end_column_index:2}.
right object — Border line: {style, color?}.
bottom object — Border line: {style, color?}.
inner_vertical object — Vertical lines between columns inside the range.
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.
inner_horizontal object — Horizontal lines between rows inside the range.

Parameters from the server's own tool schema.

Why set_borders is rated Medium

Set_borders modifies spreadsheet formatting reversibly without destroying data or executing code.

From the tool's definition Draws borders around and/or inside a grid range. Modifies cell formatting reversibly.

Risk signalsHigh parameter count (25 properties)

Questions about set_borders

What does the set_borders tool do? +

Draws borders around and/or inside a grid range. top/bottom/left/right are the range's outer edges; inner_horizontal/inner_vertical are the grid lines between cells inside it. Each side takes {style, color?} — styles SOLID, SOLID_MEDIUM, SOLID_THICK, DOTTED, DASHED, DOUBLE, or NONE to remove that side's border. Only the provided sides change; at least one is required. Colors are "#RRGGBB" hex (default black). 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 set_borders accept? +

set_borders accepts 8 parameters: top, left, range, right, bottom, inner_vertical, spreadsheet_id, inner_horizontal. Required: range, spreadsheet_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on set_borders? +

Register the Mcp Google Sheets MCP server in PolicyLayer and add a rule for set_borders: 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 set_borders? +

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

Can I rate-limit set_borders? +

Yes. Add a rate_limit block to the set_borders 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 set_borders completely? +

Set action: deny in the PolicyLayer policy for set_borders. 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 set_borders? +

set_borders 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.

// 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.