Skip to main content
Glama

jwatte.com website tools

Recommend a book

recommend_book
Read-onlyIdempotent

Matches a reading topic against subject phrases and related-word rules for J.A. Watte's six-book catalog. A match returns a title, a topic-based reason, and links. Only a clearly matched subject receives a book. An unmatched topic returns no book and no Amazon link. This searches only the publisher's own catalog.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "topic": "books about website building"
    },
    "name": "recommend_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYesThe reader's situation, goal or topic, in their words.

Output Schema

NameRequiredDescriptionDefault
ruleYes
as_ofNo
topicYes
reasonYes
matchedYes
primaryYes
secondaryYes
books_pageYes
source_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / as_of
      Added value: +{
      +  "format": "date-time",
      +  "type": "string"
      +}
    • addedOutput schema / properties / source_url
      Added value: +{
      +  "format": "uri",
      +  "pattern": "^https://",
      +  "type": "string"
      +}
  2. Changed6 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "topic": "I got a $1,500 quote to build a website for my small business"
      -  }
      -]New value: +[
      +  {
      +    "topic": "books about website building"
      +  }
      +]
    • removedOutput schema / properties / primary / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / primary / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "amazon_url": {
      +        "type": "string"
      +      },
      +      "book_site": {
      +        "type": "string"
      +      },
      +      "slug": {
      +        "type": "string"
      +      },
      +      "subtitle": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "slug",
      +      "title",
      +      "subtitle",
      +      "amazon_url",
      +      "book_site"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / primary / properties
      Removed value: -{
      -  "amazon_url": {
      -    "type": "string"
      -  },
      -  "book_site": {
      -    "type": "string"
      -  },
      -  "slug": {
      -    "type": "string"
      -  },
      -  "subtitle": {
      -    "type": "string"
      -  },
      -  "title": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / primary / required
      Removed value: -[
      -  "slug",
      -  "title",
      -  "subtitle",
      -  "amazon_url",
      -  "book_site"
      -]
    • removedOutput schema / properties / primary / type
      Removed value: -"object"
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive behavior, so the bar is lower. The description still adds real value by disclosing the matching mechanism (subject phrases + related-word rules), the strict-match gate, and the no-match outcome of no book and no Amazon link.

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?

Four short sentences, front-loaded with the matching mechanism and scope before the outcome rules. Minor redundancy between 'Only a clearly matched subject receives a book' and the following no-match sentence, but each carries distinct information about the negative case.

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 an output schema, rich annotations, and a single well-documented parameter, the description covers what an agent needs to call it and interpret a null result. It stops short of framing this as the recommendation entry point versus a lookup tool, which is the one remaining gap for a simple tool.

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 coverage is 100% for the single 'topic' parameter, so baseline is 3. The description adds modest meaning by explaining that the topic is matched against subject phrases and related-word rules, which hints at how to phrase input, but it gives no examples of effective versus ineffective phrasing beyond the schema's own example.

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 names a specific verb and resource ('Matches a reading topic against subject phrases...') and bounds it to 'J.A. Watte's six-book catalog,' plus 'This searches only the publisher's own catalog' rules out external lookups. It does not name a sibling such as get_book_info to contrast with, so differentiation is inferred from scope 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 Guidelines3/5

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

Usage is implied: give a reader's topic and receive a recommendation, and a vague topic yields nothing. There is no explicit when-to-use/when-not guidance relative to alternatives (e.g. 'use get_book_info once you know the title'), so an agent must infer that routing.

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