Skip to main content
Glama

They Loved It gift catalog

Build a gift list

build_gift_list
Read-onlyIdempotent

Use this when someone is shopping for several people at once, for example "ideas for my mom, my brother who games and a coworker, about $30 each". Give each recipient a label and filters; returns a short list per person with no product repeated across people.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "recipients": "<recipients>"
    },
    "name": "build_gift_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
per_personNoHow many ideas to return for each person.
recipientsYesOne entry per person on the list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / per_person / description
      Added value: +"How many ideas to return for each person."
    • changedInput schema / properties / per_person / maximum
      Previous value: -10New value: +6
    • addedInput schema / properties / recipients / description
      Added value: +"One entry per person on the list."
    • addedInput schema / properties / recipients / items / additionalProperties
      Added value: +false
    • changedInput schema / properties / recipients / maxItems
      Previous value: -25New value: +15
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's contribution is the output behavior: a short list per person with no product repeated across recipients. That cross-recipient de-duplication guarantee is non-obvious and not derivable from the schema, and there is no output schema to state it otherwise. It does not discuss ordering, fallback when filters match nothing, or the 15-recipient cap, but the core behavioral value is present.

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?

Two sentences, no filler: the first front-loads the usage trigger with a concrete example, the second delivers the return behavior and its key guarantee. Every clause earns its place and nothing is buried.

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?

With only two top-level parameters, full schema coverage, and explicit annotations, the definition covers what an agent needs: when to reach for it, how to shape input, and what comes back. Minor gaps remain around per_person defaults/limits and recipient-count limits, though those are documented in the schema.

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 description coverage is 100%, so the schema already explains label, interests, max_price, attributes and per_person. The description adds only a light mapping from natural language to parameters ('give each recipient a label and filters', '$30 each' implying max_price), which is helpful framing but modest beyond the already-excellent schema.

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 concrete verb and scope: take a set of labeled recipients with filters and return a short idea list per person, explicitly de-duplicated across people. The phrase 'shopping for several people at once' implicitly separates it from a single-item search like search_gifts, but no sibling is named, so the differentiation is inferred rather than stated.

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?

It gives a clear trigger condition plus a realistic example utterance ('ideas for my mom, my brother who games and a coworker, about $30 each') that shows exactly what shape of request belongs here. There is no explicit when-not guidance or named alternative for single-recipient lookups, which keeps it below a 5.

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