Skip to main content
Glama
ebadAhmed10

JMeter MCP Server

by ebadAhmed10

execute_jmeter_test_non_gui

Run JMeter load tests in non-GUI mode to evaluate application performance, with options to pass custom properties, generate reports, and log results.

Instructions

Execute a JMeter test in non-GUI mode - supports JMeter properties.

Args: test_file: Path to the JMeter test file (.jmx) properties: Dictionary of JMeter properties to pass with -J (default: None) generate_report: Whether to generate report dashboard after load test (default: False) report_output_dir: Output folder for report dashboard (default: None) log_file: Name of JTL file to log sample results to (default: None)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
test_fileYes
propertiesNo
generate_reportNo
report_output_dirNo
log_fileNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions that the tool 'supports JMeter properties' and describes default values for parameters, but lacks critical behavioral details such as execution time, resource requirements, error handling, output format (though an output schema exists), or whether it's a long-running or blocking operation. For a tool that executes load tests, this is a significant gap.

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 efficiently structured with a clear opening sentence stating the purpose, followed by a well-organized 'Args:' section listing each parameter with concise explanations. Every sentence earns its place, and there is no redundant or verbose content. It's appropriately sized for a tool with multiple parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of executing a JMeter test (a non-trivial operation with 5 parameters, nested objects, and an output schema), the description is partially complete. It covers parameters well but lacks behavioral context (e.g., execution characteristics, prerequisites). The presence of an output schema reduces the need to describe return values, but overall, the description doesn't fully address the tool's operational context, especially with no annotations to supplement it.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must fully compensate. It successfully documents all 5 parameters with clear explanations of their purposes, default values, and formats (e.g., 'Path to the JMeter test file (.jmx)', 'Dictionary of JMeter properties to pass with -J'). The description adds substantial meaning beyond the bare schema, though it could benefit from examples or constraints (e.g., file path formats).

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?

The description clearly states the action ('Execute a JMeter test in non-GUI mode') and the resource ('JMeter test file'), making the purpose immediately understandable. It distinguishes from the sibling 'execute_jmeter_test' by specifying 'non-GUI mode', though it doesn't explicitly contrast with other siblings like 'analyze_jmeter_results' or 'generate_visualization'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to choose non-GUI mode over GUI mode (implied by the sibling 'execute_jmeter_test'), or how it relates to other siblings like 'analyze_jmeter_results' or 'generate_visualization'. Usage context is entirely absent.

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