Skip to main content
Glama
kengrary

JVMind MAT Heap Dump Analyzer

close_heapdump

Release a heap dump handle to free analysis resources and optionally stop the MAT helper process by setting stop_service=true.

Instructions

Release a heap dump handle. Set stop_service=true to also stop the MAT helper process. / 释放堆转储句柄;stop_service=true 时同时停止 MAT 辅助进程。

Input Schema

NameRequiredDescriptionDefault
report_idYes
stop_serviceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It usefully discloses the side effect of stopping the MAT helper process, but leaves major questions open: whether the underlying dump file is deleted or retained, whether the report_id becomes invalid afterward, and whether the operation is reversible.

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 core action is front-loaded and the sentence is tight; the bilingual mirror doubles the text length but adds no redundant concepts. No filler sentences.

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?

An output schema exists so return values need not be explained. For a two-parameter lifecycle tool the description covers the action and the one non-obvious side effect; only the provenance of report_id and the fate of the dump file are missing.

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 0%, so the description has to compensate for both parameters. It fully explains stop_service's effect, but report_id gets no explanation at all (presumably an ID from open_heapdump or list_heapdumps) — half the parameters remain undocumented.

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

Purpose4/5

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

States a specific verb+resource ("Release a heap dump handle") that pairs cleanly with the sibling open_heapdump, so the agent can infer the open/close lifecycle. It does not explicitly name or distinguish itself from get_heapdump_status or list_heapdumps, but the intent is unambiguous.

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?

Usage is only implied: you release a handle after opening one. The one piece of explicit guidance is conditional on a parameter ("Set stop_service=true to also stop the MAT helper process"), with no statement of prerequisites, when not to call it, or how it relates to get_heapdump_status.

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