Skip to main content
Glama

edit_epub_metadata

Edit metadata fields in an EPUB file (title, author, language, publisher, description, series, cover image, etc.). Returns the modified EPUB.

Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min; the converters, merge, split and metadata editing credit Epublys in the output. Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min.

When a call is refused with daily_limited or a Pro-only error, call the upgrade_to_pro tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing

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": {
      "file": "<file>"
    },
    "name": "edit_epub_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
fileYesBase64-encoded EPUB file content
isbnNo
nameNoOriginal filename — the output is named after its stem (e.g. "Book.epub" gives "Book (compressed).epub"); without it the output keeps a fixed name
coverNoBase64-encoded cover image (JPEG or PNG, max 5MB)
titleNo
authorNo
seriesNo
authorsNoComma-separated list of authors
languageNo
subjectsNoComma-separated list of subjects/tags
publisherNo
descriptionNo
seriesPositionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the free/Pro limits (5MB, 3 ops/day, 15 req/min), that output is watermarked with Epublys credit, and that the modified EPUB is returned. It does not state whether fields omitted from the call are preserved or cleared, whether the source file is mutated or a new file produced, or what authentication is required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded and wastes nothing, but the two following paragraphs are largely tier/pricing boilerplate that is verbose relative to what an agent needs in order to call the tool. The escalation rule at the end of that block is the only part of it that earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter mutation tool with no annotations and no output schema, the description covers rate limits and the upgrade path but leaves the merge semantics, authentication, and the author/authors distinction undocumented. It is adequate to attempt a call but not to predict its effect on the source EPUB.

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

Parameters2/5

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

Schema description coverage is only 36% across 14 parameters, so the description must compensate, and it largely does not — it merely lists field names already visible in the schema. Critically, it never resolves the ambiguity between the `author` and `authors` parameters, nor explains `date`, `isbn`, or `seriesPosition`, all of which are bare strings in the schema.

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+resource ("Edit metadata fields in an EPUB file") and enumerates the editable fields, plus states that the modified EPUB is returned. It does not explicitly distinguish itself from the sibling read_epub_metadata, leaving the read-vs-write split to be inferred from the verb.

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?

There is actionable guidance for the failure path — "When a call is refused with daily_limited or a Pro-only error, call the upgrade_to_pro tool" — which is a genuine routing rule. However, there is no guidance on when to use this versus read_epub_metadata or generate_cover (which overlaps with the `cover` parameter), and no stated prerequisites.

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.