Skip to main content
Glama

Ebook File Check

Server Details

Run EPUBCheck for EPUB specification errors and compare two exports.

Ownership verified
Status
Healthy
Uptime
99.9% over 21 days
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
powmcp/mcp-server-guide
GitHub Stars
0

TDQS

A4.6/5.0

Scored across 2 tools

Disambiguation5/5

The two tools serve clearly distinct purposes: one validates a single EPUB, the other compares two builds. There is no overlap or ambiguity—an agent can easily choose the right tool based on whether they need a single check or a comparison.

Naming Consistency5/5

Both tool names follow the same 'ebook_' prefix with a descriptive verb ('check', 'compare'). The pattern is consistent and predictable, making it easy to infer functionality from the name.

Tool Count4/5

With only two tools, the server is narrowly focused but appropriately scoped for its specific purpose of EPUB validation and comparison. The count is slightly thin but not inadequate, as both tools are essential and well-defined.

Completeness5/5

The server covers the core lifecycle of EPUB validation: single-file checks and comparative regression analysis. There are no obvious gaps for the stated domain; the tools address the primary use cases without missing critical operations.

Available Tools

2 tools
ebook_checkA
Read-only
Inspect

Validates one EPUB (a directly hosted public URL or a file attached in chat) against the EPUB 2/3 specification using a pinned local EPUBCheck 5.4.0 engine run in a no-network sandbox. Each call takes exactly one source: the url parameter or the file attachment, never both. Returns the automated verdict: pass boolean, EPUB version, message counts by severity (fatal/error/warning/usage), findings grouped most-severe-first with EPUBCheck rule id (RSC-005, OPF-014, …), file path and line/column, plus a structural inventory (spine items, media types, remote-resource state), SHA-256 of the exact bytes, and truncation metadata. Use for one-file readiness and diagnosis: 'is this ebook valid', 'does this EPUB have specification problems before upload', 'what is wrong with it'. A pass means only that the bytes satisfied the automated profile; it never renders the book, judges accessibility, or guarantees any store will accept it, and human review of how the book reads and looks is always required. Downloads and validates a live EPUB under a 110-second call deadline; tell the user before the call.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlNoDirect public HTTP(S) URL to the EPUB file bytes, including the protocol, not a ChatGPT file id, local path, cloud-drive share, archive/viewer page, or authenticated URL needing a login. Each call takes either URL sources or attached-file sources, never both STRICT RULE: Ebook check failed: provide either an EPUB URL or an attached EPUB file, not both STRICT RULE: Ebook check failed: provide a public EPUB URL or attach the EPUB file
fileNoAn EPUB file attached in chat, up to 25 MB, validated from its exact bytes. Provide either this attachment or url, never both.
maxMessagesNoMaximum spec findings to return, most severe first (default 200); raise it to see more of a very noisy book, lower it to keep the answer short

Output Schema

ParametersJSON Schema
NameRequiredDescription
passYesTrue when the EPUB has no fatal or error messages against the automated profile
bytesYesDownloaded EPUB size in bytes
countsYesCounts of EPUBCheck findings grouped by severity
sha256YesSHA-256 hash of the exact validated bytes
finalUrlYesURL after redirects, with query string and fragment stripped
findingsYesBounded spec findings, most severe first, capped by maxMessages
fetchedAtYesISO timestamp the EPUB was fetched and validated
inventoryYesStructural inventory reported for the EPUB container
nonclaimsYesWhat this automated result does not establish
redirectsYesRedirect hops followed
truncationYesFinding totals and the applied limit on returned findings
contentTypeNoContent-Type the server returned
epubVersionNoDetected EPUB version, e.g. 2.0.1 or 3.0; omitted when the engine could not detect it
processingMsYesTotal processing time in milliseconds
requestedUrlYesThe checked EPUB source: the submitted URL with query and fragment stripped, or the attached file's name
engineVersionYesEPUBCheck engine version that produced the verdict
ruleProfileDateYesRelease date of the pinned EPUBCheck rule profile
humanReviewItemsYesChecks only a qualified human can perform
epubVersionDetectedYesDistinguished state: false means the version could not be detected, distinct from a detected-but-invalid version
humanReviewRequiredYesAlways true: automated conformance never covers how the book reads or renders

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already carry readOnlyHint=true, openWorldHint=true, destructiveHint=false, and the description adds substantial context beyond them: pinned engine version, offline sandbox, live download with a 110-second deadline plus an explicit instruction to 'tell the user before the call', and what a pass does not certify. No contradiction with annotations.

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?

Densely written and front-loaded with the core action before any detail. However, the long enumeration of return fields (pass boolean, severity counts, rule ids, structural inventory, SHA-256) is largely redundant given that an output schema exists, per the rubric that description needn't explain return values when one is present.

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 tool with 3 parameters including a nested file object, an output schema, and significant operational constraints (mutual exclusivity, 110-second deadline, sandbox, live download), nothing an agent needs to invoke it correctly is missing — constraints, caveats, and pre-call user notification are all present.

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%, so the baseline is 3. The schema already documents url/file mutual exclusivity ('never both', STRICT RULE text) and maxMessages bounds, so the description's restatement of the one-source rule adds little beyond what the schema provides.

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?

