Skip to main content
Glama

Convert Locust to k6

locust_to_k6
Read-only

Convert a Locust Python load test to k6 JavaScript. Handles HttpUser tasks, wait times, on_start/on_stop, and task weights.

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
project_idNoProject to save converted script to
target_urlNoOverride target URL
locust_codeYesLocust Python test code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, destructiveHint=false, so safety is covered. The description contributes genuinely useful conversion-scope detail (HttpUser tasks, wait times, on_start/on_stop, task weights) but is silent on the most consequential behavior: the `project_id` parameter implies the result may be persisted, which sits awkwardly with a read-only hint and is never addressed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: purpose first, supported feature surface second. No filler or repetition of the title, though the second sentence is a bare feature list without explaining why coverage matters to the caller.

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?

There is no output schema, so the description carries the burden of explaining what comes back — a converted script string, a saved project artifact, or both — and it does not. With five parameters including a persistence target and no return-value explanation, the definition is adequate but leaves a real gap for an agent deciding how to use the result.

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 all five parameters are already documented in the schema. The description adds no parameter-level meaning (e.g., valid `test_type` values, what target_url overrides, whether project_id is optional for side-effect-free conversion), so baseline 3 applies.

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?

States a specific verb+resource pair ('Convert a Locust Python load test to k6 JavaScript') with concrete input and output formats. It does not name the sibling converters (gatling_to_k6, jmeter_to_k6, playwright_to_k6), but the source framework is unambiguous in the first clause.

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 implied by the source framework named ('Locust Python'), which is enough to pick it over the Gatling/JMeter/Playwright siblings. However, there is no explicit when-to-use guidance, no prerequisites, and no statement about whether the converted script is returned, saved, or both.

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