search_gifts
Find gifts that can be delivered to a destination country, optionally filtered by free text, occasion, budget (minor units) and a needed-by date. Returns a shortlist with final customer prices (delivery included) and delivery days. Paginate with cursor. Country is required — ask for it first.
This record as markdown: /tools/com-giftroam-giftroam/search-gifts.md
What search_gifts does on Giftroam
AI agents call search_gifts to retrieve information from Giftroam without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | — | |
query | string | — | Product keywords only, 1-4 words (e.g. 'chocolate basket', 'red roses'). Do NOT include the destination, recipient or occasion here - use the country/occasion f |
cursor | string | — | Opaque cursor from a previous page. |
locale | string | — | Display language for results (e.g. he-IL). The query may be typed in that language. |
country | string | Yes | Destination country, ISO-3166 alpha-2 (e.g. FR). |
occasion | string | — | Occasion slug from the occasions resource (e.g. birthday). |
budget_max | integer | — | Maximum price in minor units (cents). |
budget_min | integer | — | Minimum price in minor units (cents). |
date_needed | string | — | YYYY-MM-DD; only gifts that can arrive by then. |
Parameters from the server's own tool schema.
Why search_gifts is rated Low
Even though search_gifts only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Attacks that exploit this kind of access
The rule that runs search_gifts 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 search_gifts, this is the rule to start with:
search_gifts is read-only, so it stays allowed. 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 search_gifts call is checked against it from then on.
Questions about search_gifts
Find gifts that can be delivered to a destination country, optionally filtered by free text, occasion, budget (minor units) and a needed-by date. Returns a shortlist with final customer prices (delivery included) and delivery days. Paginate with cursor. Country is required — ask for it first. It is categorised as a Read tool in the Giftroam MCP Server, which means it retrieves data without modifying state.
search_gifts accepts 9 parameters: limit, query, cursor, locale, country, occasion, budget_max, budget_min, date_needed. Required: country. 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 search_gifts: 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.
search_gifts is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the search_gifts 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 search_gifts. 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.
search_gifts 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