create_checkout
Create a signed, single-purpose checkout link (30-minute expiry) for one gift to one country. The schema has no recipient fields on purpose: name, address, phone, delivery details and payment are collected on the secure page. Show the returned summary and get the user's explicit confirmation befo...
This record as markdown: /tools/com-giftroam-giftroam/create-checkout.md
What create_checkout does on Giftroam
AI agents use create_checkout to create or update resources in Giftroam, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Giftroam environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
locale | string | — | Language of the conversation with the user (e.g. he-IL, fr-FR). Localizes content and messages; prices and availability are unaffected. The checkout page opens |
country | string | Yes | Destination country, ISO-3166 alpha-2. |
gift_id | string | Yes | gift_id from search_gifts. |
quantity | number | — | Always 1 in v1. |
delivery_date | string | — | Requested delivery date YYYY-MM-DD; omit for as-soon-as-possible. |
gift_card_text | string | — | Card message (≤180 chars) if the user already gave one. |
idempotency_key | string | Yes | Client-generated key; retries with the same key return the same link. |
Parameters from the server's own tool schema.
Why create_checkout is rated Medium
An AI agent can call create_checkout faster than any human can review: one bad instruction and it creates or modifies resources in Giftroam by the hundred, each call as confident as the last.
Attacks that exploit this kind of access
The rule that runs create_checkout safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Giftroam, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For create_checkout, this is the rule to start with:
create_checkout 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 Giftroam, apply this rule, and every create_checkout call is checked against it from then on.
Questions about create_checkout
Create a signed, single-purpose checkout link (30-minute expiry) for one gift to one country. The schema has no recipient fields on purpose: name, address, phone, delivery details and payment are collected on the secure page. Show the returned summary and get the user's explicit confirmation before sharing the link. Use the same idempotency_key when retrying. It is categorised as a Write tool in the Giftroam MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
create_checkout accepts 7 parameters: locale, country, gift_id, quantity, delivery_date, gift_card_text, idempotency_key. Required: country, gift_id, idempotency_key. The full parameter table on this page comes from the server's own tool schema.
Register the Giftroam MCP server in PolicyLayer and add a rule for create_checkout: 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 Giftroam. Nothing to install.
create_checkout 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 create_checkout 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 create_checkout. 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.
create_checkout is provided by the Giftroam MCP server (https://mcp.giftroam.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Giftroam, and thousands of servers like it.
This server
Across the catalogue