Skip to main content
Glama

Parse Pāli Word

parse_pali_word
Read-onlyIdempotent

Strips Pāli inflectional suffixes to return possible root stems for inflected words. Use before looking up definitions to handle case endings and other inflections.

Instructions

Strip Pāli inflectional suffixes to find the root form (basic stem).

💡 Use this tool when:

  • You find an inflected Pāli word (e.g. dukkhassa, bhikkhūnaṁ) and get_word_definition doesn't find it directly — Pāli inflects nouns across 7 cases × 2 numbers, ~16 forms per root.

  • You want to split a compound (sammāsambuddhassasammā + sambuddha + -ssa genitive).

  • You want to see possible stems before another get_word_definition lookup.

🔄 Recommended workflow: parse_pali_word(inflected_form) → get possible_stems[] → call get_word_definition(stem) per stem until you find a definition.

⚠️ Limitations:

  • Rule-based first-pass — strips common suffixes (case endings, vowel shortening). Not a full morphological analyzer.

  • Compound words (samāsa) are NOT split — dukkhanirodha won't be broken into dukkha + nirodha.

  • Sandhi (sound junctions) like tena ahaṁ → tenāhaṁ aren't reversed.

  • Returns possible stems — verify each via get_word_definition.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wordYesAn inflected Pāli word (e.g. "dukkhassa", "bhikkhūnaṁ", "sīlavā").

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, and the description adds behavioral details: rule-based, not full morphological analyzer, doesn't split compounds or reverse sandhi, returns possible stems. No contradiction with annotations.

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 well-structured with sections, emojis, and bold text for readability. It is concise yet comprehensive, with every sentence providing value. No unnecessary information.

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?

Given the tool's complexity and the presence of an output schema, the description covers all necessary aspects: purpose, usage guidelines, limitations, and workflow. It is complete for an AI agent to understand when and how to use the tool.

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% with a clear description of the 'word' parameter. The description reinforces this with examples but does not add significant new semantic detail beyond the schema. Baseline score 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: strip Pāli inflectional suffixes to find the root form. It provides concrete examples like 'dukkhassa' and explains the workflow, distinguishing it from sibling tools such as get_word_definition.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use (when get_word_definition fails for inflected words, for splitting compounds, as preprocessing) and when not to (for complex compounds or sandhi). Recommends a specific workflow, making it clear how this tool fits with others.

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/dhamma-seeker/tripitaka-mcp'

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