set_formula
设置单元格公式
This record as markdown: /tools/1126misakp-excel-mcp-server-with-supabase-storage/set-formula.md
What set_formula does on Excel MCP Server with Supabase Storage
AI agents use set_formula to create or update resources in Excel MCP Server with Supabase Storage, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Excel MCP Server with Supabase Storage environment.
Why set_formula is rated Medium
Setting formulas in Excel cells is a data modification operation. It is categorized as Write rather than Execute because it modifies spreadsheet formulas within the confined Excel context, not arbitrary code execution. It is reversible (formulas can be changed or cleared), so it does not qualify as Destructive.
From the tool's definition Tool name 'set_formula' and description '设置单元格公式' (set cell formula) indicate modification of cell contents. This is a reversible write operation that changes cell values/formulas but does not delete data or execute arbitrary code.
Attacks that exploit this kind of access
The rule that runs set_formula safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Excel MCP Server with Supabase Storage, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For set_formula, this is the rule to start with:
set_formula stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Excel MCP Server with Supabase Storage, apply this rule, and every set_formula call is checked against it from then on.
Questions about set_formula
设置单元格公式. It is categorised as a Write tool in the Excel MCP Server with Supabase Storage MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Excel MCP Server with Supabase Storage MCP server in PolicyLayer and add a rule for set_formula: 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 Excel MCP Server with Supabase Storage. Nothing to install.
set_formula is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the set_formula 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.
Set action: deny in the PolicyLayer policy for set_formula. 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.
set_formula is provided by the Excel MCP Server with Supabase Storage MCP server (1126misakp/excel-mcp-server-with-supabase-storage). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Excel MCP Server with Supabase Storage, and thousands of servers like it.
Across the catalogue