cart_refill_gift_card
Add balance to gift card
This record as markdown: /tools/jiantmo-mcp-commerce/cart-refill-gift-card.md
What cart_refill_gift_card does on MCP Dynamics 365 Commerce Server
AI agents use cart_refill_gift_card to commit financial operations through MCP Dynamics 365 Commerce Server, usually the final step of a payment, billing, or trading workflow. A call moves real money.
Why cart_refill_gift_card is rated Critical
Adding balance to a gift card is a financial operation that moves monetary value onto a stored-value instrument. Misuse could result in unauthorized funds being loaded onto gift cards, representing a direct financial impact. This falls under the Financial category as it commits financial obligations and moves value.
From the tool's definition 'Add balance to gift card' — directly modifies a financial instrument (gift card balance), committing a financial obligation or value transfer
Attacks that exploit this kind of access
The rule that runs cart_refill_gift_card safely
PolicyLayer is an MCP gateway: it sits between your AI agents and MCP Dynamics 365 Commerce Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For cart_refill_gift_card, this is the rule to start with:
Any call to cart_refill_gift_card is blocked until a human approves it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect MCP Dynamics 365 Commerce Server, apply this rule, and every cart_refill_gift_card call is checked against it from then on.
Questions about cart_refill_gift_card
Add balance to gift card. It is categorised as a Financial tool in the MCP Dynamics 365 Commerce Server MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
Register the MCP Dynamics 365 Commerce Server MCP server in PolicyLayer and add a rule for cart_refill_gift_card: 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 Dynamics 365 Commerce Server. Nothing to install.
cart_refill_gift_card is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the cart_refill_gift_card 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 cart_refill_gift_card. 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.
cart_refill_gift_card is provided by the MCP Dynamics 365 Commerce Server MCP server (jiantmo/mcp-commerce). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on MCP Dynamics 365 Commerce Server, and thousands of servers like it.
Across the catalogue