Skip to main content
Glama

Resolve a reference

resolve_ref
Read-onlyIdempotent

Turn a reference in any common form into Scriptura addresses and permanent links: Bible references ("Jn 1:1", "John 3:16 KJV", "Genesis 1:1 in Hebrew", "Jn 1:1 LXX"), Stephanus and Bekker numbers ("Rep. 514a", "Nicomachean Ethics 1094a"), book and line ("Iliad 1.1", "Aeneid 6.851"), sections ("plato-republic 7"), or scriptura.si links. Each address names the tool call that reads it; a reference that is not found comes back with suggestions.

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": {
      "ref": "<ref>"
    },
    "name": "resolve_ref"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThe reference, e.g. "Rep. 514a" or "Jn 1:1".

Output Schema

NameRequiredDescriptionDefault
urlNoPermanent scriptura.si link.
alsoNo
citeNoReady citation naming Scriptura, ending with the link.
codeNo
hintNo
noteNo
errorNoWhat went wrong, in plain words.
foundNo
notesNo
queryNo
addressesNo
suggestionsNo

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 readOnlyHint, idempotentHint, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond the annotations: it lists accepted input formats and discloses that a reference not found returns suggestions, which helps an agent handle failures.

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 description is front-loaded with the core action and then illustrates accepted formats efficiently; every example serves to clarify input flexibility. It is slightly dense as a single long sentence but contains no filler and remains easy to parse.

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 low-complexity, single-parameter tool with rich annotations and an output schema, the description covers the essential ground: accepted reference forms, the nature of the output (addresses and permanent links), and failure behavior (suggestions when not found). Nothing critical is missing for an agent to call it 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 the single 'ref' parameter is already documented. The description nevertheless adds meaningful semantics by enumerating multiple reference syntaxes (Bible references, Stephanus/Bekker numbers, book and line, sections, scriptura.si links) that go beyond the two examples in the schema.

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 states a specific verb ('Turn a reference') and a concrete output ('Scriptura addresses and permanent links'), and it enumerates the wide range of reference formats accepted. This clearly distinguishes it from siblings like get_passage or search_passages, which retrieve content rather than resolve references.

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 provides clear context for when to use the tool: whenever you have a reference in any common form and need the corresponding Scriptura address or permanent link. The sentence 'Each address names the tool call that reads it' implicitly guides the agent to resolve first and then use the named reading tool, though it does not explicitly name alternatives or exclusions.

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