Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Turath Islamic library. Find ids with turath_find_in_catalog or turath_list_categories, then read with turath_get_page(s). Quote Arabic text exactly and cite book, author and page.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    }
  }
}
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}
completions
{}
experimental
{
  "turath/arabic-normalization": {
    "version": "1"
  }
}

Tools

Functions exposed to the LLM to take actions

NameDescription
turath_searchB

Full-text search across the Turath Islamic library. Arabic queries work best.

turath_get_pageB

Fetch the text of one page of a book.

turath_get_pagesA

Fetch up to 10 consecutive pages of a book in one call.

turath_get_bookC

Book metadata, optionally with its table of contents (indexes).

turath_get_authorA

Author details: name, death year and the ids of their books (from the Turath catalog), merged with live details from the author API when available.

turath_list_categoriesA

List all Turath book categories (id, name, number of books). Use turath_get_category for one category.

turath_get_categoryA

One category with its books. Books are paged; use offset/limit to walk large categories.

turath_find_in_catalogB

Search the Turath catalog (data-v3.json) by name; Arabic diacritics and letter variants are ignored.

turath_summarize_pageA

Fetches a page and asks the client's own model to summarize it. Requires a client with sampling support.

turath_get_book_fileA

Fetch the static JSON of a whole book (large). Asks for confirmation if the client supports elicitation. Output is truncated.

turath_export_pagesB

Saves a page range as a .md file in a turath-exports folder: inside the client root if shared, otherwise TURATH_EXPORT_DIR, otherwise the home directory.

turath_fetch_pages_taskA

Fetches up to 100 consecutive pages as a background task; poll with tasks/get and read with tasks/result.

Prompts

Interactive templates invoked by user choice

NameDescription
research_topicSearch Turath and summarize findings with book and page citations.
explore_categoryBrowse a Turath category and recommend where to start reading.

Resources

Contextual data attached and managed by the client

NameDescription
categoriesAll categories with book counts
العقيدةA category and its book ids
الفرق والردودA category and its book ids
التفسيرA category and its book ids
علوم القرآن وأصول التفسيرA category and its book ids
التجويد والقراءاتA category and its book ids
كتب السنةA category and its book ids
شروح الحديثA category and its book ids
التخريج والأطرافA category and its book ids
العلل والسؤلات الحديثيةA category and its book ids
علوم الحديثA category and its book ids
أصول الفقهA category and its book ids
علوم الفقه والقواعد الفقهيةA category and its book ids
المنطقA category and its book ids
الفقه الحنفيA category and its book ids
الفقه المالكيA category and its book ids
الفقه الشافعيA category and its book ids
الفقه الحنبليA category and its book ids
الفقه العامA category and its book ids
مسائل فقهيةA category and its book ids
السياسة الشرعية والقضاءA category and its book ids
الفرائض والوصاياA category and its book ids
الفتاوىA category and its book ids
الرقائق والآداب والأذكارA category and its book ids
السيرة النبويةA category and its book ids
التاريخA category and its book ids
التراجم والطبقاتA category and its book ids
الأنسابA category and its book ids
البلدان والرحلاتA category and its book ids
كتب اللغةA category and its book ids
الغريب والمعاجمA category and its book ids
النحو والصرفA category and its book ids
الأدبA category and its book ids
العروض والقوافيA category and its book ids
الشعر ودواوينهA category and its book ids
البلاغةA category and its book ids
الجوامعA category and its book ids
فهارس الكتب والأدلةA category and its book ids
الطبA category and its book ids
كتب عامةA category and its book ids
علوم أخرىA category and its book ids

TDQS

A3.6/5.0

Scored across 12 tools

Disambiguation4/5

Most tools target distinct resources (search, book, author, category, catalog, export), but the page-fetching family — turath_get_page, turath_get_pages, turath_fetch_pages_task, and turath_get_book_file — overlaps in purpose and is differentiated only by size/mechanism. turath_search (full-text) vs turath_find_in_catalog (catalog name search) could also be briefly confused, though the descriptions do draw the line.

Naming Consistency4/5

All twelve tools follow a turath_ prefix with snake_case verb_noun structure (get_page, list_categories, export_pages), which is highly predictable. Minor deviation: get vs fetch verbs are mixed for page retrieval (turath_get_pages vs turath_fetch_pages_task), but the pattern remains readable.

Tool Count5/5

Twelve tools is well within the ideal 3-15 range for a library server. Each tool earns its place: search, browsing hierarchy (categories → category → book → author), page retrieval at three scales, plus summarize/export/task utilities.

Completeness4/5

The read-only domain is well covered: search, category listing and drill-down, book metadata/TOC, author details, page retrieval at multiple granularities, plus export and summarization. Minor gaps: no dedicated author listing/browse tool (only catalog name search) and no way to navigate pages relative to a search hit, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues