Skip to main content
Glama

Search gifts deliverable to a country

search_gifts
Read-onlyIdempotent

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryNoProduct keywords only, 1-4 words (e.g. 'chocolate basket', 'red roses'). Do NOT include the destination, recipient or occasion here - use the country/occasion fields. Omit for a general browse.
cursorNoOpaque cursor from a previous page.
localeNoDisplay language for results (e.g. he-IL). The query may be typed in that language.
countryYesDestination country, ISO-3166 alpha-2 (e.g. FR).
occasionNoOccasion slug from the occasions resource (e.g. birthday).
budget_maxNoMaximum price in minor units (cents).
budget_minNoMinimum price in minor units (cents).
date_neededNoYYYY-MM-DD; only gifts that can arrive by then.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed
totalNo
localeNoBCP-47 locale the texts are localized to
countryNo
resultsNo
next_cursorNo
date_warningNoPresent when the requested needed-by date is unreachable: results are shown WITHOUT the date filter
display_textNoHuman-readable one-line summary of the result

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish readOnly/idempotent/non-destructive behavior. The description adds practical behavior beyond that: 'Returns a shortlist with final customer prices (delivery included) and delivery days,' 'Paginate with cursor,' and the operational requirement to ask for the country first. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with purpose, then filters and output, then a clear operational note. Every sentence adds necessary context and the most important constraint (country required, ask for it first) is last but emphasized.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema and strong parameter schema, the description covers the essential workflow: required country, filters, return values, pagination, and customer-facing context. It doesn't detail every parameter, potential errors, or fallback behavior, but those are largely covered by the schemas and its scope is appropriate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 89%, so most parameters are already documented. The description adds minimal extra semantics by summarizing filter categories (free text, occasion, budget, needed-by date, country) and clarifying prices are in minor units via the schema. It doesn't deeply supplement the schema, but it doesn't need to given high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's action ('Find gifts that can be delivered to a destination country') and distinguishes it from siblings by mentioning exactly what it returns: a shortlist with customer prices, delivery included, and delivery days. This makes it distinct from check_delivery, get_gift_details, and the order-related tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context: it applies when searching for deliverable gifts, with optional filters and pagination, and explicitly instructs that country is required and should be asked for first. It doesn't explicitly name alternatives or state when not to use this tool, but the sibling set and output make the primary intent obvious.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.2/5.0
Disambiguation4/5

Each tool targets a distinct resource/action: searching gifts, checking delivery, creating checkout, fetching details, looking up order status, and listing orders are all conceptually separate. Minor potential confusion exists between check_delivery and get_gift_details since both surface delivery-window information, but their primary purposes differ clearly.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: check_, create_, get_, list_, search_. The naming style is uniform and predictable, making it easy to infer each tool's function.

Tool Count5/5

Six tools is a well-scoped set for a gift-delivery e-commerce server. Each tool represents a meaningful step in the customer journey from search and eligibility to checkout and order tracking, without unnecessary redundancy.

Completeness4/5

The tool surface covers the core lifecycle: search, view details, check delivery, create checkout, list orders, and check order status. Minor gaps exist such as no explicit cancellation, returns, or order modification tools, but the publicly-facing purchase journey appears complete for the stated purpose.

Resources