Use this tool to draft the reply that will be sent to the customer, combining the PageFly refund templates (intro, win-back offer, refund breakdown, Upcoming-bill options, case-specific blocks) into a single message. Common use-cases include: - Drafting a prorated refund message with a breakdown ...
AI agents use generate_refund_message to create or update resources in PageFly Refund MCP Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your PageFly Refund MCP Server environment.
This tool generates/drafts a message to be sent to a customer. It creates content (a composed message) by assembling templates, which is a Write operation. While it involves refund-related content, the tool itself does not initiate a financial transaction — it only drafts the communication.
From the tool's definition 'draft the reply that will be sent to the customer', 'combining the PageFly refund templates ... into a single message'
Attacks that exploit this kind of access
Use this tool to draft the reply that will be sent to the customer, combining the PageFly refund templates (intro, win-back offer, refund breakdown, Upcoming-bill options, case-specific blocks) into a single message. Common use-cases include: - Drafting a prorated refund message with a breakdown (TH1, TH3, TH7) - Drafting the explanation for a perceived double-charge (TH2) - Drafting the Upcoming-bill two-option message (TH4) - Drafting the holding message for unauthorized auto-upgrade (TH5) - Drafting the downgrade instructions when the customer just wants to stop charges (TH6) - Drafting a polite decline (TH8, or is_decline=true) — set decline_reason. A decline skips the gate (no payout details needed to decline). - Drafting the App-Credit offer when the bill FAILED (bill_status=failed). - Drafting a discount-overcharge correction (is_discount_adjustment=true). Every quoted amount is framed as an ESTIMATE subject to review; when a Manager must approve (TH5, 3+ cycles, discount adjustment) the message says so explicitly. Pass bill_currency / bill_display_amount when the bill is not in USD so the message clarifies the refund is processed in USD. Call this tool after. It is categorised as a Write tool in the PageFly Refund MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the PageFly Refund MCP Server MCP server in PolicyLayer and add a rule for generate_refund_message: 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 PageFly Refund MCP Server. Nothing to install.
generate_refund_message 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 generate_refund_message 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 generate_refund_message. 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.
generate_refund_message is provided by the PageFly Refund MCP Server MCP server (nthieu002/refund-crisp-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →