# 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.

Agent View of the PolicyLayer registry record for `create_checkout`. HTML page: https://policylayer.com/tools/com-giftroam-giftroam/create-checkout

## Facts

- Tool: `create_checkout`
- Server: Giftroam (`https://mcp.giftroam.com/mcp`) — https://policylayer.com/tools/com-giftroam-giftroam.md
- Homepage: https://github.com/https://mcp.giftroam.com/mcp
- Risk category: Write (Medium risk)
- Registry record: grade C, identity unverified
- Server auth posture: open
- Server CORS policy: *
- Server rate-limited: no
- Parameters: 7 (3 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `locale` | string | no | 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 | no | Always 1 in v1. |
| `delivery_date` | string | no | Requested delivery date YYYY-MM-DD; omit for as-soon-as-possible. |
| `gift_card_text` | string | no | 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.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_checkout",
    "arguments": {
      "country": "<country>",
      "gift_id": "<gift_id>",
      "idempotency_key": "<idempotency_key>"
    }
  }
}
```

## 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.

## Use case

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.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Giftroam:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "create_checkout": {
      "limits": [
        {
          "counter": "create_checkout_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Giftroam (5)

- `check_delivery` — Read — https://policylayer.com/tools/com-giftroam-giftroam/check-delivery.md
- `get_gift_details` — Read — https://policylayer.com/tools/com-giftroam-giftroam/get-gift-details.md
- `get_order_status` — Read — https://policylayer.com/tools/com-giftroam-giftroam/get-order-status.md
- `list_my_orders` — Read — https://policylayer.com/tools/com-giftroam-giftroam/list-my-orders.md
- `search_gifts` — Read — https://policylayer.com/tools/com-giftroam-giftroam/search-gifts.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-giftroam-giftroam · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-giftroam-giftroam
