Skip to main content
Glama

Search the words in every text

search_passages
Read-onlyIdempotent

Find passages by the words inside them, across every Bible edition and every work, in every language (title-only search is search_shelf). Query: words, "an exact phrase", -leave out, author: work: group: lang: edition:. Returns results[] (work or edition, section, paragraph or verse, anchor, snippet with matches in « », the parallel text, url, cite), next_cursor, total_estimate, facets. Phrase hits rank above all-words above some; at most 2 per work. Example: {"query": "love your enemies", "scope": "bible"}. If empty: fewer words, no quotes, scope "all", or the word in the original language.

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": "search_passages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoResults per page. Default 8.
queryYesWords to find; "exact phrase", -exclude, author:plato, work:republic, group:"Church Fathers", lang:grc.
scopeNoDefault "all".
cursorNonext_cursor from the previous page.
response_formatNodetailed adds the whole passage. Default "concise".

Output Schema

NameRequiredDescriptionDefault
urlYesPermanent scriptura.si link.
citeYesReady citation naming Scriptura, ending with the link.
codeNo
noteYesWhat was searched, and what to try next.
errorNo
queryYes
facetsYes
resultsYes
searchedNo
next_cursorYesPass as cursor for the next page; null when there are no more.
total_estimateYesAbout how many passages hold the words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. Beyond that the description adds real behavioral context — ranking order (phrase above all-words above some), a hard cap of 2 results per work, and the empty-result fallback — which materially affects how an agent should phrase a query. It does not, however, discuss pagination semantics beyond naming next_cursor, so it lands above the annotation baseline but not at the top.

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?

Front-loaded correctly: purpose and sibling disambiguation come first, then query syntax, then return shape, then ranking, then the example and fallback. It is dense with parenthetical enumerations and the return-field list duplicates what the output schema already provides, which costs a little, but no sentence is filler.

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?

For a five-parameter search tool with an output schema, the description covers the parts the schema cannot: operator syntax, ranking rules, per-work result cap, and what to do when nothing comes back. Nothing an agent needs in order to issue a correct first query is missing.

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, but the description adds syntax the schema only sketches: the '-leave out' negation and the 'group:' and 'edition:' prefixes are spelled out here and not in the schema. It also gives a worked example object showing query plus scope together. It stops short of explaining limit/cursor/response_format interplay, which keeps it off a 5.

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 opens with a specific verb and resource ('Find passages by the words inside them') and immediately bounds the scope ('across every Bible edition and every work, in every language'). It also explicitly carves out the neighboring tool ('title-only search is search_shelf'), so an agent can separate this from search_shelf without opening either schema.

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?

It names the alternative (search_shelf) together with the condition that selects it (title-only lookup). It also supplies concrete remediation for the zero-result case: fewer words, no quotes, scope "all", or the original-language word — which is the main branch point an agent will hit in practice.

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