Skip to main content
Glama
juliodelimas

jmeter-mcp-server

by juliodelimas

get_test_plan_xml

Serialize a JMeter test plan to .jmx XML without executing the test. Provides the XML output for inspection, version control, or integration.

Instructions

Serialize a test plan to its JMeter .jmx XML, without running JMeter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.5

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It usefully discloses the key non-obvious trait that JMeter is not run, but it does not describe other side effects, return behavior, whether the plan must already exist, or error behavior. Some transparency is provided, but not comprehensive.

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 a single focused sentence, front-loaded with the action and output, and includes a necessary behavioral qualifier. Every word earns its place; there is no redundancy or filler.

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?

For a one-parameter tool with no output schema, the description covers the core operation but leaves the return format implicit. It does not explicitly state that the JMX XML is returned to the caller, nor mention prerequisites or failure modes, so an agent has some residual ambiguity.

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?

The schema has 0% description coverage and one required parameter, planId. The description does not explicitly explain planId, but the tool description's 'Serialize a test plan' combined with the parameter name makes its purpose reasonably inferable. It adds little beyond the schema, hence a mid-range score.

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 uses a specific verb ('Serialize') and resource ('a test plan'), names the exact output format ('JMeter .jmx XML'), and explicitly distinguishes this from execution with 'without running JMeter.' This clearly separates it from siblings like execute_test_plan and get_test_plan.

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?

The phrase 'without running JMeter' implies this tool is for obtaining the XML representation rather than executing a test, but it does not explicitly name alternatives or state when to prefer this over get_test_plan or execute_test_plan. Usage context is clear but exclusions are left to inference.

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