Skip to main content
Glama

Popular Books

popular_books
Read-onlyIdempotent

Get the most downloaded books ranked by popularity. Returns titles, authors, IDs, and download statistics.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
booksYesList of most popular books
countYesTotal number of popular books available

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "books": {
      +      "description": "List of most popular books",
      +      "items": {
      +        "properties": {
      +          "authors": {
      +            "description": "List of book authors",
      +            "items": {
      +              "properties": {
      +                "birth_year": {
      +                  "description": "Author birth year or null",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "death_year": {
      +                  "description": "Author death year or null",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "name": {
      +                  "description": "Author name",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "birth_year",
      +                "death_year"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "download_count": {
      +            "description": "Number of downloads",
      +            "type": "number"
      +          },
      +          "formats": {
      +            "additionalProperties": {
      +              "type": "string"
      +            },
      +            "description": "Available download formats and URLs",
      +            "type": "object"
      +          },
      +          "id": {
      +            "description": "Project Gutenberg book ID",
      +            "type": "number"
      +          },
      +          "languages": {
      +            "description": "Languages the book is available in",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "subjects": {
      +            "description": "Subject tags for the book",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "title": {
      +            "description": "Book title",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "title",
      +          "authors",
      +          "languages",
      +          "subjects",
      +          "download_count",
      +          "formats"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "count": {
      +      "description": "Total number of popular books available",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "count",
      +    "books"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {}
      +]
  3. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the description does not need to repeat safety details. It adds some behavioral context by specifying the ranking criterion ('most downloaded') and the return fields, but does not disclose other behaviors like pagination, update frequency, or data source limitations.

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 concise, consisting of two clear sentences. It is front-loaded with the main purpose and avoids redundancy, making every word count.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter list tool with a read-only, idempotent annotation profile and an output schema, the description is complete. It conveys the core purpose and return contents, and no additional context is necessary.

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 tool has zero parameters, so the schema is trivially complete. According to the rubric, a baseline of 4 is appropriate since the description does not need to compensate for any parameter documentation gaps.

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 with a specific verb ('get'), resource ('books'), and scope ('most downloaded ranked by popularity'), and it mentions the return content (titles, authors, IDs, download statistics). This differentiates it from sibling tools like search_books and books_by_topic.

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?

The description does not explicitly state when to use this tool versus alternatives such as search_books or books_by_topic. The usage is only implied by the purpose, which is to retrieve popular books, but no direct guidance or exclusions are provided.

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.