Skip to main content
Glama
DigiLIB

DigiLIB

by cars3

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoBind port for `streamable-http`. `PORT` wins over `DIGILIB_PORT`, so hosts that inject it just work.8000
DIGILIB_HOSTNoBind address, used only with `streamable-http`.0.0.0.0
DIGILIB_PORTNoBind port for `streamable-http`. Overridden by `PORT` if that is set.8000
DIGILIB_TRANSPORTNoTransport mode: `stdio` (desktop/CLI clients) or `streamable-http`.stdio
DIGILIB_ALLOWED_HOSTSNoComma-separated `Host` allow-list for the HTTP gateway, e.g. `example.com,*.example.com`. When unset, the SDK's Host-header check is disabled so the server works behind a reverse proxy. `streamable-http` only.
DIGILIB_GATEWAY_TOKENNoShared secret for the HTTP gateway. When set, every request must carry `Authorization: Bearer <token>`; otherwise the server runs unauthenticated. Set this when hosting publicly.
DIGILIB_OPENALEX_EMAILNoOptional polite-pool contact email for OpenAlex (better rate limits).
DIGILIB_GOOGLE_BOOKS_API_KEYNoOptional Google Books API key for reliable quota.

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_papersA

Search academic literature across OpenAlex, arXiv, Semantic Scholar, and Crossref.

Args: keywords: key terms, e.g. ["transformer attention"]. Craft 2-5 focused queries (expand acronyms, add synonyms, use technical phrasing) for the best coverage. year_from: restrict to papers from this year onwards. Applied by OpenAlex and Crossref only. year_to: restrict to papers up to this year. Applied by OpenAlex and Crossref only. size: results per source per keyword (default 10, max 40).

Returns: A numbered plain-text list of deduplicated results with title, authors, year, source, link, and abstract per entry.

search_booksA

Search books across Open Library and Google Books.

Args: keywords: key terms; broader, book-friendly phrasing works best. size: results per source per keyword (default 10).

Returns: A numbered plain-text list of deduplicated book results with title, authors, year, source, link, and description per entry.

export_research_toolA

Build the LaTeX source for a research export (literature review + conversation summary + citations in APA/Chicago/MLA) and return it.

This tool does NOT render a PDF - it returns the raw LaTeX document source. You, the assistant calling this tool, are responsible for rendering it yourself:

  1. Write the returned LaTeX to a .tex file (e.g. digilib_export.tex) in the user's project or Downloads folder.

  2. If pdflatex is available, compile it to PDF with pdflatex -interaction=nonstopmode digilib_export.tex and give the user the path to the resulting PDF.

  3. If pdflatex is NOT available, just save the .tex file and tell the user where it is and how to compile it (e.g. install TeX, or use an online LaTeX compiler such as Overleaf). Always save the .tex file regardless, so the user keeps the source.

Args: conversation_summary: plain-text summary of the conversation, written by the calling LLM. literature_recommended: list of plain-text lines for the Literature Review section (one bullet per line). liked_articles: citation entries, each a dict with title/authors/year/link keys. citation_formats: subset of ["APA", "Chicago", "MLA"].

Returns: The complete LaTeX document source as a string.

Prompts

Interactive templates invoked by user choice

NameDescription
digilib_researcherReturn the DigiLIB researcher system prompt (persona/instructions).

Resources

Contextual data attached and managed by the client

NameDescription
researcher_prompt_resourceRaw contents of the DigiLIB researcher system prompt.

TDQS

A4.1/5.0

Scored across 3 tools

Disambiguation5/5

search_papers and search_books target clearly distinct resource types, and export_research_tool is a separate export action. No two tools overlap in purpose.

Naming Consistency4/5

All tools use snake_case with a leading verb, giving a predictable pattern. export_research_tool adds a slightly redundant '_tool' suffix, a minor deviation from the parallel search_* names.

Tool Count5/5

Three tools map directly to the server's focused workflow: search papers, search books, and export research. Each tool earns its place and the set is tight rather than thin.

Completeness4/5

The core workflow from literature and book search to LaTeX export is covered. Minor gaps exist around dedicated citation lookup, BibTeX export, or full-text retrieval, but search results supply metadata and export handles the output need.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues