Skip to main content
Glama

FixMyEPUB

Explain an EPUBCheck error

explain_epub_error
Read-onlyIdempotent

Explains an EPUBCheck code or validation message (for example PKG-007, RSC-005, OPF-003) or a Kindle conversion error: which layer of the EPUB is broken, why, and the repair steps in order.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "message": "<message>"
    },
    "name": "explain_epub_error"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesThe error code or the full message text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive, and openWorldHint=false, so the safety profile needs no restatement. The description usefully adds what the response will contain, a diagnosis of 'which layer of the EPUB is broken, why, and the repair steps in order', which sets expectations about output structure that annotations cannot express. It stops short of mentioning behavior for unrecognized codes or any input length constraint (maxLength 2000).

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?

A single front-loaded sentence states verb, resource, examples, and promised output with no filler. It is dense to the point of being a long run-on, but every clause earns its place and nothing is wasted.

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 one-parameter read-only tool with no output schema, the description supplies what is otherwise missing: the expected return contents (broken layer, cause, ordered repair steps) plus illustrative input formats. Nothing essential for correct invocation is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single parameter, and the schema already says 'The error code or the full message text'. The description goes beyond that by supplying concrete code examples and clarifying that a Kindle conversion error message is also acceptable input, which materially widens the agent's understanding of what to pass.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Explains an EPUBCheck code or validation message'), then names concrete code examples (PKG-007, RSC-005, OPF-003) and extends scope to Kindle conversion errors. It covers both the EPUBCheck and Kindle surfaces, but does not explicitly distinguish itself from the sibling find_epub_fix, so an agent must infer the boundary between explaining an error and finding a fix.

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 scope statement implies usage (when you have an error code or message in hand), and the acceptance of 'a Kindle conversion error' broadens it beyond EPUBCheck codes. However there is no explicit when-to-use versus when-not-to-use guidance and no pointer to alternatives such as find_epub_fix or send_to_kindle_troubleshoot, which an agent could plausibly confuse with this tool.

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.

Resources