Ebook File Check
Server Details
Run EPUBCheck for EPUB specification errors and compare two exports.
- 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
Scored across 2 tools
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.
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.
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.
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 toolsebook_checkARead-onlyInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Direct 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 | |
| file | No | An EPUB file attached in chat, up to 25 MB, validated from its exact bytes. Provide either this attachment or url, never both. | |
| maxMessages | No | Maximum 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
| Name | Required | Description |
|---|---|---|
| pass | Yes | True when the EPUB has no fatal or error messages against the automated profile |
| bytes | Yes | Downloaded EPUB size in bytes |
| counts | Yes | Counts of EPUBCheck findings grouped by severity |
| sha256 | Yes | SHA-256 hash of the exact validated bytes |
| finalUrl | Yes | URL after redirects, with query string and fragment stripped |
| findings | Yes | Bounded spec findings, most severe first, capped by maxMessages |
| fetchedAt | Yes | ISO timestamp the EPUB was fetched and validated |
| inventory | Yes | Structural inventory reported for the EPUB container |
| nonclaims | Yes | What this automated result does not establish |
| redirects | Yes | Redirect hops followed |
| truncation | Yes | Finding totals and the applied limit on returned findings |
| contentType | No | Content-Type the server returned |
| epubVersion | No | Detected EPUB version, e.g. 2.0.1 or 3.0; omitted when the engine could not detect it |
| processingMs | Yes | Total processing time in milliseconds |
| requestedUrl | Yes | The checked EPUB source: the submitted URL with query and fragment stripped, or the attached file's name |
| engineVersion | Yes | EPUBCheck engine version that produced the verdict |
| ruleProfileDate | Yes | Release date of the pinned EPUBCheck rule profile |
| humanReviewItems | Yes | Checks only a qualified human can perform |
| epubVersionDetected | Yes | Distinguished state: false means the version could not be detected, distinct from a detected-but-invalid version |
| humanReviewRequired | Yes | Always true: automated conformance never covers how the book reads or renders |
TDQS
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.
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.
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.
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.
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.
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_compareARead-onlyInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Exactly 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 | |
| files | No | Exactly two distinct EPUB builds attached in chat: the baseline build first, the revised build second. Provide either these attachments or urls, never both. | |
| maxMessages | No | Maximum findings to collect per build for the comparison (default 150) |
Output Schema
| Name | Required | Description |
|---|---|---|
| fixed | Yes | Rules removed or reduced in the revised build versus the baseline |
| limits | Yes | Conclusions this automated comparison cannot support |
| ranking | Yes | Builds ranked by pass state then fewer blocking findings; unvalidatable builds last |
| documents | Yes | Per-build hashes, versions, and verdicts in submitted order (baseline first, revised second) |
| nonclaims | Yes | What these automated results do not establish |
| truncated | Yes | True when either build's findings were truncated, which can make the difference table incomplete |
| comparedAt | Yes | ISO timestamp of the comparison |
| regressions | Yes | Rules that appear or worsen in the revised build versus the baseline |
| processingMs | Yes | Total processing time in milliseconds |
| engineVersion | Yes | EPUBCheck engine version that produced the verdicts |
| ruleProfileDate | Yes | Release date of the pinned EPUBCheck rule profile |
| humanReviewItems | Yes | Checks only a qualified human can perform |
| humanReviewRequired | Yes | Always true: automated conformance never covers how either build reads or renders |
TDQS
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.
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.
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.
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.
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.
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.
2 tool updates
- First observed
ebook_check - First observed
ebook_compare
Related MCP Connectors
Compare a website before and after a migration: missing pages, content changes, visual diffs.
EPUB/PDF tools: merge, split, compress, convert, edit metadata, validate ebooks.
Audit public webpages and supplied markup for HTML, CSS, SEO, JSON-LD, and link issues.
Parse WebVTT, SRT, or TTML for conformance, timing, overlaps, line length, and reading speed.
Related MCP Servers
- AlicenseAqualityBmaintenanceCompare design and implementation screenshots using pixel-by-pixel analysis, generating visual diff images and metrics.110 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables 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
- AlicenseNot gradedqualityAmaintenanceValidates Excel (.xlsx) workbooks against reviewed, lockable acceptance contracts, catching errors and outputting structured issues that agents can repair.18 PyPI1MIT
- FlicenseAqualityBmaintenanceConverts 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-
Glama MCP Gateway
Add one secure layer between your agents and this server.