Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost the locally-run Node.js server listens on (defaults to 127.0.0.1; set HOST to change it).127.0.0.1
PORTNoPort the locally-run Node.js server listens on (defaults to 8787; set PORT to change it).8787

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
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchA

Search sections of textbooks and an R package on research methods and data analysis: statistics and hypothesis testing, regression and generalized linear models, causal inference (difference-in-differences, synthetic control, regression discontinuity, instrumental variables, matching, double machine learning), econometrics, experimental design, survey methods, marketing research, credit scoring, machine learning, and AI. Returns matching sections with their ids, a link, a snippet, the code languages they contain, and a citation.

fetchA

Read one section of the library by its section id. Returns the section in Markdown with its code, the section URL, and the citation of the work it comes from. Long sections come in parts; the text names the id of the next part.

choose_methodA

Recommend statistical, econometric, causal inference, or machine learning methods for a research question or data analysis task: which statistical test or model fits the data, how to estimate a causal or treatment effect, how to analyze an A/B test or experiment, how many observations are needed (power and sample size), how to handle panel, time-series, survey, text, or survival data, and how to build predictive or credit-scoring models. Describe the question, the data (cross-section, panel, time series, experiment), how the treatment or exposure was assigned, and the outcome. Returns candidate methods with when each applies, key assumptions, R and Python packages, and the library sections that teach them.

get_codeA

Get runnable code from the library for a specific statistical, econometric, causal inference, or machine learning task, in R, Python, or Julia. Suited to requests for code that carries out a named estimator, test, or modeling step; it returns code with brief context, not an explanation of the method. Results can be restricted to one language or one work. Returns code blocks with the section they come from, the packages they use, a link, and a citation.

citeA

Format references for works in the library in APA, Chicago, MLA, Harvard, BibTeX, or RIS. Pass the ids of the sections you used to get a deduplicated reference list plus the section links, or pass source ids to cite whole works. With no ids, returns a reference for every work in the library.

list_sourcesA

List the works in the library (textbooks, an R package, and research articles) with their topics, code languages, section counts, licenses, links, and how to cite each one. Suited to questions about what the library covers or which work to consult. Takes no parameters and returns one entry per work.

Prompts

Interactive templates invoked by user choice

NameDescription
plan_analysisTurn a research question into a design, assumptions to check, runnable code, and a reference list.
write_methods_sectionDraft the methods section of a paper, grounded in the library and with references.
explain_methodExplain a method with its assumptions, diagnostics, pitfalls, and a worked example.

Resources

Contextual data attached and managed by the client

NameDescription
sourcesEvery book and package in the library, with links and citations.
toc-data_analysisChapter and section outline of A Guide on Data Analysis, with section ids.
toc-causalverseChapter and section outline of causalverse: The All-in-One Causal Inference Toolkit, with section ids.
toc-credit_scoreChapter and section outline of Credit Scoring: Theory, Methods, and Practice, with section ids.
toc-marketing_researchChapter and section outline of Marketing Research: A Technical and Academic Treatment, with section ids.
toc-ai_in_actionChapter and section outline of AI in Action: A Reference for Artificial Intelligence, with section ids.
toc-advanced_data_analysisChapter and section outline of Advanced Data Analysis, with section ids.
toc-tidy_finance_vnChapter and section outline of Applying Tidy Finance with Python to Vietnam, with section ids.
toc-tidy_finance_vn_viChapter and section outline of Tài Chính Ứng Dụng với Python, with section ids.
toc-mlpyChapter and section outline of Machine Learning in Python, with section ids.
toc-publicationsChapter and section outline of Research Articles and Publications, with section ids.

TDQS

A4.2/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct role: list_sources enumerates works, search finds sections, fetch reads a section, choose_method recommends methods, get_code returns runnable code, and cite formats references. The potential overlap between search, choose_method, and get_code is well separated by description (finding vs. recommending vs. code retrieval). No two tools appear to do the same thing.

Naming Consistency4/5

All names are snake_case and verb-led, which is predictable and readable. However, some follow a strict verb_noun pattern (list_sources, choose_method, get_code) while others are bare verbs (search, fetch, cite), a minor deviation from the stated convention.

Tool Count5/5

Six tools cleanly cover the library's consultation workflow—discovery, retrieval, method recommendation, code access, and citation. Each tool earns its place with no redundancy or padding.

Completeness5/5

As a read-only reference library, the surface covers discovery (list_sources, search), retrieval (fetch), guidance (choose_method), code (get_code), and citation (cite) with no dead ends. The lifecycle for consulting a research methods library is fully covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues