Skip to main content
Glama

On-Demand-Books: Search Personalized Books

search_books

Search for personalized puzzle books by first name. Returns matching books with direct Shopify purchase links, cover images, and ISBNs. A typical exact match returns 9 books across 3 puzzle types (mazes, name-sudokus, word searches) and 3 difficulty levels. When no exact match exists, returns similarly-named books. Use this whenever a user is shopping for a personalized gift and knows the recipient's first name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFirst name to search for personalized puzzle books (e.g. 'Susan', 'Bob'). Case-insensitive; non-letters are stripped.
utm_sourceNoOptional UTM source tag for marketing attribution (e.g. 'mcp.so', 'claude', 'hn'). Appended as ?utm_source=<value> to all Shopify product URLs so the seller can track which channel drove the sale. Defaults to 'mcp'.

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses key behaviors: returns matching books with purchase links, images, and ISBNs; typical exact match returns 9 books across 3 types and 3 difficulty levels; when no exact match exists, returns similarly-named books. This goes beyond basic documentation.

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

Conciseness4/5

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

The description is 5 sentences that efficiently convey purpose, return content, typical results, fallback behavior, and usage scenario. Every sentence adds value; no redundancy. It is well-structured with key information front-loaded.

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 no output schema, the description adequately explains what is returned (links, images, ISBNs) and the structure of results. It covers behavior for exact vs non-exact matches. For a search tool with 2 parameters, this is sufficient, though it does not mention pagination or limits, which are minor gaps.

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 documents both parameters thoroughly. The description adds no extra parameter meaning beyond what the schema provides. Baseline score of 3 is appropriate.

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 purpose: 'Search for personalized puzzle books by first name.' It specifies the action (search), the resource (personalized puzzle books), and the search key (first name). Additionally, it distinguishes from siblings by focusing on name-based search, while 'get_book' likely retrieves a single book and 'suggest_names' provides name suggestions.

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 provides explicit guidance: 'Use this whenever a user is shopping for a personalized gift and knows the recipient's first name.' This tells the agent when to invoke the tool. It does not explicitly state when not to use it or mention alternatives, but the context of siblings (get_book, suggest_names) implies that for known names this tool is appropriate.

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.3/5.0
Disambiguation5/5

Each tool has a distinct purpose: refreshing a specific book's details, searching by name, and suggesting names. There is no overlap or ambiguity between them.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern: get_book, search_books, suggest_names. The naming is uniform and predictable.

Tool Count4/5

With only 3 tools, the server is lean but covers the core workflow of discovering and referencing books. It could benefit from additional tools for browsing or managing books, but the count is appropriate for a focused domain.

Completeness4/5

The tool set covers the key operations: searching by name, getting suggestions when unsure, and refreshing book details. Minor gaps exist (e.g., no tool for listing all books or managing purchases), but the surface is largely complete for the stated purpose.