Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAT_BINNoPath to ParseHeapDump.sh (macOS/Linux) or .bat (Windows). Required for deep mode forensics.
JAVA_HOMENoJDK 17+ installation path — $JAVA_HOME/bin is searched first for jcmd, jmap, jstat, jfr. Also used to launch MAT with the correct Java version.
ASYNC_PROFILER_BINNoPath to async-profiler binary — tie-breaker evidence, deep mode works without it.
HEAP_SEANCE_ARTIFACT_DIRNoWhere .jfr, .hprof, and reports are saved (default: system temp dir).

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
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
java_list_processesD–
java_gc_snapshotD–
java_class_histogramD–
java_jfr_startD–
java_jfr_summaryD–
java_heap_dumpD–
java_mat_suspectsD–
java_async_alloc_profileD–

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

D1.9/5.0

Scored across 8 tools

Disambiguation4/5

Tools cover distinct diagnostic actions—process listing, heap dump, class histogram, MAT suspects, JFR start/summary, GC snapshot, allocation profile—so an agent can usually pick based on the futored operation. Minor proximity exists between heap_dump and class_histogram, but names plus conceptual roles keep them separate.

Naming Consistency3/5

All names share the java_ prefix and snake_case, which helps. However, the verb placement is inconsistent: list_processes and jfr_start use a verb, while mat_suspects, class_histogram, and gc_snapshot are pure noun phrases without an obvious action word.

Tool Count5/5

Eight tools is well within the ideal range for a focused Java diagnostics server. Each tool covers a distinct diagnostic technique (JFR, heap analysis, allocation profiling, GC snapshots), and none feel redundant or extraneous.

Completeness4/5

The server covers the core heap and JFR workflows: process discovery, heap dumps, class histograms, MAT suspect analysis, and JFR capture/summarization. The main gap is the lack of a JFR stop or thread dump tool, but agents can still achieve the primary diagnosis goals.

Maintenance

ActivityInactive
ResponsivenessNo issues