Skip to main content
Glama

Maktaba-e-Qamar (مکتبۂ قمر)

List books in the catalogue

list_books
Read-only

Catalogue entries (number, titles in Urdu/Arabic, romanized and English, author, language, section, volumes, pages, pages with text, url). query = title/author words in any script (spelling-tolerant; 'did you mean' suggestions when nothing matches); section = one topic; neither = whole catalogue in compact rows. Use the number as book in search / get_book.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
queryNoOptional title/author words (any script).
sectionNoOptional topic key: own (works of Mufti Muhammad Qamarul Hasan himself, and a few writings about him), quran (Quran & Quranic sciences), tafsir (tafsir), hadith (hadith), fiqh (fiqh & usul), fatawa (fatawa), aqidah (aqidah & kalam), munazara (polemics & refutations), tasawwuf (tasawwuf), sirah (sirah & virtues of the Prophet ﷺ), manaqib (manaqib), tarikh (history), tazkira (biography), poetry (poetry (naat, qasida)), language (Arabic language), mantiq (logic & philosophy), adab (literature & misc.), other (other), notref (other material, not reference books (mostly not OCR'd)).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish readOnly, non-destructive, closed-world behavior, so safety needs no restating here. The description does add genuine behavior beyond them: spelling tolerance, 'did you mean' suggestions on a miss, and that an unfiltered call returns compact rows rather than full records. It stops short of describing ordering, result limits, or pagination for a whole-catalogue call, which matters when both filters are omitted.

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

Conciseness4/5

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

Two dense sentences with no filler, front-loading the record fields before the filter semantics. The parenthetical field list is long but earns its place because there is no output schema. Slightly crowded syntax, but nothing is redundant.

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?

With no output schema, the description correctly takes on the job of naming every returned field, and it covers the zero-result case and cross-tool handoff. The remaining gap is the combination semantics of `query` plus `section` and the lack of any bound on an unfiltered whole-catalogue listing.

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% and the `section` enum values are already fully documented in the schema, so the description is not obliged to compensate. It still contributes real meaning beyond the schema by noting cross-script, spelling-tolerant matching and the fallback suggestion behavior for `query`, which the schema does not mention. It does not clarify whether `query` and `section` may be combined or how they intersect when both are supplied.

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 description opens by enumerating exactly what a catalogue entry contains and how the two filters scope the listing, so an agent knows this is a bulk listing of book records. It also points to `search` / `get_book` as the follow-on consumers of the returned number, which implicitly separates it from those siblings, though it never states in one clause what those tools do differently.

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?

Clear conditions are given: `query` for title/author words in any script, `section` for a single topic, and 'neither = whole catalogue in compact rows'. It also routes the agent forward by saying to use the returned number as `book` in `search` / `get_book`. What's missing is an explicit statement of when to prefer `search` over this tool for a lookup.

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.

Resources