States a specific verb and resource — 'Validates one EPUB ... against the EPUB 2/3 specification' — with precise context (EPUBCheck 5.4.0, no-network sandbox). The 'one EPUB' framing and single-source rule clearly distinguish it from the sibling ebook_compare without opening any schema.

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?

Gives explicit when-to-use signals with three concrete example intents: 'is this ebook valid', 'does this EPUB have specification problems before upload', 'what is wrong with it'. It also states hard limits — pass 'never renders the book, judges accessibility, or guarantees any store will accept it' — but never names ebook_compare as the alternative routing, so sibling differentiation is implicit rather than explicit.

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

ebook_compareA
Read-only
Inspect

Runs the identical pinned EPUBCheck 5.4.0 validation over exactly two EPUB builds (directly hosted public URLs or files attached in chat, baseline first, revised second) sequentially under one shared 110-second deadline, then reports which spec findings regressed or were fixed between them. Returns per-build hashes, EPUB versions, pass verdicts and severity counts, a regressions list (rules that appear or worsen in the revised build) and a fixed list (rules removed or reduced), and a ranking by pass state then fewer blocking findings. Use for 'did my re-export get worse', 'which build has fewer problems', and revision-over-revision questions. The ranking orders automated conformance only (it never means one build renders, reads, or sells better), and when both builds tie on pass state and blocking count it names no winner rather than crowning the first submission. It also flags when the two files declare different titles, since that usually means they are not two builds of one book. Human review remains required for both builds. A comparison can take up to 110 seconds under its shared deadline; tell the user before the call.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlsNoExactly two distinct direct public HTTP(S) EPUB URLs: the baseline build first, the revised build second. Provide either these URLs or files, never both. STRICT RULE: Ebook compare failed: provide either two EPUB URLs or two attached EPUB files, not both STRICT RULE: Ebook compare failed: provide two public EPUB URLs or attach two EPUB build files
filesNoExactly two distinct EPUB builds attached in chat: the baseline build first, the revised build second. Provide either these attachments or urls, never both.
maxMessagesNoMaximum findings to collect per build for the comparison (default 150)

Output Schema

ParametersJSON Schema
NameRequiredDescription
fixedYesRules removed or reduced in the revised build versus the baseline
limitsYesConclusions this automated comparison cannot support
rankingYesBuilds ranked by pass state then fewer blocking findings; unvalidatable builds last
documentsYesPer-build hashes, versions, and verdicts in submitted order (baseline first, revised second)
nonclaimsYesWhat these automated results do not establish
truncatedYesTrue when either build's findings were truncated, which can make the difference table incomplete
comparedAtYesISO timestamp of the comparison
regressionsYesRules that appear or worsen in the revised build versus the baseline
processingMsYesTotal processing time in milliseconds
engineVersionYesEPUBCheck engine version that produced the verdicts
ruleProfileDateYesRelease date of the pinned EPUBCheck rule profile
humanReviewItemsYesChecks only a qualified human can perform
humanReviewRequiredYesAlways true: automated conformance never covers how either build reads or renders

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already mark the tool read-only and non-destructive, but the description adds vital behavioral context: one shared 110-second deadline, sequential execution, tie behavior with no winner, title-mismatch flagging, and the explicit warning that ranking reflects conformance only, not rendering quality. This goes well beyond what annotations provide.

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 long but dense: every clause adds a needed constraint, caveat, or instruction, from the sequential 110-second deadline to the tie-handling rule and the requirement to warn the user before calling. The core operation is front-loaded, and there is no filler.

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?

The description covers input source types and ordering, output fields, ranking semantics, tie behavior, title-mismatch detection, human-review requirements, and expected duration. With an output schema and annotations available, nothing essential to calling the tool correctly is missing.

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 documents urls, files, and maxMessages thoroughly. The description reinforces baseline/revised ordering and source modes but does not add meaningful semantics for maxMessages, so the baseline score of 3 is appropriate.

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 states a precise operation: running the same pinned EPUBCheck 5.4.0 validation over exactly two EPUB builds and reporting regressions/fixes. It clearly differentiates the comparison purpose from a single-build check and names the concrete questions it answers.

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?

The description gives explicit use cases ('did my re-export get worse', 'which build has fewer problems', revision-over-revision questions) and specifies baseline-first, revised-second ordering. It does not explicitly tell the agent when NOT to use it or to use ebook_check for single builds, so it lacks a formal alternative/exclusion statement.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updates
    • First observedebook_check
    • First observedebook_compare

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables MCP clients to audit and fix EPUB, Office, OpenDocument, SVG, and WACZ files entirely offline via the Lens-suite CLI tools, returning stable JSON results.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Validates Excel (.xlsx) workbooks against reviewed, lockable acceptance contracts, catching errors and outputting structured issues that agents can repair.
    18 PyPI
    1
    MIT
  • F
    license
    A
    quality
    B
    maintenance
    Converts a single-file MP3/M4A audiobook plus its EPUB into a chaptered M4B, using silence-gap detection to find real chapter boundaries, with checkpointed job-based progress, EPUB preview, boundary inspection/waveform review, metadata lookup, and cover fetching/embedding tools for resumable, verifiable audiobook production.
    15
    -
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.