Skip to main content
Glama
lovelyXiaoQi

mcdk-mcp-tracy

by lovelyXiaoQi

tracy_native_capture

Capture function timings from a native Tracy server to analyze performance across main and server threads. Use after verifying reachability. Returns a capture ID for cost analysis and diffing.

Instructions

Capture function timings from the game's NATIVE Tracy server (TCP 8086).

Use this once tracy_status reports native_tracy.reachable=true and bin_present=true. The client embeds a native Tracy server (the one the tracy-profiler GUI connects to) even on builds where the Python profiler binding is missing. This drives the bundled tracy-capture / tracy-csvexport CLIs; no module whitelist is needed (native Tracy traces every zone, across the client's MAIN_THREAD and MC_SERVER threads).

Drive the gameplay you want to measure DURING the window. The returned capture_id plugs into tracy_get_function_costs / tracy_diff_captures exactly like an in-game capture.

Args: seconds: capture window, 0 < s <= 60 (default 5). name_contains: case-insensitive filter, e.g. 'arrisCreate' to keep only your mod's functions (matched against "name @ src_file"). top_n: rows returned inline (default 25; the full set is stored for later get_function_costs / diff queries). address/port: native Tracy endpoint (default 127.0.0.1:8086). label: tag for diffing, e.g. 'before' / 'after'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portNo
labelNo
top_nNo
addressNo127.0.0.1
secondsNo
name_containsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations give readOnlyHint=false, idempotentHint=false, destructiveHint=false. The description adds behavioral details: it drives CLIs, traces across main_thread and MC_SERVER threads, and requires no whitelist. It does not contradict annotations and provides meaningful context, though it does not specify blocking behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear first sentence, usage condition, and parameter details. It is concise enough while including necessary guidance, but could be slightly shorter without losing clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity and presence of output schema, the description covers prerequisites, usage flow, parameter meaning, and how the output (capture_id) integrates with sibling tools. It adequately informs the agent for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description fully explains each parameter: seconds range and default, name_contains filter with example, top_n default, address/port default, and label for diffing. This adds significant semantic value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool captures function timings from a native Tracy server on TCP 8086. It distinguishes itself from siblings like tracy_get_function_costs and tracy_status by specifying the capture action and prerequisite conditions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit usage guidance is provided: use after tracy_status reports reachable and bin_present, and drive gameplay during the capture window. It also explains the output (capture_id) integrates with other tools, offering clear when-to-use context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/lovelyXiaoQi/mcdk-mcp-tracy'

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