Skip to main content
Glama

generate_locust_test

Generate Locust Python load test with TaskSet, @task decorators, custom shapes for complex load profiles, events, and CSV/HTML reporting

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "testName": "<testName>",
      "host": "<host>"
    },
    "name": "generate_locust_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYes
tasksNo
usersNo
testNameYes
spawnRateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it mostly enumerates generated code features rather than behavior. It does not say what the tool returns (a file? a code string?), where output is written, whether it overwrites existing files, or whether CSV/HTML reporting implies extra emitted artifacts. The feature list hints at output shape but stops short of disclosing anything operationally useful.

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?

A single front-loaded sentence that leads with the verb and resource, and the feature list is compact with no filler. The trailing feature enumeration is dense and somewhat jargon-heavy, but every clause maps to a capability, so little is wasted.

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

Completeness2/5

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

For a 5-parameter generator with no annotations, no output schema, and undocumented parameters, the description is far too thin. An agent would not know how to populate host/testName/users/spawnRate or what it receives back, which is the minimum needed to invoke this correctly.

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

Parameters1/5

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

With 5 parameters and 0% schema description coverage, the description needs to explain them and does not mention a single one — not host, testName, users, spawnRate, or the structure of the tasks array. 'Custom shapes for complex load profiles' gestures vaguely at load configuration, but no parameter meaning is conveyed.

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 and resource: "Generate Locust Python load test", with feature scope (TaskSet, @task decorators, custom shapes, events, CSV/HTML reporting). The framework name 'Locust' implicitly separates it from the artillery/k6/load_test siblings, but the description never makes that differentiation explicit.

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?

There is no when-to-use guidance at all — nothing says when to pick Locust over generate_k6_load_test, generate_artillery_test, or generate_load_test, nor any stated prerequisite such as an existing API or a target host. The reader must infer selection criteria purely from the framework name.

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.