Skip to main content
Glama

Run load test

run_load_test

Runs load tests against API scenarios, checks p95/p99 latency and error-rate SLOs, compares baselines, and writes JSON/Markdown performance evidence for release gates.

Instructions

Run a load test and write .qa-mcp/perf-report/ (JSON evidence for the Release Gate, Markdown, samples). Returns the verdict, findings (server errors, SLO breaches, statistically significant regressions), per-endpoint latency (p50/p95/p99), errors and throughput, and the baseline comparison. Overrides (vus, duration like '30s', ramp_up, max_rps, engine 'k6'|'builtin') are still capped by the guardrails. Refused on production-like environments and when data-changing flows target a read-only environment.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_load_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
vusNo
engineNo
max_rpsNo
ramp_upNo
durationNo
scenarioNo
environmentNo
compare_baselineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the filesystem side effects (writes a perf-report directory with three artifact types), the exact content of the return value, and that overrides are capped by guardrails. It does not say whether the test mutates the target environment beyond the read-only refusal note, or how long a run may block.

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?

Four dense sentences, front-loaded with purpose and output artifacts before overrides and refusals; little waste. The parenthetical artifact list is a bit packed but each clause 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, zero-coverage tool with no annotations and no output schema, the description covers returns and guardrails well but never explains scenario, environment, or compare_baseline, which are three of the eight inputs an agent must set. Adequate but with a clear gap on parameter-level meaning.

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 0% across 8 parameters, and the description only gives meaning to five (vus, duration with a '30s' example, ramp_up, max_rps, engine with values 'k6'|'builtin'). It adds useful syntax and enum detail beyond the bare schema but leaves scenario, environment, and compare_baseline unexplained.

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?

Uses a specific verb+resource ("Run a load test") and states the concrete artifact produced (.qa-mcp/perf-report/ with JSON evidence for the Release Gate, Markdown, samples). It does not explicitly contrast itself with siblings like import_jmeter_results or save_baseline, so it falls just short of the top tier.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides real when-not-to-use guidance: it is refused on production-like environments and when data-changing flows target a read-only environment, which tells the agent the preconditions before calling. No alternatives are named for related tasks (baseline saving, report retrieval), so it lacks explicit routing.

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