Skip to main content
Glama

JVM MCP Server

watch_method

Monitor Java method calls in real-time by specifying class and method patterns, track parameters and return values, and set custom conditions for detailed JVM process analysis.

Instructions

监控方法的调用情况

Input Schema

NameRequiredDescriptionDefault
class_patternYes
conditionNo
max_timesNo
method_patternYes
pidYes
watch_paramsNo
watch_returnNo

Input Schema (JSON Schema)

{ "properties": { "class_pattern": { "title": "Class Pattern", "type": "string" }, "condition": { "default": null, "title": "Condition", "type": "string" }, "max_times": { "default": 10, "title": "Max Times", "type": "integer" }, "method_pattern": { "title": "Method Pattern", "type": "string" }, "pid": { "title": "Pid", "type": "integer" }, "watch_params": { "default": true, "title": "Watch Params", "type": "boolean" }, "watch_return": { "default": true, "title": "Watch Return", "type": "boolean" } }, "required": [ "pid", "class_pattern", "method_pattern" ], "title": "watch_methodArguments", "type": "object" }

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/xzq-xu/jvm-mcp-server'

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