Skip to main content
Glama

libofcongress-mcp-server

Get LOC Item

libofcongress_get_item
Read-only

Retrieve the full metadata record for a specific LOC digital item. Returns contributors, subjects, summary, languages, locations, rights information, physical description, call number, original and online formats, access restrictions, former catalog IDs, notes, related items, and links to digital resources (TIFF, JPEG, PDF) for items with digital surrogates. Use after libofcongress_search on a result whose is_item is true. Pass the result id verbatim — it may be a simple ID or a slash-separated newspaper path; do not prepend the loc.gov URL. Non-item results (is_item: false) — collections, exhibits, guides, newspaper pages — have no item record and cannot be retrieved here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idYesLOC item id from a libofcongress_search result's "id" field (where is_item is true). A simple ID ("2009632251", "loc.pnp.ppmsc.02404") or a slash-separated path for newspaper pages ("sn95047246/1935-09-05/ed-1"). Pass the id verbatim; do not prepend the loc.gov URL or an "item/" prefix.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoCanonical LOC item URL.
dateNoPublication or creation date.
errorNoPresent when the call failed. Absent on success.
notesNoDescriptive notes and annotations from catalogers.
titleNoItem title.
item_idNoLOC item ID as resolved by the service (matches the input item_id).
summaryNoCataloger's abstract of the item's subject and historical context.
languagesNoLanguages of the item (e.g., "english").
locationsNoPlaces the item depicts or originates from (e.g., "united states").
former_idsNoSuperseded catalog identifiers or URLs this item was previously known by.
call_numberNoLOC call number — the shelf location for requesting the physical original.
contributorsNoNames of contributors, creators, or photographers.
related_itemsNoIDs or URLs of related LOC items for follow-up retrieval.
online_formatsNoFormats the digitized surrogate is available in (e.g., "image").
resource_linksNoURLs to downloadable digital files (TIFF, JPEG, PDF). Empty when no digital surrogate exists.
original_formatsNoMaterial types of the original (e.g., "photo, print, drawing").
subject_headingsNoLCSH subject headings assigned to this item.
access_restrictedNoTrue when LOC restricts access to the original. Absent when upstream omits it.
rights_informationNoRights and reproduction statement for this item.
physical_descriptionNoPhysical or technical description of the original item.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish readOnlyHint and openWorldHint, and the description adds valuable behavioral context: the exact id forms accepted, the instruction not to prepend the loc.gov URL, the detailed set of returned fields, and the conditional presence of digital-resource links. It stops short of describing not-found or error behavior, but that is a minor gap for a read-only retrieval tool.

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 purpose and then gives structured usage details. The enumerated return fields add length but provide useful expectations about what the full metadata record contains. It is somewhat dense, but every part earns its place with no 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?

For a single-parameter retrieval tool with a rich output schema and annotations covering read-only behavior, the description is complete: it states when to call it, what input to pass, what the output includes, and which results are out of scope. Nothing critical is missing for an agent to invoke it correctly.

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 description coverage is 100%: the input schema already explains the id sources, simple-ID versus newspaper-path forms, verbatim passing, and the no-URL-prefix rule. The description reinforces the same guidance but adds no new parameter meaning beyond the schema, so the baseline of 3 applies.

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 opens with a specific verb and resource: 'Retrieve the full metadata record for a specific LOC digital item.' It distinguishes itself from search by requiring a prior libofcongress_search result and from newspaper-page retrieval by explicitly stating that non-item results such as newspaper pages have no item record and cannot be retrieved here.

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?

It gives an explicit workflow: 'Use after libofcongress_search on a result whose is_item is true.' It also gives a clear when-not condition, enumerating collections, exhibits, guides, and newspaper pages as invalid. The alternative for newspaper pages is inferable from the sibling list, and the exclusion is stated directly.

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.