Skip to main content
Glama

generate_k6_load_test

Generate k6 load test script with scenarios (constant/ramping VUs), thresholds, custom metrics, checks, HTTP/WebSocket/gRPC support, and HTML report

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>",
      "url": "<url>"
    },
    "name": "generate_k6_load_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
protocolNo
testNameYes
protoPathNogRPC: .proto file to load (default: server reflection)
scenariosNo
grpcMethodNogRPC: full method, e.g. orders.v1.OrderService/GetOrder (default: standard health check)
thresholdsNo
grpcRequestNogRPC: request message as JSON

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / grpcMethod
      Added value: +{
      +  "description": "gRPC: full method, e.g. orders.v1.OrderService/GetOrder (default: standard health check)",
      +  "type": "string"
      +}
    • addedInput schema / properties / grpcRequest
      Added value: +{
      +  "description": "gRPC: request message as JSON",
      +  "type": "object"
      +}
    • addedInput schema / properties / protoPath
      Added value: +{
      +  "description": "gRPC: .proto file to load (default: server reflection)",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries full behavioral burden. It usefully discloses generated capabilities (constant/ramping VU scenarios, thresholds, custom metrics, HTML report) and protocol coverage, but says nothing about side effects: whether a file is written to disk, where, whether it overwrites, or what is returned. It also mentions custom metrics and checks that have no corresponding parameters, leaving their default behavior unexplained.

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 with the verb and resource first, then a compact feature list. No filler or repetition; the comma-list of features is dense but every item carries information.

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 an 8-parameter generator with nested objects, no annotations, and no output schema, the description covers feature scope but omits output form and the structure of the nested scenarios/thresholds/grpcRequest inputs. An agent knows what the tool produces thematically but not what it receives back or how to shape the complex objects.

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 coverage is only 38%, with descriptions present only for protoPath and grpcMethod. The description adds real meaning for 'protocol' (http/ws/grpc) and 'scenarios' (constant/ramping VUs) and 'thresholds', but leaves the shapes of the scenarios array items, thresholds object, and grpcRequest object entirely to the schema, so it does not fully compensate for the coverage gap.

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 ('Generate k6 load test script') and enumerates the generated artifacts (scenarios, thresholds, custom metrics, checks, HTML report). Naming k6 explicitly distinguishes it from the locust/artillery/jest siblings without needing their schemas.

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, when-not-to-use, or alternative-selection guidance; the description never says why an agent would pick this over generate_locust_test or generate_artillery_test. Usage is only inferable from the tool 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.