插入 Excel 公式.
AI agents use insert_excel_formula to create or update resources in Office MCP Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Office MCP Server environment.
This tool creates or modifies Excel formulas, which are reversible changes to spreadsheet data. While formulas can trigger calculations with side effects, they do not irreversibly delete data (not Destructive), execute arbitrary code (not Execute), or move money (not Financial). The impact depends on formula content but defaults to Write classification.
From the tool's definition Tool name 'insert_excel_formula' and description '插入 Excel 公式' (Insert Excel formula) indicate creating or modifying spreadsheet formulas. The sibling tools (add_excel_chart_trendline, add_excel_comment, etc.) all perform Write operations on Office documents.
Attacks that exploit this kind of access
插入 Excel 公式. It is categorised as a Write tool in the Office MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Office MCP Server MCP server in PolicyLayer and add a rule for insert_excel_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 Office MCP Server. Nothing to install.
insert_excel_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 insert_excel_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 insert_excel_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.
insert_excel_formula is provided by the Office MCP Server MCP server (walkingzzzy/office-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
insert_excel_formula is one line of Office MCP Server's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →