# convert_ebook

Convert an ebook from one format to another (e.g., EPUB to MOBI, PDF to EPUB). Automatically adds the new format to the book

Agent View of the PolicyLayer registry record for `convert_ebook`. HTML page: https://policylayer.com/tools/2b3pro-calibre-mcp/convert-ebook

## Facts

- Tool: `convert_ebook`
- Server: Calibre (`2b3pro/calibre-mcp`) — https://policylayer.com/tools/2b3pro-calibre-mcp.md
- Homepage: https://github.com/2b3pro/calibre-mcp
- Risk category: Write (Medium risk)
- Registry record: grade B, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "convert_ebook",
    "arguments": {}
  }
}
```

## Why convert_ebook is rated Medium

This tool creates a new converted file and modifies the book's metadata/library by adding a new format. This is a reversible write operation—the converted file can be deleted and the metadata entry removed. It does not execute arbitrary code, delete data permanently, or move money.

From the tool's own definition: "Tool description states it 'Convert[s] an ebook from one format to another' and 'Automatically adds the new format to the book', indicating creation of new data (the converted file) and modification of library state (adding a new format entry)."

## Use case

AI agents use convert_ebook to create or update resources in Calibre, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Calibre environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Calibre:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "convert_ebook": {
      "limits": [
        {
          "counter": "convert_ebook_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Calibre (9)

- `deep_search_book` — Read — https://policylayer.com/tools/2b3pro-calibre-mcp/deep-search-book.md
- `fetch_online_metadata` — Read — https://policylayer.com/tools/2b3pro-calibre-mcp/fetch-online-metadata.md
- `get_toc` — Read — https://policylayer.com/tools/2b3pro-calibre-mcp/get-toc.md
- `read_content` — Read — https://policylayer.com/tools/2b3pro-calibre-mcp/read-content.md
- `read_file_metadata` — Read — https://policylayer.com/tools/2b3pro-calibre-mcp/read-file-metadata.md
- `search_library` — Read — https://policylayer.com/tools/2b3pro-calibre-mcp/search-library.md
- `polish_book` — Write — https://policylayer.com/tools/2b3pro-calibre-mcp/polish-book.md
- `update_metadata` — Write — https://policylayer.com/tools/2b3pro-calibre-mcp/update-metadata.md
- `write_file_metadata` — Write — https://policylayer.com/tools/2b3pro-calibre-mcp/write-file-metadata.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=2b3pro-calibre-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/2b3pro-calibre-mcp
