Skip to main content
Glama

get_book_metadata

Fetch all metadata for a book using its Gutenberg ID: title, author, year, subjects, bookshelves, and download rank.

Instructions

Full metadata for one indexed book by book_id: title, author, year, subjects, bookshelves, download rank, chunk count, and detected chapter range. Use search_books first to find a book_id. Costs $0.002 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
book_idYesGutenberg book id, from search_books
Behavior4/5

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

No annotations are provided, but the description discloses the cost ($0.002), payment method (x402, USDC on Base), wallet requirement, and lists the return fields. This is substantial context for a read-only metadata operation, though it omits error handling behavior.

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?

Two concise sentences: the first defines the tool's scope and outputs, the second provides prerequisite and cost. Every sentence carries meaningful information with no redundancy.

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?

For a single-parameter tool with no output schema, the description covers inputs, outputs, prerequisite (search_books first), and cost/payment details. It is sufficient for an agent to select and invoke the tool correctly, though it does not specify the exact return format.

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% and the schema already describes book_id as 'Gutenberg book id, from search_books.' The description adds 'indexed book' and integer context but does not materially improve parameter understanding beyond 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?

Description states 'Full metadata for one indexed book by book_id' and enumerates specific fields (title, author, year, subjects, etc.), making its purpose unmistakable and distinguishing it from siblings like get_chapter and search_books.

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?

Provides explicit prerequisite: 'Use search_books first to find a book_id.' Also adds cost and wallet requirements, giving clear context for when it should be invoked. It does not explicitly name alternatives to avoid, but the coverage is strong.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/forgemeshlabs/library-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server