Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ECON_R_MCP_CONFIGNoPath to configuration TOML file.
ECON_R_MCP_ALLOWED_ROOTSNoAbsolute path(s) to allowed workspace roots, comma-separated if multiple.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
health_checkA

Check local R, Rscript, Quarto, and R package availability.

init_projectB

Create a reproducible project folder layout inside an allowed workspace root.

install_r_packagesA

Install only allowlisted R packages and return structured install results.

run_r_scriptB

Run a project R script headlessly, saving logs, session info, and result JSON.

render_quartoB

Render a project Quarto report to HTML, PDF, or DOCX using the quarto executable.

inspect_datasetB

Inspect CSV, TSV, RDS, Parquet, or Stata data and return machine-readable summaries.

run_regression_fixestC

Run a fixest regression and save coefficient tables, logs, model object, and metadata.

run_ivC

Run an IV regression with first-stage output and weak-instrument diagnostics where available.

run_didC

Run DiD workflows including TWFE event studies or Callaway-Sant'Anna estimates.

run_rdrobustB

Run rdrobust, saving bandwidths, robust estimates, RD plot, and density check if available.

run_panel_diagnosticsB

Check panel balance, duplicate unit-time keys, missing periods, and treatment timing.

run_time_series_diagnosticsB

Run plots, ACF/PACF, unit-root checks, and structural-break diagnostics where available.

create_modelsummaryC

Create publication-style model tables from saved model objects or result JSON files.

read_artifactB

Read a saved table, log, result JSON, Markdown, HTML, or TeX artifact without executing code.

list_artifactsC

List run artifacts under a project with pagination.

reproduce_runC

Rerun a previous saved input script and compare result JSON hashes.

lookup_econometrics_guidanceB

Return curated econometric guidance by method tag or local corpus search.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/emmanueltsallis/econ-r-mcp'

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