Skip to main content
Glama

Get Book

get_book
Read-onlyIdempotent

Get full details for a book by ID. Returns title, author, publication year, language, available formats, and download count.

Input Schema

NameRequiredDescriptionDefault
idYesThe numeric Project Gutenberg book ID.

Output Schema

NameRequiredDescriptionDefault
idYesProject Gutenberg book ID
titleYesBook title
authorsYesList of book authors
formatsYesAvailable download formats and URLs
subjectsYesSubject tags for the book
languagesYesLanguages the book is available in
download_countYesNumber of downloads

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": 1342
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "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"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "id": 1342
      -  }
      -]
    • changedOutput schema / (root)
      Previous value: -{
      -  "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"
      -}New value: +null
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "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"
      +}
  4. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": 1342
      +  }
      +]
  5. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds return field details but these are likely captured in the output schema, so the description contributes minimal behavioral context beyond annotations.

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 a single, focused sentence that front-loads the purpose and lists return fields without any wasted words.

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 simple one-parameter read-only tool with full annotations and output schema, the description is sufficiently complete. It explains both what the tool does and what it returns.

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%, with the id parameter already described as 'The numeric Project Gutenberg book ID.' The description adds no additional parameter semantics, aligning with the baseline score of 3 for high schema coverage.

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 uses a specific verb 'Get' with a clear resource 'book' and scope 'by ID', distinguishing it from sibling tools like search_books or popular_books. It also lists the key fields returned.

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 implies the intended use case (when you have a book ID) but does not explicitly mention when to use this tool instead of alternatives like search_books or books_by_topic. There is no exclusion or alternative guidance.

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.