Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOC_MIN_REQUEST_INTERVALNoOverride the minimum request interval in seconds (default 4). Only change with reason.4

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_locA

Search the Library of Congress full text.

Covers every collection at once: newspapers 1736-1963 in more than a dozen languages, plus digitised books and manuscripts.

Bare words are ANDed and "quoted phrases" match exactly. There is no boolean OR and no NOT - those words, a leading minus, parentheses and | are all silently stripped - so each variant of a term needs its own search.

Results resolve to individual pages. Each carries a reference that is both the citation URL and the argument for snippets_loc and get_loc_text.

snippets_locA

Show a query in context on one page.

The cheap way to judge a search result without downloading it: returns the matched terms in {braces} with the surrounding sentences, and a citation URL. Works for any page-level reference, but not for a whole item.

get_loc_textA

Download a page's OCR text, returning the path to the cached file.

Use when snippets are not enough and the whole page has to be read or grepped. Hyphenation broken across line ends is rejoined, so the cached text greps the way the search index matched.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: search_loc for searching, snippets_loc for showing context, and get_loc_text for full text. No overlap in functionality.

Naming Consistency4/5

Tool names follow a consistent snake_case pattern with '_loc' suffix, though 'get_loc_text' deviates slightly from the verb_noun convention of the others. Still clear and predictable.

Tool Count5/5

Three tools is well-scoped for searching and retrieving text from the Library of Congress. Each tool serves a necessary step in the workflow without redundancy.

Completeness5/5

The tool set covers the full search-to-retrieval pipeline: search, context snippet, and full text download. No obvious gaps for the stated domain.

Maintenance

ActivitySlowing
ResponsivenessNo issues