citrex_cancel_and_replace_order
Cancels an existing order and replaces it with a new one in a single transaction.
This record as markdown: /tools/testinguser1111111-sei-mcp-server/citrex-cancel-and-replace-order.md
What citrex_cancel_and_replace_order does on SEI MCP Server V2
AI agents invoke citrex_cancel_and_replace_order to trigger actions in SEI MCP Server V2. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
Why citrex_cancel_and_replace_order is rated High
This tool performs two chained on-chain operations — cancelling an existing order and placing a new one — in a single transaction on the Sei blockchain. This constitutes execution of external blockchain operations with real financial implications (trading orders), but since it is modifying/replacing rather than moving money directly, Execute is the most appropriate category.
From the tool's definition Cancels an existing order and replaces it with a new one in a single transaction
Attacks that exploit this kind of access
The rule that runs citrex_cancel_and_replace_order safely
PolicyLayer is an MCP gateway: it sits between your AI agents and SEI MCP Server V2, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For citrex_cancel_and_replace_order, this is the rule to start with:
citrex_cancel_and_replace_order stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect SEI MCP Server V2, apply this rule, and every citrex_cancel_and_replace_order call is checked against it from then on.
Questions about citrex_cancel_and_replace_order
Cancels an existing order and replaces it with a new one in a single transaction. It is categorised as a Execute tool in the SEI MCP Server V2 MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the SEI MCP Server V2 MCP server in PolicyLayer and add a rule for citrex_cancel_and_replace_order: 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 SEI MCP Server V2. Nothing to install.
citrex_cancel_and_replace_order is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the citrex_cancel_and_replace_order 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 citrex_cancel_and_replace_order. 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.
citrex_cancel_and_replace_order is provided by the SEI MCP Server V2 MCP server (testinguser1111111/sei-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on SEI MCP Server V2, and thousands of servers like it.
Across the catalogue