Skip to main content
Glama
Library of Congress MCP Server

Library of Congress MCP Server

by wmo4buva

loc_get_collection

Retrieve detailed information about a specific Library of Congress collection, then browse or search its contents with pagination controls to explore items by page.

Instructions

Get detailed information about a specific Library of Congress collection and browse its contents

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": {
      "collectionName": "<collectionName>"
    },
    "name": "loc_get_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for pagination (default 1)
countNoNumber of items per page (default 25)
queryNoOptional search query within the collection
collectionNameYesName/ID of the collection (e.g., "american-folklife-center", "prints-and-photographs")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It signals a read-only retrieval with a browsing component, but says nothing about rate limits, whether the collection lookup fails on unknown names, or that the item listing is paged — the pagination behavior is only visible in the 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?

A single tight sentence with the primary retrieval action front-loaded and the browsing capability second. No filler or duplicated schema content, though it could carry one more sentence of routing guidance at little cost.

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

Completeness3/5

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

A four-parameter read tool with no output schema and no annotations needs more than one sentence to fully orient an agent. The description covers the what but omits the return shape (collection metadata vs. paged item list) and sibling routing, leaving meaningful gaps.

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 page, count, query and collectionName are all documented inline with defaults and examples. The description adds only the broad notion of "browsing contents", without explaining how query interacts with collectionName or how items relate to the collection record. Baseline 3 applies.

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?

"Get detailed information about a specific Library of Congress collection and browse its contents" names a concrete verb (get), a specific resource (a single collection), and a secondary capability (browsing items). It is distinguishable from the plural listing tool loc_get_collections by the word "specific", but the description never explicitly contrasts with siblings.

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: an agent can infer this is for when it already has a collectionName and wants details or items. There is no explicit statement of when-not to use it, nor a pointer to loc_get_collections for discovery or loc_search for cross-collection querying.

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