Skip to main content
Glama

memory_heap_snapshot

Capture a V8 heap snapshot of the current page. The .heapsnapshot file is saved locally for memory analysis in Chrome DevTools.

Instructions

Capture a V8 heap snapshot (.heapsnapshot) — drag into DevTools Memory panel.

Large pages produce 50-200MB snapshots. Saved to ~/.mcp-stealth/exports/.

Args:
    filename: output name (default timestamped)
    stable_ms: consider snapshot complete after no new chunks for this many ms
    max_wait: hard cap on wait even if chunks keep arriving

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameNo
stable_msNo
max_waitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses important behaviors such as typical file sizes (50-200MB), save directory, and parameter effects (stable_ms, max_wait). Without annotations, this provides good transparency, though could mention performance impact.

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?

Very concise and well-structured: one-liner purpose, then brief context, then parameter explanations. Front-loaded with key information. Every sentence adds value.

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 purpose of capturing a heap snapshot, the description covers the outcome (saved to directory), parameters, and behavior. Even with an output schema, the description is complete for agent understanding.

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 description coverage, the description fully compensates by explaining each parameter: filename (default timestamped), stable_ms (stability condition), and max_wait (hard cap). This adds significant meaning 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 a V8 heap snapshot, specifying the file format and usage. It distinguishes from siblings as no other tool performs this specific function.

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?

Provides context about snapshot size and save location but lacks explicit guidance on when to use this tool over alternatives or when not to use it. The usage is implied but not clearly delineated.

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/RobithYusuf/mcp-stealth-chrome'

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