Skip to main content
Glama
lovelyXiaoQi

mcdk-mcp-tracy

by lovelyXiaoQi

tracy_diff_captures

Read-onlyIdempotent

Validate an optimization by comparing two profiling captures, identifying improved, regressed, added, and removed functions with overall performance delta.

Instructions

Diff two captures by function to validate an optimization.

Negative delta = faster. Returns improved / regressed / added / removed plus overall movement (base vs new total, delta, pct).

Args: base_id: the "before" capture id (required). new_id: the "after" capture id (required). metric: 'self' (default) or 'total'. top_n: max rows per list (default 25).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_nNo
metricNoself
new_idYes
base_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description adds context beyond annotations by explaining the meaning of negative delta ('faster') and listing the return categories. It does not contradict the readOnlyHint and idempotentHint, and provides useful behavioral details.

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

Conciseness5/5

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

The description is concise and well-structured: a purpose line, a line about delta meaning, a list of return categories, and a clear Args section. Every sentence adds value without redundancy.

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

Completeness4/5

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

The description covers purpose, parameters, and return categories adequately. However, it could be improved by mentioning error handling or invalid capture IDs, though the output schema likely covers return types.

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?

Despite 0% schema description coverage, the description includes an Args section that explains each parameter's purpose (e.g., base_id/new_id are capture IDs, metric options, top_n max rows). This fully compensates for the missing schema descriptions.

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 diffs two captures by function to validate an optimization, and lists the output categories (improved/regressed/added/removed). It is distinct from siblings like tracy_list_captures and tracy_get_function_costs, which serve different purposes.

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

Usage Guidelines3/5

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

The description implies usage for validating optimizations but does not explicitly state when to use this tool versus alternatives (e.g., for a single capture, use tracy_get_function_costs). No exclusions or when-not-to-use guidance is provided.

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