Skip to main content
Glama

VineMaker Publishing Public Catalog

search_books

Read-onlyIdempotent

List or search published books. Omit q to browse all records. Returns the public REST representation, pagination totals and next/previous REST links; increment page to continue. Books include categories, publisher-maintained overall availability (unknown is not unavailable), and structured purchase_destinations ordered with verified Amazon.com links first. This ordering does not change book recommendation/catalog ranking. No live retailer stock is provided. Includes publication-filtered relationships and public links. Use get_book for a known ID. Large pages may require a smaller per_page; content is never silently truncated.

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_books"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional text search; omit to list the entire published collection. Articles search title, subtitle, excerpt and byline, not full body.
pageNo
slugNoExact lowercase hyphenated public slug.
sortNoCatalog ordering, ascending ID, or descending ID.catalog
categoryNoExact publisher category slug from list_book_categories or GET /api/v1/book-categories. Combines with q, sorting, author and pagination; omit for all categories.
per_pageNo
author_idNoFilter by a public catalog author ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / category
      Added value: +{
      +  "description": "Exact publisher category slug from list_book_categories or GET /api/v1/book-categories. Combines with q, sorting, author and pagination; omit for all categories.",
      +  "maxLength": 80,
      +  "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world), yet the description adds substantial context beyond them: pagination totals plus next/previous REST links, the rule that "unknown is not unavailable," the purchase_destinations ordering with verified Amazon.com links first, the explicit statement that this ordering does not affect recommendation/catalog ranking, and the warning that no live retailer stock is included. It also states content is never silently truncated and that oversized pages need a smaller per_page, which tells the agent exactly what failure mode to expect.

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?

Purpose and the browse-vs-search rule are front-loaded in the first two sentences, and most of what follows earns its place given there is no output schema. Some sentences are compressed to the point of vagueness, notably "Includes publication-filtered relationships and public links," which costs space without conveying usable meaning.

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 no output schema, the description takes on the return-shape burden and does so reasonably: REST representation, pagination totals, links, categories, availability semantics, and purchase destinations. What remains thin is how the 7 filters combine and what "publication-filtered relationships" actually returns, but an agent has enough to invoke it correctly.

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 71% and the two undocumented parameters (page, per_page) are precisely the ones the description covers: "increment page to continue" and "Large pages may require a smaller per_page." The q semantics are reinforced ("omit to browse"), though the description says nothing about slug, sort, or author_id, leaving those to the schema.

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?

"List or search published books" gives a specific verb plus resource, and "Omit q to browse all records" immediately distinguishes the two modes of the same tool. It also names the sibling get_book for the known-ID case, so an agent can separate it from the rest of the book/author/article family.

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?

Clear routing: omit q to browse the whole published collection, supply q to search, and use get_book when the ID is already known. There is no explicit "when not to use" beyond that (e.g. no guidance on combining q with category/author_id or on when to prefer list_book_categories first), which keeps it short of 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