Skip to main content
Glama

Lookup By Identifier

lookup_by_identifier
Read-onlyIdempotent

Look up HathiTrust's digitized-book holdings by a standard identifier (OCLC, LCCN, ISSN, ISBN, HathiTrust item id, or catalog record number). Returns the bibliographic record(s) plus every scanned copy, each flagged full-view (readable online) or limited (search-only) based on its rights code. Keyless, covers 18M+ volumes. Requires a free Pipeworx account (https://pipeworx.io/signup); anonymous and X-API-Key-only calls are refused.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "9780030110405",
      "id_type": "isbn"
    },
    "name": "lookup_by_identifier"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe identifier value, e.g. "424023" for an OCLC number, "9780030110405" for an ISBN.
id_typeYesIdentifier type. One of: oclc, lccn, issn, isbn, htid, recordnumber.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": "9780030110405",
      +    "id_type": "isbn"
      +  },
      +  {
      +    "id": "424023",
      +    "id_type": "oclc"
      +  }
      +]
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value beyond that: it discloses the return shape (bibliographic record plus every scanned copy with full-view/limited rights flags), the 18M+ coverage, and the hard auth requirement that anonymous and X-API-Key-only calls are refused. Missing only rate limits or pagination details.

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 sentences, front-loaded with the core action, then return semantics, then the auth constraint. No filler; each sentence carries distinct information.

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?

With no output schema, the description steps in to describe the return payload (records plus per-copy rights flags), and it covers the auth gate and dataset scope. An agent has everything needed to call it and interpret results.

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

Parameters3/5

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

Schema coverage is 100% and the enum already lists the six identifier types, so the description's enumeration is largely redundant. It adds only the framing that these are 'standard identifiers' and the example values, which the schema also carries. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Look up HathiTrust's digitized-book holdings') and enumerates the accepted identifier types, so the agent knows exactly what the tool does. It does not explicitly contrast itself with siblings like get_record or check_full_view, which keeps it from a 5.

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 implied by the identifier-based framing, and the auth prerequisite is stated, but there is no explicit when-to-use/when-not guidance or named alternative for other lookup paths. Adequate but leaves routing to inference.

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.