Skip to main content
Glama

Get Word Definition

get_word_definition
Read-onlyIdempotent

Look up the dictionary meaning of a Pāli word, with sutta context.

Serves as a Pāli Dictionary Bridge — pairs the "definition" with the "context where the Buddha actually used the word".

📖 About the dictionary sources: This tool draws from multiple primary dictionaries, including "พจนานุกรมพุทธศาสน์ ฉบับประมวลศัพท์" (Buddhist Dictionary — Concept-Glossary edition) by Somdet Phra Buddhaghosacariya (P. A. Payutto). The Thai-language entries are original scholarly works (not translations), so they are always available even when ENABLED_LANGUAGES has Thai disabled. The AI client should translate Thai entries into the user's language if needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wordYesWord to look up (e.g. "dukkha", "กฐิน").
languageNoDictionary language (e.g. "en", "thai", or "all" as default).all
limit_contextNoNumber of sutta-context examples to include (1-5).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already disclose read-only, idempotent, non-destructive behavior. The description adds meaningful context not captured by annotations: the source is a compilation of multiple primary dictionaries, Thai entries are original scholarly works and therefore always available regardless of ENABLED_LANGUAGES, and the AI client should translate Thai entries if needed. This gives the agent important behavioral knowledge about language availability and fallback handling.

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?

The description is slightly longer than necessary but well-structured with a preamble and a dedicated 'About the dictionary sources' section. The emoji and formatting are stylistic but not harmful. Each part contributes: purpose, role, and a critical behavioral note about language availability. It is not bloated, though the source paragraph could be tightened slightly without losing substance.

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?

Given the presence of annotations, a 100% schema-described parameter set, and an output schema, the description covers the core information: what the tool does, what sources it uses, and an important caveat about language availability. It does not cover edge cases like multi-word lookups or common failure modes, but those are likely handled by the output schema and the tool's structured response. The description is sufficiently complete for an AI agent to decide when to use it and what to expect.

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?

Schema coverage is 100% so the baseline is 3. The description goes beyond schema by explaining the 'language' parameter behavior in a non-obvious way: Thai entries are always available even when Thai is disabled, and the client may need to translate them. This adds meaningful semantic context to the 'language' parameter that the schema alone does not convey. However, it doesn't add details about 'word' or 'limit_context' beyond what the schema already states.

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 action ('Look up the dictionary meaning of a Pāli word') and the added value ('with sutta context'). It distinguishes the tool as a 'Pāli Dictionary Bridge' that pairs definitions with actual usage, which differentiates it from siblings like define_from_suttas and parse_pali_word. The specific verb+resource+scope structure makes its purpose immediately obvious.

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

Usage Guidelines2/5

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

The description does not provide explicit guidance on when to use this tool versus alternatives. It positions the tool as a 'Pāli Dictionary Bridge' but never mentions sibling tools, exclusions, or scenarios where another tool would be more appropriate. There is no 'when to use' or 'when not to use' guidance, leaving the AI agent to infer usage from the purpose alone.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose. Search tools are differentiated by strategy (keyword, hybrid, semantic, exhaustive). Reading tools separate content retrieval, comparison, and viewer rendering. Parsing and definition tools have complementary roles. No overlapping functionality.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern in snake_case, e.g., compare_translations, get_sutta, list_editions, search_by_keyword. The only slight deviation is open_sutta_viewer using 'open' instead of 'view', but it still fits the pattern.

Tool Count5/5

12 tools is well within the ideal range for a domain-specific server. Each tool addresses a distinct need: retrieval, search, parsing, dictionary, citation, structure overview, and comparison. No bloat or thinness.

Completeness5/5

The tool surface covers the full lifecycle for a read-only Pāli canon server: fetching content, searching (multiple modes), viewing with translations, comparing translations, parsing words, looking up definitions, listing editions and structure, and generating citations. There are no obvious gaps for the intended use case.

Resources