Skip to main content
Glama
ni-c

calibreweb-mcp

by ni-c

Get library statistics

get_stats
Read-onlyIdempotent

Retrieve library statistics including total counts of books, authors, categories, and series from a Calibre-Web library.

Instructions

Returns the total number of books, authors, categories (tags) and series in the library.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
booksNo
seriesNo
authorsNo
categoriesNoTags, in Calibre’s terms.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv0.3.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "authors": {
      +      "type": "number"
      +    },
      +    "books": {
      +      "type": "number"
      +    },
      +    "categories": {
      +      "description": "Tags, in Calibre’s terms.",
      +      "type": "number"
      +    },
      +    "series": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observedv0.1.2

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds no behavioral traits beyond those annotations, such as caching behavior or data freshness, so the annotation coverage carries most of the burden.

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?

A single, front-loaded sentence that names exactly what the tool returns with no filler. Every word earns its place and the structure is immediately scannable.

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 parameterless, read-only aggregate tool with an output schema present and annotations covering safety, the description is complete. No additional details are needed for an agent to select and invoke this tool correctly.

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 tool has zero parameters and the input schema fully covers that, so the description has no parameter documentation burden. The phrase 'in the library' usefully clarifies the scope of the statistics, matching the baseline for parameterless tools.

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 states a specific verb ('Returns') and a precise resource (aggregate counts for books, authors, categories/tags, and series), making the purpose unmistakable. It naturally distinguishes itself from sibling list/search tools by focusing on totals rather than individual records.

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 description implies this tool is for aggregate statistics rather than browsing or searching, but it does not explicitly state when to use it over alternatives or call out exclusions. There are no explicit 'use this instead of list_books' style instructions.

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/ni-c/calibreweb-mcp'

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