Skip to main content
Glama

Convert JMeter to k6

jmeter_to_k6
Read-only

Convert a JMeter .jmx test plan to k6 JavaScript. Handles thread groups, HTTP samplers, timers, assertions, and extractors.

Input Schema

NameRequiredDescriptionDefault
contextNoExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
test_typeNoTarget k6 test typeload
jmeter_xmlYesJMeter .jmx XML content
project_idNoProject to save converted script to
target_urlNoOverride target URL in converted script

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered externally. The description adds real value by disclosing conversion coverage of specific JMeter element types, but it is silent on fidelity limits (unsupported samplers), and it never mentions the persistence implied by the project_id parameter — a tension with readOnlyHint that the description does not resolve.

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?

Two sentences, no filler, and the core action is front-loaded before the coverage detail. Every clause earns its place by telling the agent either what the tool does or what input it can digest.

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?

With no output schema, the description should say what comes back — inline k6 JavaScript, a saved script reference, or both — and it does not. Five parameters including an analytics-oriented context field and a free-form test_type are left unaddressed, leaving the agent guessing at the result shape of an otherwise straightforward conversion tool.

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 100%, so the baseline is 3 and the schema carries most of the burden. However, the description adds nothing about the non-obvious parameters: test_type is a free string with no stated enum of valid k6 test types, and the description does not explain the relationship between returning a script and the project_id save behavior.

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?

States a specific verb and resource pair — converting a JMeter .jmx plan into k6 JavaScript — and enumerates the JMeter constructs handled (thread groups, HTTP samplers, timers, assertions, extractors). The named source format cleanly separates it from gatling_to_k6, locust_to_k6, and playwright_to_k6 without the agent needing to open any schema.

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: the agent can infer it should call this when it holds a JMeter plan and wants k6 output. There is no explicit 'when not to use', no mention of alternatives (e.g. k6_generate for from-scratch generation), and no statement of prerequisites such as plan size limits or required project context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources