Skip to main content
Glama

Follow links between verses, works and rooms

follow_links
Read-onlyIdempotent

Walk the shelf as a graph from a verse, a work or a room: which works quote a verse, which verses and rooms a work touches, which works a room names, and on again, as many steps as asked (default 1), with the quotation on every edge and a link to open it. Start from "John 1:1" (or "verse:JHN.1.1"), "work:" or "room:". Everything found is returned, in a fixed order; limit and offset are there only if you want to page. It follows the published index: the indexed verses and the Enoch and Melchizedek rooms, so a short answer is the edge of the index, not the edge of the library.

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": {
      "from": "<from>"
    },
    "name": "follow_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYesStart node: a verse like "JHN.1.1" or "John 1:1", "work:<shelf id>", or "room:enoch" / "room:melchizedek".
depthNoHow many steps to walk. Default 1.
limitNoOptional: return this many edges at a time. Default: all of them.
offsetNoOptional: skip this many edges (use next_offset from the previous answer).

Output Schema

NameRequiredDescriptionDefault
urlNoPermanent scriptura.si link.
citeNoReady citation naming Scriptura, ending with the link.
codeNo
fromNo
hintNo
noteNo
depthNo
edgesNo
errorNoWhat went wrong, in plain words.
nodesNo
roomsNo
offsetNo
indexedNo
next_offsetNo
suggestionsNo
total_edgesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds real context beyond that: default depth of 1, fixed ordering of all results, optional pagination, a quotation and open link on every edge, and the important scope limit that only the published index plus the Enoch and Melchizedek rooms are traversed.

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 core operation and its start-point formats are front-loaded, and every sentence carries information about behavior or scope. It is dense and slightly long-winded in places ('and on again'), 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?

Although an output schema exists (so return structure needn't be described), the description still covers entry formats, default depth, ordering, paging, and the index-scope caveat that would otherwise cause an agent to misread a short result. Nothing needed to call it correctly 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 meaning: it illustrates accepted 'from' formats, states depth defaults to 1 and means steps walked, and frames limit/offset as an optional paging mechanism rather than a cap on results ('Everything found is returned').

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 names a specific operation (graph traversal from a node) over specific resources (verses, works, rooms) and spells out the traversal semantics: which works quote a verse, which verses and rooms a work touches, which works a room names. That is clearly distinguishable from siblings such as who_read_verse, check_quote or search_shelf.

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

Usage Guidelines4/5

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

It gives concrete entry conditions (start from a verse, work:<id> or room:<name>) and clarifies that limit/offset are only for paging, plus a caveat that a short answer reflects the edge of the published index rather than an empty library. It does not explicitly name an alternative tool to use for single-hop lookups, so it falls short of full when/when-not routing.

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