Skip to main content
Glama
chepetime

Calibre Librarian MCP Server

by chepetime

Normalize author_sort

normalize_author_sort
Destructive

Correct inconsistent author_sort values in Calibre for proper alphabetization. Preview before applying changes.

Instructions

Find and fix inconsistent author_sort values. Calibre uses author_sort for proper alphabetization (e.g., 'Tolkien, J.R.R.' for 'J.R.R. Tolkien'). Preview changes before applying.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum books to process (default: 50).
previewNoIf true (default), only show what would be changed. Set to false to apply changes.
authorIdNoOptional: Only normalize books by a specific author ID. Use search_authors_by_name to find IDs.
Behavior4/5

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

Annotations mark destructiveHint=true, and the description adds value by explaining the preview option and the concept of author_sort normalization. It correctly characterizes the tool as potentially destructive and provides mitigation (preview). It does not contradict annotations.

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

Conciseness5/5

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

The description is two sentences, front-loaded with the core action. Every sentence is informative without redundancy. Highly concise.

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?

The tool has moderate complexity with no output schema. The description explains the purpose and preview feature but doesn't detail what 'inconsistent' means or the normalization logic. It is adequate but not comprehensive.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all parameters. The description doesn't add extra meaning beyond the schema, meeting the baseline for high coverage.

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

Purpose5/5

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

The description clearly states the verb 'Find and fix' and the resource 'inconsistent author_sort values'. It provides an example of the correct format, making the purpose unambiguous. No sibling tool has this specific normalization focus.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when author_sort values are inconsistent, and it advises to preview changes before applying. This gives clear context, though it doesn't explicitly state when not to use it or compare to alternatives. The sibling list doesn't contain a similar tool, so no differentiation is needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chepetime/calibre-librarian-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server