Skip to main content
Glama

read_epub_metadata

Read metadata from an EPUB file (title, author, language, publisher, description, series, cover status, etc.). Returns JSON — no file output.

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": "read_epub_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesBase64-encoded EPUB file content

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so well: it discloses hard size limits per file and per operation, rate limits (15 req/min free, 60 req/min Pro), a daily operation quota, tier-dependent behavior, the specific refusal error codes, and the correct escalation path. It also states the return medium ('Returns JSON — no file output') and warns that certain operations inject Epublys attribution into output.

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 and return-format sentence is well front-loaded and waste-free. Roughly half the remaining text is pricing/quota boilerplate that repeats per-tool commercial terms, and the tier details are less useful for invocation than the single sentence 'on daily_limited, call upgrade_to_pro' would have been.

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?

For a one-parameter read tool with no output schema and no annotations, the description covers purpose, output medium, input size limits, rate limits, and failure handling. The only gap is that it does not describe the JSON shape returned (e.g., what cover status looks like), which the absence of an output schema leaves undocumented.

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?

The single parameter `file` is already fully documented in the schema as base64-encoded EPUB content, so the schema does the core work. The description adds a meaningful constraint at the parameter level, however: the 5MB per-file free-tier cap and 30MB Pro cap tell the caller how large the base64 payload may be before encoding is rejected.

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 first sentence gives a specific verb and resource ('Read metadata from an EPUB file') and enumerates the fields returned (title, author, language, publisher, description, series, cover status), plus the output form ('Returns JSON — no file output'), which implicitly separates it from the epub_to_* converters. It never names a sibling such as edit_epub_metadata or validate_epub, so differentiation is inferred rather than stated.

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?

Usage is only implied by the verb 'Read'; there is no explicit statement of when to prefer this over edit_epub_metadata, validate_epub, or generate_cover. The one genuinely actionable guideline is the error path: on daily_limited or a Pro-only error, call upgrade_to_pro to obtain a checkout link. That is recovery guidance, not tool-selection guidance.

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.