samply summarize profile
samply_summarize_profileLoads a samply or Firefox Profiler JSON file and returns a compact, agent-friendly performance summary; uses the session's current profile when no path is provided.
Instructions
Load a samply / Firefox Profiler JSON file and return a compact, agent-friendly performance summary. If profilePath is omitted, the latest profile from this MCP session is used.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "samply_summarize_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxMarkers | No | Maximum number of marker categories per thread. | |
| maxThreads | No | Maximum number of threads to include. | |
| profilePath | No | Path to a profile JSON or JSON.GZ file. | |
| maxFunctions | No | Maximum number of hot functions per section. | |
| includeEmptyThreads | No | Include threads with zero samples. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oscpu | Yes | ||
| product | Yes | ||
| threads | Yes | ||
| intervalMs | Yes | ||
| profilePath | Yes | ||
| sidecarPath | Yes | ||
| threadCount | Yes | ||
| processCount | Yes | ||
| totalSamples | Yes | ||
| presymbolicated | Yes | ||
| sampleTimeRangeMs | Yes | ||
| hottestSelfFunctionsOverall | Yes | ||
| hottestStackFunctionsOverall | Yes |