Skip to main content
Glama

Search Library of Congress

media.loc.search
Read-onlyIdempotent

Search 415K+ digitized historical items from the Library of Congress, including photos, manuscripts, maps, newspapers, films, and rare books. Filter by online format or collection slug to find public domain materials.

Instructions

Search 415K+ digitized historical items at LOC (photos, manuscripts, maps, newspapers, films, rare books). Filter by online format (image/audio/video/text/web archive) or collection slug. Public domain by US statute (17 USC §105)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesFree-text search across LOC's 415K+ digitized items (e.g. "civil war", "suffrage", "lincoln").
formatNoOptional filter by online format — image, audio, film/video, online text, or web archive.
collectionNoOptional collection slug to scope the search (e.g. "rosa-parks-papers").
pageNoPage number for pagination (1-based).
limitNoResults per page (default 20, max 50).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
Behavior4/5

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

Annotations already indicate read-only and idempotent behavior. The description adds useful context about public domain status (17 USC §105) and filtering options, but does not cover rate limits or response structure.

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 concise, front-loading the main purpose. It is clear but could be slightly more structured. No wasted sentences.

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?

Covers main functionality and filters. The output schema exists so return values are documented elsewhere. Missing explicit mention of pagination or limit defaults, but schema covers these.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with good descriptions. The description adds value by listing the filter options (format, collection) in a more readable way, reinforcing the enum values for format and clarifying the collection parameter.

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 searches digitized historical items at the Library of Congress, lists content types (photos, manuscripts, etc.), and mentions filters. It distinguishes itself from siblings like media.loc.collections and media.loc.item by focusing on search.

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?

No explicit guidance on when to use this tool versus alternatives like media.loc.collections or media.loc.item. The description implies use for searching, but lacks when-not-to-use or alternative pointers.

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/whiteknightonhorse/APIbase'

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