Skip to main content
Glama
Inelastic Dark Matter MCP Server

Inelastic Dark Matter MCP Server

by nesar

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

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

Bridges particle physics (WIMP mass, mass splitting, cross section) with cosmological observables. Motivated by the LZ 248 keV event (September 2026) and the inelastic higgsino interpretation. Recipes: list_idm_skills then load_idm_skill (start with idm-tour); describe_tools gives the physics references and observational inputs.

Units and conventions: WIMP mass m_chi in GeV, mass splitting delta in keV (0 = elastic), per-nucleon cross section sigma_n in cm^2 and annihilation cross section sigma_v in cm^3/s (0 = automatic: the higgsino Z-exchange / higgsino annihilation values), recoil energies in keV on xenon, rates dR/dE_R in events/keV/kg/day, relic density as Omega h^2 vs Planck 0.1200 +- 0.0012. Tools return a JSON string; scan_mass_splitting writes output/scan_idm.npz (read by plot_constraint_summary) and the plot tools write PNGs under output/. The scan, the recoil spectrum and the annual modulation can run on ALCF Polaris / NERSC Perlmutter: see the hpc-dispatch-handoff skill.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
list_idm_skillsA

List this server's skills: named multi-tool recipes.

A skill is procedural know-how - which tools to chain, in which order,
with what parameters, and how to sanity-check and report. When a task
matches one, load it with the load-skill tool and follow it.
load_idm_skillA

Load the full instructions of one of this server's skills and follow them.

describe_toolsA

Describe this server's capabilities, the physics, and the observational data it uses. Call this first.

predict_recoilA

Predict the differential recoil spectrum for (in)elastic DM on xenon.

Parameters:
    m_chi_GeV: WIMP mass [GeV] (default: 1100 for thermal higgsino)
    delta_keV: Mass splitting [keV] (default: 350, set 0 for elastic)
    sigma_n_cm2: Per-nucleon cross section [cm^2] (0 = auto for higgsino)
    is_higgsino: If true, use Z-exchange couplings and auto sigma_n
compute_relic_densityB

Compute thermal relic density and compare to Planck measurement.

Parameters:
    m_chi_GeV: DM mass [GeV]
    is_higgsino: If true, use higgsino annihilation channels
    sigma_v_cm3_s: Annihilation cross section [cm^3/s] (0 = auto)
check_all_constraintsB

Run all constraints simultaneously: relic density + LZ + Fermi-LAT + Planck CMB.

Parameters:
    m_chi_GeV: DM mass [GeV]
    delta_keV: Mass splitting [keV]
    is_higgsino: If true, use higgsino model
scan_mass_splittingB

Scan the (m_chi, delta) parameter plane checking all constraints.

Parameters:
    m_chi_min/max: WIMP mass range [GeV]
    delta_min/max: Mass splitting range [keV]
    n_points: Grid points per axis (n_points x n_points grid)
predict_annual_modulationC

Predict annual modulation signal for inelastic DM at a given recoil energy.

Parameters:
    m_chi_GeV: WIMP mass [GeV]
    delta_keV: Mass splitting [keV]
    E_R_keV: Recoil energy [keV] (default: 248 for LZ event)
plot_recoil_spectrumC

Generate a recoil spectrum plot comparing inelastic vs elastic. Returns PNG path.

Parameters:
    m_chi_GeV: WIMP mass [GeV]
    delta_keV: Mass splitting [keV]
plot_constraint_summaryA

Plot the combined constraint summary from a parameter space scan. Returns PNG path.

Call scan_mass_splitting first to generate the scan data.
auth_statusA

Report the facility sign-in state THIS server sees for its own HPC dispatch (ALCF and NERSC).

Call this before set_dispatch to a remote site, or when one of this
server's remote calls fails with an auth error. It says nothing about
the facility servers' own tokens - ask those servers directly. Sign-in
happens outside this server (hep-genesis auth CLIs or the desktop app's
HPC panel); tokens are re-read on every call.
export_dispatch_packA

Hand THIS server's compute kernels to the client for HPC runs.

Returns the ``tools/`` package as in-band text files plus a manifest of
kernel entry points (dotted function path, args shape, node-side
pip_deps, walltime hint). The CLIENT - which holds the facility tokens,
Globus endpoint, project and workdir - stages and submits the kernels
with ITS OWN credentials (e.g. the hep-genesis facility servers'
run_pack_kernel tool). Nothing credential-shaped or project-shaped is
needed on, or returned by, this server.

Clients that recognise the ``dispatch_pack`` key should save the files
locally and NOT echo their contents into the conversation.
get_dispatchA

Report where THIS server's heavy tools currently execute.

set_dispatchA

Set where THIS server's heavy tools execute: 'local' (this machine), 'polaris' (ALCF) or 'perlmutter' (NERSC).

Affects only this server's heavy (dispatchable) tools - never other
servers' dispatch state. Remote sites run each heavy call as one facility
job (staging + queue + walltime: minutes, not seconds) and need facility
sign-in - check with auth_status first. Light tools (listing, plotting,
small reads) always run locally. Optional artifact_dir sets where
produced files are fetched back to. Returns the active configuration.

Prompts

Interactive templates invoked by user choice

NameDescription
hpc-dispatch-handoffRun this server's kernels (idm.kernels.scan_mass_splitting for dense (m_chi, delta) scans, idm.kernels.recoil_spectrum, idm.kernels.annual_modulation, plus relic_density and check_constraints) on ALCF Polaris or NERSC Perlmutter through the hep-genesis IRI engine - client-side pack export (hosted) or server-side set_dispatch (own machine)
idm-tourFive-minute all-local tour of the inelastic dark matter server - describe it, check the 1.1 TeV / 350 keV inelastic higgsino against relic density, LZ, Fermi-LAT and CMB, show its recoil spectrum and annual modulation, scan the (m_chi, delta) plane and plot the combined constraints
lz-event-inelastic-higgsinoTest whether an inelastic WIMP (default the thermal higgsino) explains the LZ 248 keV nuclear-recoil event - relic density vs Planck, expected LZ events vs mass splitting, Fermi-LAT and CMB, the allowed (m_chi, delta) window, recoil spectrum and annual-modulation signature, with the caveats to report

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 14 tools

Disambiguation4/5

Physics tools each target a distinct computation (recoil spectrum, relic density, constraint check, parameter scan, modulation), and the dispatch quartet is clearly separated from physics. Minor overlap exists between check_all_constraints and scan_mass_splitting (single point vs. grid) and between predict_recoil and plot_recoil_spectrum, but descriptions and dependencies resolve these. list_idm_skills/load_idm_skill vs. describe_tools are close cousins in the discovery role but still distinguishable.

Naming Consistency4/5

Nearly all names follow a clean verb_noun snake_case convention (predict_recoil, compute_relic_density, scan_mass_splitting, get_dispatch, set_dispatch). The only deviation is auth_status, a bare noun phrase, which breaks the verb-first pattern. get/set_dispatch pairs nicely and namespace prefixes (idm_) appear only on the skill tools, which is slightly uneven but readable.

Tool Count5/5

14 tools sit comfortably in the well-scoped range, with 10 physics/compute tools covering the domain and 4 justified infrastructure tools for HPC dispatch state and kernel export. Each tool has a distinct job rather than being a thin wrapper variant.

Completeness4/5

The surface covers the core lifecycle: predict spectra, compute relic density, check and scan constraints, plot results, plus HPC offload and skill-based recipes. Minor gaps remain — no way to retrieve numeric constraint/likelihood values as structured data (only plots), and no explicit model/parameter listing or export of scan results beyond PNGs.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues