Skip to main content
Glama

On-Demand-Books: Get Book by Handle

get_book

Re-resolve a single book's purchase URL, cover image, and ISBN from its Shopify product handle. Use this to refresh or re-reference a book across turns without re-running the full name search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handleYesShopify product handle (as returned in the `shopify_handle` field of a `search_books` result).
utm_sourceNoOptional UTM source tag for marketing attribution (e.g. 'mcp.so', 'claude', 'hn'). Appended as ?utm_source=<value> to the Shopify product URL. Defaults to 'mcp'.

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It correctly implies a read-only operation (re-resolving) and declares the output fields. However, it does not mention any side effects, error cases, or other behavioral traits that might affect agent decision-making.

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?

The description is two sentences, front-loads the purpose and usage, and contains no superfluous information.

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 tool's simplicity (2 params, no output schema), the description adequately covers what the tool does and what it returns. It does not elaborate on potential error states, but for a straightforward lookup this is sufficient.

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?

The input schema covers both parameters (100% coverage), so the baseline is 3. The description adds value by specifying that the handle comes from a search_books result and that utm_source defaults to 'mcp', which aids the agent in usage.

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 a specific verb ('re-resolve') and resource ('book') and enumerates the returned data (purchase URL, cover image, ISBN). It also distinguishes itself from the sibling tool 'search_books' by noting that it refreshes a known handle without re-running a full search.

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 explicitly says when to use the tool ('to refresh or re-reference a book across turns') and implies when not to use it (when you already have the handle, avoid the full name search). It does not provide explicit exclusions or mention alternative tools beyond the implied contrast.

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.