Skip to main content
Glama
Library of Congress MCP Server

Library of Congress MCP Server

by wmo4buva

loc_get_collections

Retrieve a paginated list of all digital collections available at the Library of Congress for browsing and discovery.

Instructions

Get a list of all available digital collections at the Library of Congress

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "loc_get_collections"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for pagination (default 1)
countNoNumber of collections per page (default 25)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/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 and does little with it. 'All available' implies a read-only enumeration, but nothing is said about whether results are paginated (the schema reveals page/count, contradicting a naive reading of 'all'), about rate limits, or about what a collection record contains.

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 front-loaded sentence with no filler or redundancy. It is efficiently worded, though the brevity edges toward under-specification rather than true crispness.

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?

For a two-parameter, zero-required discovery tool with full schema coverage and no output schema, the definition is minimally sufficient. It still omits what a returned collection looks like and how pagination limits the 'all available' promise, which an agent needs to plan a full enumeration.

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 both parameters (page, count) carry their own descriptions and defaults, so the schema does the work. The description adds no meaning beyond it, which is the expected baseline here.

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 (Get a list) and resource (digital collections at the Library of Congress), so the agent immediately knows this is a browse/enumerate tool. It does not differentiate itself from the sibling loc_get_collection (singular) or loc_search, leaving the singular-vs-list distinction to be inferred from the names alone.

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?

'All available digital collections' implies a discovery/browse use case, but there is no explicit statement of when to use this instead of loc_search or loc_get_collection. No prerequisites, no exclusions, no note on how to drill into a collection after listing.

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