Skip to main content
Glama

Search the scriptures

search_texts
Read-only

Search the Vedaword library of Sanskrit scripture by meaning as well as by wording, so a paraphrased question works and a Sanskrit term reaches passages written in another script. This is the first thing to call for any factual question about what the scriptures say.

Returns passages with an exact citation, a URL and the version hash of the text quoted.

Read confidence before using the results. "none" means the library has no answer and the result list is empty — report that to the user instead of reaching for something related. "low" means the passages are leads, not answers. matched_by says how each was found: a passage found only by "vector" shares no words with the query.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoPassages to return. Default 8.
partsNoWhich part of a verse to search: `verse` is the Sanskrit source text, `translation` the literary translation, `word_by_word` the gloss table, `commentary` Vedaword's own exposition, `bhashya` an ācārya's original commentary. Omit to search all.
queryYesA question, a phrase, a Sanskrit term, or a citation such as "BG 2.47". Any language, and Sanskrit in Devanāgarī or IAST. Quote the string to require the exact wording.
worksNoRestrict to these works by slug — see list_works. Omit to search all.
languageNoPreferred language of the translations returned. Not a filter: works that exist only in Russian are returned in Russian, and each result says which language it is actually in. Default: en.
full_textNoReturn each passage whole instead of an excerpt. Use when you intend to quote; excerpts are for deciding what to quote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources