pali-canon
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| resolve_referenceA | Turn any citation, PTS page, link or sutta name (Pāli or English title, e.g. "Satipatthana Sutta"; ambiguous names list the candidates) into the canonical text it names, with its title, PTS location, VRI paragraph numbers, available English translations, Thai/Myanmar/VRI edition pages and numbering notes. Works offline. The reference may be written in any supported script (Sinhala, Thai, Myanmar, Devanagari, Khmer, Lao, Lanna); set script to get Pāli titles in that script. |
| get_metadataA | Details of one text: title, collection, PTS range, VRI book and paragraphs, contained texts, linked English translations (with translation_id), and a SuttaCentral link for parallels. Works offline. |
| get_textA | Read the Pāli text of a sutta or section (VRI edition), in order, with VRI paragraph numbers, PTS and Thai/Myanmar/VRI page breaks and optional variant readings (raw or structured by edition). Long texts are paginated by segment. Optionally add an English translation (translation: "default" or a translation_id from get_metadata). The Pāli works offline. Set script to read the Pāli in Sinhala, Thai, Myanmar, Devanagari, Khmer, Lao or Lanna script (transliterated from the VRI Roman edition); the uid may also be written in those scripts. |
| get_translationA | Read an English translation of a text (Ṭhānissaro Bhikkhu on dhammatalks.org, Access to Insight translators, or Ānandajoti Bhikkhu on Ancient Buddhist Texts), with attribution, license and numbering notes. Falls back to official mirrors if a site is down. |
| compare_translationsA | Fetch two to four English translations of the same text side by side, with the Pāli opening for reference. Lists what is available when fewer exist. |
| search_textsA | Search the full Pāli text of the Tipiṭaka (diacritics optional; all words must appear; "quoted phrases" allowed), text titles, and English translation titles. Works offline. Pāli typed on an English keyboard (samyutta, sanyutta, Velthuis sa.myutta, Harvard-Kyoto saMyutta) is understood and labelled; an English query (e.g. "mindfulness of breathing") is expanded into Pāli terms from the glossary, labelled expanded_from_english. The query may be written in any supported script; set script for titles and excerpts in that script. |
| browse_canonB | Browse the Tipiṭaka: "canon", "sutta", "vinaya", "abhidhamma", a collection (dn, mn, sn, an, dhp, thag, ja…) or a section (sn56, an4, kv1). Works offline. |
| lookup_paliA | Look up a Pāli word in the Digital Pāḷi Dictionary (grammar, roots, meanings). Diacritics are optional: "nibbana" also offers nibbāna, labelled inferred_spelling; Velthuis and Harvard-Kyoto are understood. Dictionary glosses are reference material, not scripture. |
| search_access_to_insightB | Find Access to Insight translations, study guides and topics through its sutta and subject indexes (falls back to its official GitHub mirror). |
| get_access_to_insight_textB | Read an Access to Insight page (translation, essay or study guide) by path or URL, with its license notice. Falls back to official mirrors. |
| list_sourcesB | Sources, editions, licenses, mirrors and what works offline. |
| abhidhamma_matikaA | Browse the mātikā (matrix) of the Dhammasaṅgaṇī: the 22 triads (tika), the 100 Abhidhamma dyads (duka) in their groups and the 42 Suttanta dyads, in Pāli from the bundled VRI text, each with its VRI paragraph and a get_text location. Without a section it returns an overview. Works offline. |
| patthana_conditionA | One of the 24 conditions (paccaya) of the Paṭṭhāna: its Pāli name from the bundled VRI text, the location and Pāli text of its definition (paccayaniddesa), and the Pāli term to look up with lookup_pali for an English dictionary meaning. Pass "all" for the list. Works offline. |
| analyse_passageA | Word-by-word analysis of a passage of the bundled Pāli text from the Digital Pāḷi Dictionary (offline): for each word its compound or sandhi split, headword, grammar (case, number, tense), root and short meaning. Pass a citation and a segment ref from get_text (e.g. "mn10/3") or a VRI paragraph. Every possible parse is listed; dictionary glosses are not a translation. CC BY-NC-SA 4.0 notice included. Works offline. |
| uposathaA | Uposatha (observance) days — full moon, new moon and the two half-moon days — between two dates for one Theravāda tradition: Thai Mahānikāya, Thai Dhammayut, Myanmar or Sri Lanka. Each day gives its lunar month and lunar day. Dates are computed offline from the stated rule and labelled as computed, not official; local monasteries may keep a different day. |
| festivalsA | Dates of Māgha Pūjā, Vesak (Visākha Pūjā), Āsāḷha Pūjā, the start and end of the Rains Retreat (Vassa), Pavāraṇā and the Kaṭhina season in one year for one tradition, with the canonical texts associated with each (for example SN 56.11 for Āsāḷha Pūjā). Dates are computed offline and labelled as computed, not official. |
| get_commentaryA | Read the traditional Pāli commentary (Aṭṭhakathā, VRI Chaṭṭha Saṅgāyana edition) on a text: Sumaṅgalavilāsinī (DN), Papañcasūdanī (MN), Sāratthappakāsinī (SN), Manorathapūraṇī (AN), the Dhammapada commentary and others. Passages are aligned to the text by VRI paragraph number and checked against the words they quote; unmatched passages are left out. Commentary is not the canon: keep it distinct when quoting. Paginated by segment. Works offline. |
| daily_textA | A Dhammapada verse (default) or a sutta for a given day, chosen by a fixed rotation through the bundled Pāli canon so the same date always gives the same text. Returns the Pāli (verse) or the opening line (sutta), citation, PTS page, English translation links and source attribution. Works offline. |
| reading_planA | Reading plans through the canon: dhammapada-26-days, mn-year, ati-into-the-stream, ati-four-noble-truths. Give a plan name and a day number to get that day's readings (citation, PTS page, get_text arguments, English links). Omit the name to list plans; omit the day for the whole schedule. Works offline. |
| lookup_nameA | Who or what is a name in the Pāli Canon (a person such as Sāriputta or Anāthapiṇḍika, a place such as Sāvatthī)? Returns the Dictionary of Pāli Proper Names entry when bundled (with attribution and licence), links to the online editions, and the texts of the bundled canon where the name appears. Works offline. |
| find_citationsA | Find every Pāli Canon citation in a piece of free text (an essay, a talk transcript, a paper's references) and check each one against the bundled canon. Mixed schemes are understood: MN 10, SN 56:11, AN 3.65, Dhp 183, Snp 1.8, Pj 1, Kd 1, PTS pages like M i 55 or S v 420, Bilara IDs like sn56.11:5.1, and suttacentral.net / accesstoinsight.org / dhammatalks.org links. Returns each citation with its character offsets, the text it names (ID, title) or, when it does not resolve, the reason. Works offline. |
| glossaryA | Look up an English word or phrase to find the Pāli terms for it, or a Pāli word to see its short English gloss, from the Digital Pāḷi Dictionary's English index and the curated numbered-list glosses. Every entry names its source. Glosses are labels for finding words, not translations. Works offline. |
| get_parallelsA | Find parallels and cross-references for a text, built offline from the bundled VRI edition: (1) other canonical texts the traditional commentary (Aṭṭhakathā) cites when explaining this one, or that cite it, each with the commentary passage and the words that make the citation; (2) other canonical texts that share a passage with it word for word, with the segment refs on both sides and a similarity score (stock formulae left out). Every link states its source and how it was matched; ambiguous references are left out. Also gives the SuttaCentral link for parallels in other traditions (link only). Paginated. Works offline. |
| parittaA | Paritta and other commonly recited texts (Maṅgala, Ratana, Karaṇīyamettā, Khandha, Mora, Dhajagga, Bojjhaṅga, Khuddakapāṭha chants and more) in Pāli from the bundled VRI edition, with their canonical citations and links to English translations. Call with no name to list the set. Works offline. |
| get_post_canonicalA | Read a post-canonical Pāli book of the VRI edition: the Visuddhimagga ("Vism ch. 1" or "Vism I" chapter, "Vism 1.1" chapter.paragraph, "Vism §19" VRI paragraph), the Abhidhammatthasaṅgaha ("Abhidh-s 1", "Abhidh-s 1.4"), the sub-commentaries (Ṭīkā) and other later works by id ("mahavamsa 3"). Omit the citation, or give "tika" or "anna", to list the books. Not the canon: every result is labelled canonical: false. Works offline. Visuddhimagga PTS pages cannot be located (the VRI edition has none). |
| search_post_canonicalA | Search the full Pāli text of the post-canonical books (Visuddhimagga, Abhidhammatthasaṅgaha, sub-commentaries/Ṭīkā and other VRI Añña books): diacritics optional, all words must appear, "quoted phrases" allowed. Not the canon: results are labelled canonical: false. Works offline. |
| find_talksA | Find Dhamma talks by Ṭhānissaro Bhikkhu on dhammatalks.org by topic (query) or by passage (a citation such as MN 118). Link-only: returns talk titles, dates and URLs from the site's own search, never talk text. Talks are commentary, not scripture. |
| topicA | Texts on a topic from Access to Insight's subject and numerical indexes (e.g. "emptiness", "anger", "five hindrances"), each mapped to its canon ID with title and PTS page. Works offline. |
| list_topicsB | Browse or search the topic index (over 300 topics from Access to Insight's General and Numerical indexes). Works offline. |
| dhamma_listA | A standard numbered list of the teaching (four noble truths, five aggregates, seven factors of awakening, ten fetters, twelve links…) with its members in Pāli, plain-English glosses and the canonical passage that sets it out. No name lists them all. Works offline. |
| verify_quoteA | Check whether a quotation attributed to the Buddha appears in the texts: a Pāli quotation is matched (fuzzily) against the whole bundled Pāli Tipiṭaka offline; an English one against the linked English translations of the texts you name (default: the Dhammapada), fetched live. Returns the best matches with citation and similarity, a verdict (found, close_paraphrase, not_found_in_scope) and exactly what was searched. |
| vinaya_ruleA | A monk's (bhikkhu) Pātimokkha rule, e.g. Pj 1, Ss 5, Np 18, Pc 5, Sk 26, As 1 (227 rules): its canonical text in the Vinaya (VRI Pāli, read with get_text) and a link to the section of Ṭhānissaro Bhikkhu's Buddhist Monastic Code (dhammatalks.org) that explains it, with attribution. The BMC is commentary, linked only. Works offline. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| study_passage | Read and explain a passage with cited Pāli and translation. |
| compare_translations | Compare available English translations against the Pāli. |
| topic_research | Research a topic through canonical passages. |
| memorise_passage | Memorise a Pāli passage from the retrieved text: chunks by segment, cloze practice and a spaced review schedule. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| sources | Sources, licenses and offline coverage. |
| canon-guide | Citation and numbering conventions. |
| pronunciation | Plain-English Pāli pronunciation guide (alphabet, long and short vowels, aspirates, retroflexes, niggahīta ṃ, double consonants, stress) with links to free public-domain grammars. Reference material, not scripture. |
TDQS
Scored across 32 tools
Most tools have sharply distinct targets: reading a text (get_text), a translation (get_translation), a commentary (get_commentary), post-canonical books (get_post_canonical), and searching each of those corpora are clearly separated by corpus and action. Minor overlap remains between lookup_pali and glossary (both accept a Pāli headword and return glosses) and between topic, list_topics and dhamma_list, which take a moment of reading to tell apart.
The dominant pattern is verb_noun snake_case (get_text, search_texts, resolve_reference, compare_translations, verify_quote, find_citations) applied consistently for operational tools. Bare-noun names (festivals, uposatha, paritta, glossary, topic, daily_text, reading_plan) are used for 'give me this view' tools, which is a deliberate but noticeable deviation from the verb_noun norm rather than chaos.
32 tools is heavy and well above the comfortable range, even though each one maps to a recognisable corpus or operation (canon, commentary, post-canonical, vinaya, Abhidhamma, dictionaries, calendars, verification). The breadth is real for a canon-study server, but an agent must hold a large mental map, and some grouping (e.g. the four search_* tools, the several lookup_* tools) could have been consolidated.
The surface covers the full lifecycle of canon study: browse/resolve/reference, read Pāli, read and compare translations, commentary and parallels, vinaya rules, Abhidhamma matrices, dictionaries and glossaries, festivals and observance calendars, plus verification of citations and quotes. No obvious dead ends remain for the stated purpose; even offline/live and script-handling concerns are addressed.