Skip to main content
Glama
KathrynV

kvartirabooks-mcp

by KathrynV

kvartirabooks-mcp

An MCP server for kvartirabooks.org, a Russian children's bookstore/library, covering both its book catalog (WooCommerce Store API) and its events calendar (Eventin plugin's public REST endpoints).

Tools

Books

Kvartirabooks sells some books and lends others out like a library. The same title can exist as two separate products: a purchasable copy (SKU is the plain ISBN, e.g. 9785041817558) and a borrowable library copy (SKU has an -L suffix, e.g. 9785041817558-L). Both tools surface this as an availability field: "for_sale", "for_borrow", or "unknown".

search_books

Search the catalog by title, author, or ISBN/SKU.

param

type

default

notes

query

string

required

page

number

1

1-based

perPage

number

10

max 100

availability

"any" | "for_sale" | "for_borrow"

"any"

filters the returned page only; does not affect total/totalPages

get_book

Fetch full details for one book by numeric product id or exact sku (provide exactly one).

Events

Backed by two public but incomplete REST surfaces that this server merges: eep/v1/events has date/time/venue/price but only lists upcoming events and has no lookup-by-ID; wp/v2/etn/{id} has the full description for any event but no schedule data. get_event merges them; search_events uses eep/v1/events directly.

search_events

Search upcoming events by title/description text and/or category.

param

type

default

notes

query

string

optional; omit to browse a category

category

one of the 4 fixed category slugs

optional

page

number

1

1-based

perPage

number

10

max 100

get_event

Fetch full details for one event by numeric id. Includes a schedule (date/time/venue/prices) when the event is still upcoming; schedule is null for events that have already happened, since kvartirabooks.org only publishes schedule data for upcoming events.

Related MCP server: Book Store MCP

Setup

npm install
npm run build

Run locally

npm start

This starts the server on stdio, per the MCP spec — it's meant to be launched by an MCP client (Claude Desktop, Claude Code, etc.), not run interactively. To wire it into Claude Code, add it as an MCP server pointing at node dist/index.js with this directory as cwd.

For local iteration without building first:

npm run dev

Tests

npm test

Includes unit tests (mocked HTTP) covering the sale/borrow SKU logic, book/event response mapping, and the events schedule-matching logic, plus integration tests that call the live kvartirabooks.org API (skipped automatically if the site is unreachable).

Available Tools

2 tools
get_bookGet book detailsA

Fetch full details for a single book by its numeric product ID or its exact SKU. Provide exactly one of 'id' or 'sku'. Note that for-sale and for-borrow copies of the same title have different IDs and SKUs (the borrow copy's SKU ends in '-L').

ParametersJSON Schema
NameRequiredDescriptionDefault
idNoNumeric product ID
skuNoExact SKU, e.g. '9785041817558' (for sale) or '9785041817558-L' (to borrow)

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden for behavioral disclosure. 'Fetch' implies a read-only operation, but the description does not explicitly state that, nor does it describe the return format, error handling, or authentication requirements. It does disclose the significant nuance that for-sale and for-borrow copies have different IDs/SKUs, which adds useful behavioral context, but other operational details are missing.

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 concise at two sentences with no filler. The first sentence front-loads the main action and object, and the second sentence adds essential usage constraints and the borrow-copy caveat. Every clause earns its place; it is neither under-specified nor verbose.

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?

With no output schema or annotations, the description is the only source of contextual info. It clarifies the identifier selection and the sale/borrow nuance, which is strong. However, it does not describe what 'full details' includes (e.g., fields returned), and it does not address edge cases like supplying both id and sku. For a simple, single-resource tool, this is adequate but not complete; an agent might not know the exact shape of the response.

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 schema already describes both parameters fully (100% coverage), so the baseline is 3. However, the description adds valuable meaning beyond the schema: it explicitly states the mutual exclusivity of 'id' and 'sku', and it explains the SKU suffix '-L' for borrow copies, which is essential for correct input selection but absent from the raw schema. This elevates the parameter semantics.

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 ('Fetch') and a clear resource ('full details for a single book'), and it uniquely identifies the tool by requiring either a numeric ID or an exact SKU. It implicitly distinguishes itself from the sibling 'search_books' by focusing on a single book known by identifier, rather than a search across multiple results.

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 provides clear conditions for usage: you must know the exact numeric ID or SKU, and it explicitly states to provide exactly one of them. It notes the sale-vs-borrow distinction, which is crucial for selecting the correct identifier. However, it does not explicitly mention when to choose this tool over 'search_books' (e.g., when an exact ID/SKU is known), so the guidance is clear but not fully explicit about alternatives.

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

search_booksSearch booksA

Search kvartirabooks.org's catalog by title, author, or ISBN/SKU. The same book can appear twice: once as a for-sale copy (SKU is the plain ISBN) and once as a library copy available to borrow (SKU has a '-L' suffix). Each result's 'availability' field is 'for_sale', 'for_borrow', or 'unknown'.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page number
queryYesSearch text: title, author, or ISBN
perPageNoResults per page (max 100)
availabilityNoFilter results on the returned page only, by 'for_sale' or 'for_borrow'; does not change pagination totals.any

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description takes on the full responsibility for behavioral disclosure. It discloses a key quirk: the same book can appear as two different rows (for-sale vs. borrow) with different SKU patterns, and it explains the meaning of the 'availability' field. This adds meaningful context beyond the schema, though it does not mention other behaviors like rate limits or permission requirements. The disclosure of the duplication and availability semantics is substantive, earning a 4.

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 concise and front-loaded: the core action and keys appear in the first sentence, followed by a needed clarification. There is no fluff or repetition; every sentence—the search scope, the duplicate-entry insight, and the availability field explanation—adds necessary context. Overall, a well-structured, efficient description.

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?

The description covers the non‑obvious facets of the tool: the possible duplicate rows and the meaning of the 'availability' field. The schema documents all parameters, and the sibling-tools context implies a separation from get_book. While some details like error behavior or whether results are ordered is missing, the description is sufficient for the typical use case. A 4 reflects that it handles the main specifics and leaves only minor edge dimensions unaddressed.

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 description coverage is 100%, so the baseline is 3. The description does not add significant new meaning to the parameters themselves—the mention of title/author/ISBN already appears in the `query` description, and the `availability` param is already explained. The added value is mostly about result interpretation rather than parameter semantics, so a 3 is appropriate.

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 tool’s purpose: searching kvartirabooks.org's catalog by title, author, or ISBN/SKU. It also explains the important nuance that a single book can have both for-sale and borrow copies, which clarifies exactly what the tool returns. This unambiguous verb (search) + resource (catalog) + search keys makes it easy to distinguish from the sibling tool get_book without confusion.

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 implicitly establishes when to use this tool (when there is a search query for title, author, or ISBN/SKU) and the nature of the results, but it does not explicitly discuss when to prefer the sibling get_book (e.g., when a specific book ID is known) or any exclusion conditions. This is a minor gap given that the search vs. fetch distinction is fairly obvious, so clear context with no exclusions merits a 4.

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

TDQS

A4.1/5.0
Disambiguation5/5

search_books queries the catalog and returns a list, while get_book fetches a single record by ID or SKU. Their purposes are clearly distinct and mutually exclusive.

Naming Consistency5/5

Both tools follow the verb_noun pattern: search_books and get_book. The naming is simple, consistent, and predictable.

Tool Count3/5

With only 2 tools, the server feels thin for a book catalog, but for a focused search-and-detail API it could be sufficient. It is on the low end of reasonable.

Completeness3/5

The server covers the core read operations (list/search and detail) but lacks browsing by category, listing all copies, or any advanced filtering. The domain is discoverable and basic needs are met, but notable gaps exist.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables AI clients to search Aspen Discovery library catalogs and check real-time book availability by keyword, author, or ISBN. This server allows users to verify local library inventory and filter book recommendations accordingly.
    2
    14
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides access to BookBrainz open book metadata, enabling search, lookup, and browsing of works, editions, authors, publishers, and series via natural language or direct tool calls.
    8
    MIT

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/KathrynV/kvartirabooks-mcp'

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