Skip to main content
Glama

generate_ebook

Start generating a complete multi-chapter eBook using AI. Costs $0.90 per chapter (e.g., 10 chapters = $9.00). Returns a payment link that the user must visit to pay before generation begins. After payment, use get_job_status to track progress.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toneNoWriting tone (e.g. 'professional', 'casual', 'academic', 'humorous').
emailNoBuyer's email address. If provided, enables invoice history and receipt delivery. Returning buyers with the same email share a single billing profile.
genreNoGenre name from list_genres (e.g. 'literature_fiction', 'nonfiction', 'romance'). Defaults to 'literature_fiction'.
titleYesThe title of the book
authorNoAuthor name for the book.
languageNoISO 639-1 language code (e.g. 'en', 'es', 'fr'). Defaults to 'en'.
descriptionNoBook description/premise/blurb to guide the AI generation.
chapter_countYesNumber of chapters to generate (1-50).
target_audienceNoTarget audience (e.g. 'beginners', 'young adults', 'professionals').

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently reveals costs ($0.90/chapter), the requirement to pay via a returned link before generation begins, and the need to switch to get_job_status afterward. This is critical context for a paid service, though it doesn't detail failure modes or response format.

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?

Three sentences that are front-loaded with the primary action, then cost, then payment flow. Each sentence earns its place with no fluff or 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?

Although there is no output schema, the description provides the essential behavioral information: it initiates generation, returns a payment link, requires payment before proceeding, and points to get_job_status for tracking. This is complete enough for an agent to use the tool correctly in the given workflow, though it doesn't specify the full response structure.

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 covers all 9 parameters with descriptions, so baseline is 3. The description adds no parameter-specific meaning beyond the cost-per-chapter implication tied to chapter_count, which is not explicitly linked to the parameter.

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?

Clear verb 'generate' + resource 'eBook' with explicit statement that it starts multi-chapter generation and returns a payment link. Fully distinguishes from siblings like get_job_status, which tracks progress.

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?

Explicitly directs the user to use get_job_status after payment, establishing a clear workflow for this tool versus the sibling tracking tool. It doesn't explicitly state when not to use it, but the payment-gated flow implies it's for initiation only.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool serves a distinct function: listing genres, generating, checking status, downloading, and retrying. No two tools overlap in purpose, so an agent can confidently select the right one.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (list_genres, generate_ebook, get_job_status, etc.). This makes the toolset predictable and easy to navigate.

Tool Count5/5

Five tools is well-scoped for an eBook generation service, covering the essential workflow without unnecessary bloat. Each tool earns its place in the set.

Completeness5/5

The toolset covers the full lifecycle: discover genres, generate, track progress, download the result, and retry failures. There are no obvious gaps that would cause agent failures in the core workflow.

Resources