Skip to main content
Glama

profiler-stream

Collects continuous performance data from Unity applications, generating JSONL summaries with aggregated statistics and automatic screenshots on threshold violations.

Instructions

Multi-frame continuous Profiler sampling (snapshot + GC + hotpath + call counts). Writes JSONL summary file and outputs aggregated statistics (with P95/P99 percentiles) on completion. Supports fixed-frame and continuous modes. Auto-loads threshold fences; takes screenshot on violation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
framesNoNumber of frames to sample. 0 or negative = continuous mode (returns immediately, samples in background until stop signal). Default: 00
frameIntervalNoFrame interval (Unity frames to skip between samples). Default: 22
gcTopNNoTop N GC allocations per frame. Default: 2020
hotpathTopNNoTop N hotpath functions per frame. Default: 2020
hierarchyMaxDepthNoMaximum call hierarchy depth. Default: 88

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/butterlatte-zhang/unity-ai-bridge'

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