Skip to main content
Glama
link0-o

PerfLens MCP Server

by link0-o

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.

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
inspect_collection_capabilitiesA

Inspect perf, kernel policy, capabilities, and collection-mode availability without sampling or attaching to a process.

plan_automatic_collectionA

Create a short-lived PID-bound collection plan. This does not sample or attach.

execute_collection_planA

Execute one previously planned PID collection through the restricted collector broker. Plans are short-lived and single-use.

collect_project_workloadB

Run one explicitly authorized executable inside a project as the MCP user, bind its exact PID incarnation, and collect it through the restricted Collector broker.

analyze_collectionC

Analyze a stored record/sched/lock/off-CPU collection artifact.

analyze_profileC

Analyze an allowed folded, perf-script, or perf.data profile and store JSON.

list_hotspotsB

Return a bounded page of hotspots from a stored analysis.

get_hotspot_detailsA

Return one hotspot with bounded dominant paths, classifications, and limits.

get_call_pathsA

Return a bounded page of dominant call paths, optionally containing a symbol.

classify_hotspotsC

Apply generic candidate-only rules and return a bounded classification page.

build_diagnosis_bundleB

Build and store the full evidence-constrained diagnosis artifact.

read_artifact_pageA

Read at most 64 KiB from a stored JSON artifact.

resolve_sourceC

Resolve a verified module offset using an allowed ELF/debug file.

get_source_contextB

Read bounded source lines within one configured allowed workspace.

analyze_benchmarkC

Normalize a supported benchmark JSON file and store the typed artifact.

compare_profilesB

Compare two stored analyses and store bounded profile-difference evidence.

compare_benchmarksB

Compare repeated benchmark values with condition and impact checks.

collect_profileA

Run bounded perf record/stat/sched/lock/off-CPU collection only after explicit server and per-call authorization.

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/link0-o/PerfLens'

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