Skip to main content
Glama

Catholic Theological Library

lookup_reference

Read-onlyIdempotent

Look up an exact declared canonical reference. Ambiguous editions return choices, not a guess.

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": {
      "work_id": "<work_id>",
      "reference": "<reference>"
    },
    "name": "lookup_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
work_idYes
referenceYes
edition_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive), and the description adds one genuinely useful behavior beyond them: ambiguity yields a choice set rather than a guess. Missing are not-found behavior, error semantics, and what the resolved lookup actually produces (there is no output schema).

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?

Two tight sentences with the core action front-loaded and the ambiguity caveat immediately after; nothing is padded. It is efficient, though the brevity shades into under-specification rather than crispness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter, zero-coverage, no-output-schema tool, the definition is too thin: reference format, work_id meaning, edition selection, and return shape are all unaddressed. An agent would have to guess how to construct a valid call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description carries the full burden, yet it only obliquely gestures at the editions parameter ("ambiguous editions return choices"). It says nothing about what work_id identifies or what reference formats are accepted, leaving two required parameters semantically empty.

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?

"Look up an exact declared canonical reference" gives a concrete verb and resource, and the word "exact" implicitly contrasts with free-text search in the sibling set. It falls short of a 5 because "declared canonical reference" is domain jargon and the definition never says what a reference actually looks like or what is returned.

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?

Usage is only implied: the exactness requirement suggests use when you already hold a precise citation rather than a fuzzy query, and the ambiguity note hints at resolving editions. No sibling is named as an alternative and there is no explicit when-not guidance.

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