Skip to main content
Glama
vola-trebla

react-render-profile-mcp

by vola-trebla

diagnose_hydration_and_suspense

Analyze React profiler exports to identify hydration mismatches and sequential Suspense waterfalls, enabling targeted performance fixes.

Instructions

Detects server-client hydration mismatches and sequential nested Suspense waterfalls by analyzing mount durations, unmount events, and timelines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profile_pathYesAbsolute path to the React DevTools Profiler export (.json)
waterfall_threshold_msNoTimeline delta threshold in ms to detect Suspense waterfalls (default: 100)
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses that the tool analyzes mount durations, unmount events, and timelines, suggesting a read-only diagnostic behavior. However, it does not explicitly state whether the tool modifies the profile file, requires write permissions, or has any side effects. The methodology hint is useful but incomplete.

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 a single, efficient sentence that front-loads the main purpose and then provides the analytical approach. There is no redundancy or filler, every word contributes to understanding the tool's function.

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?

For a diagnostic tool with two well-documented parameters and no output schema, the description covers the core purpose and methodology adequately. The only minor gap is the lack of detail about return format, but given the tool's narrow scope and schema richness, it is sufficiently complete.

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

Parameters3/5

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

Schema description coverage is 100%, with both profile_path and waterfall_threshold_ms clearly described in the input schema. The description adds no extra parameter information, but the schema already provides sufficient semantics, so a baseline score of 3 is appropriate.

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 uses a specific verb 'Detects' and names two distinct targets: server-client hydration mismatches and sequential nested Suspense waterfalls. It also mentions the analysis method (mount durations, unmount events, timelines), which clearly differentiates it from sibling tools like find_spurious_renders or get_render_summary.

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 when to use the tool (when hydration or Suspense waterfall issues are suspected), but it does not explicitly compare with alternatives or state when not to use it. It doesn't mention exclusions or prerequisites, so guidance is present but not strongly articulated.

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/vola-trebla/react-render-profile-mcp'

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