Skip to main content
Glama

Search the KJV by keyword

keyword_search
Read-only

Fast keyword search of the KJV (English index — phrase your query in English). Two or more words are read as a phrase first: verses with those words in that order come first, in Bible order, with phrase_total counting them all; then verses with every word; then related verses ranked by verse text and the site's commentary. Each verse's match says which (phrase, all_words, related). Beside the verses, commentary lists up to three places in the site's passage studies and newer verse commentaries that have every word of the query: the passage, the section, a few sentences of it and its page. Returned verse text is in the user's conversation language when available, KJV otherwise. Outside trulyrandomverse.com/ai the default edition is the KJV ('english'); pass lang for another. Editions whose licence does not allow redistribution are refused. Book, chapter and verse are always KJV numbering, in every edition: the text returned is that edition's rendering of the same KJV verse. A few editions number some chapters differently in print (Ukrainian, Douay-Rheims, Geneva, Swedish and Serbian, mostly in Psalms), so a reader quoting their own Bible's number there may mean a neighbouring KJV verse.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "keyword_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoOptional. Internal language code for returned verse text. Defaults to the user's conversation language.
limitNoDefault 8, max 12.
queryYesKeyword or short phrase in English, max 200 chars.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld=false/non-destructive, and the description goes well beyond that: it discloses the three-tier ranking (phrase, all_words, related), the `match` and `phrase_total` fields, the `commentary` sidecar with its cap of three, text-language fallback, and licence-based edition refusals. It even warns that KJV numbering is fixed across editions, with named exceptions where printed chapter numbers diverge.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loading is good — ranking behavior comes first, caveats last. However, the closing passage on Ukrainian, Douay-Rheims, Geneva, Swedish and Serbian chapter numbering is long and highly niche for a keyword-search tool, and the run-on sentence describing the phrase/all_words/related ordering is dense enough to require a second read.

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?

There is no output schema, so the description carries the burden of explaining returns, and it does: it names `phrase_total`, `match` with its three enumerated values, and the `commentary` structure (passage, section, excerpt, page). Combined with the edition and numbering caveats, an agent has enough to call this and interpret the response correctly.

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 baseline is 3; the description adds genuine meaning on top by clarifying that `query` is an English index (not the edition's language) and that `lang` selects an edition whose default is the KJV off-site, which the schema's "conversation language" line alone leaves ambiguous. `limit` is never mentioned in the description, but the schema already documents default 8 / max 12.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ("Fast keyword search of the KJV") and immediately scopes it as an English index, which tells an agent the query language. It does not name or distinguish itself from plausible siblings like search_topic_verses or search_fathers, so an agent still has to infer routing.

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

Usage Guidelines3/5

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

Gives real usage context: phrase-in-English queries, phrase-first result ordering, and when to pass `lang` for another edition. It never says when NOT to use this tool or which sibling to prefer for topical or commentary-only lookups, so alternatives are left implicit.

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.

Resources