Skip to main content
Glama

They Loved It gift catalog

Search gift ideas

search_gifts
Read-onlyIdempotent

Use this when someone wants gift ideas for a person, for example "a gift for my dad who grills, under $50" or "stocking stuffers for a 10 year old". Filters a hand-picked catalog by recipient, interests, budget, age and attributes, and returns ranked products with who each suits, who should skip it, a price band and a link. Give at least one filter. Do not use it for buying, price tracking or order status.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_gifts"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFree-text words to match, e.g. "thermometer" or "cast iron".
ageNoAge of a child recipient, used to respect age ranges.
forNoWho the gift is for, e.g. dad, mom, partner, sister, friend, teen, kid, coworker. Comma-separate several. Everyday words like wife or grandma work too.
limitNoHow many products to return.
offsetNoSkip this many results, for paging.
interestsNoInterests, e.g. grilling, coffee, reading, outdoors, gaming. Any match counts; more matches rank higher.
max_priceNoBudget ceiling in US dollars.
attributesNoRequired qualities, e.g. stocking-stuffer, last-minute, practical, consumable, experience, made-in-usa, small-business, splurge.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / limit / default
      Previous value: -10New value: +8
    • addedInput schema / properties / limit / description
      Added value: +"How many products to return."
    • changedInput schema / properties / limit / maximum
      Previous value: -50New value: +20
    • addedInput schema / properties / offset / description
      Added value: +"Skip this many results, for paging."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description earns credit by adding context those annotations cannot: the catalog is hand-picked, results are ranked, and each result carries who it suits, who should skip it, a price band and a link. It does not discuss paging behavior beyond the offset parameter or result volume, which keeps it short of a 5.

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 tight sentences: the use case with examples comes first, then what the tool does and returns, then the constraint and the exclusion. Every sentence carries information an agent needs, and the example queries do double duty as invocation patterns.

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

Completeness5/5

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

For an eight-parameter, no-required-parameter search tool with no output schema, the description covers the missing pieces: the minimum filter requirement, the shape of the response (ranked products with suit/skip notes, price band, link), and the boundary against purchasing and order tools. An agent can select and call it without further information.

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

Parameters4/5

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

Schema coverage is 100%, so every parameter is already documented and the baseline is 3. The description still adds real meaning by showing how parameters compose in practice: the example "a gift for my dad who grills, under $50" maps onto for, interests and max_price, and "at least one filter" clarifies the required-parameter gap left by a schema with zero required fields.

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

Purpose4/5

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

The description states a specific verb and resource — filters a hand-picked gift catalog and returns ranked products — and grounds it in two concrete example queries. It implicitly separates itself from a single-item lookup like get_gift by describing a ranked multi-result search, but it never names or contrasts the actual siblings (build_gift_list, get_gift, list_tags), so the differentiation is inferential rather than explicit.

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

Usage Guidelines5/5

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

It gives explicit when-to-use framing ("when someone wants gift ideas for a person"), two worked example queries showing how filters combine, a hard requirement ("Give at least one filter"), and explicit exclusions ("Do not use it for buying, price tracking or order status"). Nothing about selecting this tool is left to inference.

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.

Resources