Skip to main content
Glama

Find parallel passages

find_similar_verses
Read-only

Given a verse, find other passages in the library that say something close to it — by meaning, not by shared words. Start here when you already have a verse; when you only have words, a question or a term, use search_texts.

Use it to check whether a teaching appears elsewhere before presenting it as the tradition's position, to gather parallel places, or to see how different works treat one subject. Set exclude_same_work when you want an independent witness: the next verse of the same chapter is nearly always similar and proves nothing.

An empty result is a real answer — it means the library says this in one place only.

Input Schema

NameRequiredDescriptionDefault
limitNoPassages to return. Default 8.
verseYesA citation ("BG 2.47") or a `unit_id` from an earlier result.
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.
exclude_same_workNoSkip passages from the same work, so what comes back corroborates rather than repeats. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover safety (readOnlyHint) and scope (openWorldHint=false), and the description adds behavioral context they don't: matching is semantic rather than lexical, an empty result is a legitimate answer meaning the library attests the idea once, and same-chapter neighbors are near-duplicates that 'prove nothing.' That last point prevents a real false-positive pattern an agent would otherwise fall into.

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?

Three short paragraphs ordered by importance: what it does and its sibling boundary first, use cases and the key parameter second, the empty-result caveat last. No sentence restates the name or the schema.

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?

With no output schema, the description carries return-value burden and does handle the most important cases: that results report their actual language and that zero results is meaningful. It stops short of saying what a result actually contains (citation, work, verse text, similarity measure), which is the one gap for an agent consuming the output.

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 earns above that by explaining the intent behind exclude_same_work — independent corroboration versus repetition — and warning that the adjacent verse is trivially similar. It does not add anything for limit or verse beyond what the schema already documents.

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?

States a specific verb and resource (find passages similar to a given verse) plus the mechanism that defines it: similarity by meaning, not by shared words. It explicitly contrasts itself with the sibling search_texts, so an agent can choose between them 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?

Gives an explicit routing rule — 'Start here when you already have a verse; when you only have words, a question or a term, use search_texts' — naming the alternative and the condition that selects it. It also lists three concrete use cases (verify a teaching, gather parallels, compare treatments of a subject).

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