MCP server for executing JMeter performance tests, analyzing test results, and providing insights on performance metrics, bottlenecks, and recommendations
The server has 3 tools with basic functionality for JMeter test execution and result analysis. However, there are significant gaps in definition quality: (1) Tool naming shows an 'and' antipattern with 'execute_jmeter_test_non_gui' being a variant rather than a distinct concern; (2) Parameter descriptions are present but minimal (10-40 chars); (3) Output schemas are not documented in the code, the function signatures return simple strings without structured output definition; (4) Input schemas are present with reasonable type coverage but lack proper constraints (enums, ranges, patterns); (5) Error handling returns free-form strings rather than structured error responses with recovery guidance. The analyze_jmeter_results tool lacks complete visibility into its implementation (truncated in source). Per-tool average: execute_jmeter_test=42, execute_jmeter_test_non_gui=44, analyze_jmeter_results=38.
Analyze JMeter test results and provide a summary of key metrics and insights.
Execute a JMeter test.
Execute a JMeter test in non-GUI mode - supports JMeter properties.
Output schemas not documented. Functions return plain strings (e.g., 'return await run_jmeter(...)' with return type str) rather than structured objects with typed fields. LLMs cannot extract metrics, timestamps, or references for downstream tool composition.
Tool naming contains 'and' antipattern (execute_jmeter_test vs execute_jmeter_test_non_gui). These should either share a single 'gui_mode' parameter (already done in execute_jmeter_test) or be clearly named as variants. The duplication violates single-responsibility principle.
Parameter descriptions are too short (10-40 chars). The description for 'properties' ('Dictionary of JMeter properties to pass with -J (default: None)') lacks context on WHEN to use it, what JMeter properties are common, or how they affect test behavior.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 41 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 0 | - | v1 |
No input constraints for parameters. 'test_file' accepts any string without validation message in schema; 'properties' is untyped object with no enum/pattern constraints; 'report_output_dir' has no path validation hint. Schema lacks minimum/maximum for implied numeric ranges.
Error handling returns free-form strings ('Error: Test file not found...', 'Error executing JMeter test...') rather than structured error objects with recovery guidance. LLM cannot determine if error is retryable or user-fixable without parsing text.
No permission gates for destructive tools. execute_jmeter_test and execute_jmeter_test_non_gui mark Risk as IRREVERSIBLE (tests can consume resources, network bandwidth, and may have side effects) but lack server-side authorization checks or user confirmation prompts.
analyze_jmeter_results implementation is incomplete (truncated in source). Cannot verify output schema, error handling, or parameter validation beyond signature.
No batch operation support. If an agent needs to run multiple JMeter tests, it must invoke execute_jmeter_test_non_gui repeatedly, wasting tokens and latency. A batch variant accepting array of test files would be more efficient.