Skip to main content
Glama
mcp-libraryofcongress

mcp-libraryofcongress

Read a record

get_item
Read-onlyIdempotent

Reads a Library of Congress record by its identifier from search results, returning basic details or opt-in citations, resources, and full metadata.

Instructions

Read one Library of Congress record by its identifier, as returned by search_items or search_newspapers. An identifier can carry slashes: a single newspaper issue is named by its paper, its date and its edition together. Sections are opt-in: 'basic' is the default and covers what a description needs. 'date' carries only the precision the record's own words support, and 'date_stated' repeats those words, which can be a span of years the record was filed at the opening of. Where the Library has established no date it files the record under a cataloguing code, which 'date_code' carries while 'date' and 'year' stay null. 'citations' returns the ready-made citations the Library publishes for the record. 'resources' lists the served copies, such as page images and downloadable files. 'full_metadata' returns every field the Library publishes for the record, which is large and rarely needed. A long description paginates: when 'next_offset' is not null, call again with 'offset' set to it.

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": {
      "identifier": "<identifier>"
    },
    "name": "get_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNoWhere to resume the description.
sectionsNoWhich parts to return. Each one beyond 'basic' adds to the size of the answer.
identifierYesRecord identifier, such as '2017645459' or 'sn83045462/1929-02-03/ed-1'.
max_description_charsNoCharacters of the description to return in one call.

Output Schema

NameRequiredDescriptionDefault
itemYes
notesYes
offsetYes
rightsYesWhat the Library says about reuse. Null when it says nothing, which is not permission.
part_ofYesCollections and divisions the record sits in.
languageYes
locationYes
subjectsYes
citationsNo
resourcesNo
repositoryYesWhere the original is held.
call_numberYes
descriptionYes
next_offsetYesPass as 'offset' to read the rest of the description. Null when it ends here.
full_metadataNo
notes_on_recordYesNotes the Library published about the record itself, less any whose words the description already carries. The Library assembles the description of some records out of these notes, and those records would otherwise return one text under two names.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed26 schema fields changedv3.1.0
    • removedOutput schema / properties / call_number / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / call_number / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / description / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / description / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / item / properties / creator / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / item / properties / creator / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / item / properties / date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / item / properties / date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / item / properties / date_code / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / item / properties / date_code / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / item / properties / date_stated / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / item / properties / date_stated / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / item / properties / format / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / item / properties / format / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / item / properties / title / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / item / properties / title / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / repository / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / repository / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / resources / items / properties / caption / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / resources / items / properties / caption / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / resources / items / properties / image_url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / resources / items / properties / image_url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / resources / items / properties / url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / resources / items / properties / url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / rights / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rights / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Changed7 schema fields changedv2.1.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedOutput schema / properties / item / properties / date / description
      Added value: +"The date the Library files the record under, carrying only the precision the record's own words support."
    • addedOutput schema / properties / item / properties / date_code
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The cataloguing code the Library files the record under in place of a date, such as 'uuuu' or '18??'. It stands for digits the Library has not established, so 'date' and 'year' are null beside it. Null wherever the filed value is a date."
      +}
    • addedOutput schema / properties / item / properties / date_stated
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "When the record was made or issued, in the record's own words, which can be a span of years or a phrase. Null when the record says nothing about it."
      +}
    • addedOutput schema / properties / item / properties / year / description
      Added value: +"The year of 'date', which a span of years makes the first of the span."
    • changedOutput schema / properties / item / required
      Previous value: -[
      -  "identifier",
      -  "title",
      -  "creator",
      -  "year",
      -  "date",
      -  "format",
      -  "source_url"
      -]New value: +[
      +  "identifier",
      +  "title",
      +  "creator",
      +  "year",
      +  "date",
      +  "date_code",
      +  "date_stated",
      +  "format",
      +  "source_url"
      +]
    • changedOutput schema / properties / notes_on_record / description
      Previous value: -"Notes the Library published about the record itself."New value: +"Notes the Library published about the record itself, less any whose words the description already carries. The Library assembles the description of some records out of these notes, and those records would otherwise return one text under two names."
  3. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (which already cover read-only, idempotent, open-world): it explains that identifiers may contain slashes, that 'date' only carries supported precision while 'date_code' appears with null date/year, and that 'next_offset' signals pagination. These are non-obvious data-shape behaviors an agent could not infer from the safety hints.

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?

Front-loaded with purpose and the identifier-format caveat, then the pagination rule last, which is the right ordering. The middle stretch enumerating sections is dense and slightly longer than needed, but every sentence carries information.

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

Completeness4/5

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

With an output schema present, return values need not be explained, and pagination plus section costs are covered. The remaining gap is the section-name mismatch with the enum, which leaves the agent uncertain about which section keys are actually valid.

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%, so the baseline is 3, and the description genuinely enriches 'sections' and the offset loop. However, it describes sections named 'date', 'date_stated' and 'date_code' that are not in the schema enum (which only allows basic, citations, resources, full_metadata), so an agent following the prose could pass an invalid value and get a validation error.

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?

States a specific verb and resource ('Read one Library of Congress record by its identifier') and immediately ties it to the sibling tools that produce identifiers ('as returned by search_items or search_newspapers'). An agent can tell it apart from the search_* siblings without opening a schema.

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?

Clear usage context: this is the follow-up call after a search returns an identifier, and 'full_metadata' is flagged as 'large and rarely needed', which steers section choice. It stops short of explicit when-not guidance or naming list_collections as an alternative path.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.