Skip to main content
Glama
smeet666

mcp-libraryofcongress

List the digital collections

list_collections
Read-onlyIdempotent

Discover the Library of Congress digital collections before searching. Each collection includes a filter for targeted queries and an item count to gauge its size.

Instructions

List the digital collections of the Library of Congress: bodies of material a curator chose, described and published together. Use it to see what is there before searching, since a collection names a corpus that a query would have to guess at. 'collection_filter' on each row is the wording search_items takes as its 'collection' argument. 'item_count' is how many records the collection gathers, which is the size of the corpus rather than the number of rows here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoWhich page of collections, from 1.
limitNoCollections to return.
max_description_charsNoBudget for one collection's description.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
notesYes
totalYesCollections the Library publishes, not the number returned.
collectionsYes
Behavior4/5

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

Annotations already cover safety (read-only, idempotent, non-destructive). The description adds useful context beyond that by explaining the meaning of collections, the semantics of 'item_count' (corpus size vs. row count), and the relationship to search_items. This goes beyond the annotation baseline.

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, each earning its place: definition, usage guidance, and output clarification. No fluff, front-loaded with the core purpose.

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?

Given the output schema exists and annotations cover safety, the description provides the necessary conceptual and usage context. It explains what a collection is, when to call this tool, and how to interpret the result—making it complete for this simple list tool.

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 provides 100% coverage with clear descriptions for all three parameters. The description does not add parameter-specific detail, but it does clarify output fields that relate to usage. This meets the baseline for high schema coverage, though it neither adds nor contradicts.

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 clearly states the tool lists collections, defines what a collection is, and distinguishes it from sibling search tools. It positions this as the 'before searching' step, differentiating it from search_items and get_item.

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?

Explicitly instructs to use the tool before searching, and explains how the result relates to search_items via the 'collection_filter' field. This gives clear context and implies the alternative (search_items) without being verbose.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/smeet666/mcp-libraryofcongress'

If you have feedback or need assistance with the MCP directory API, please join our Discord server