Skip to main content
Glama

Import JMeter results

import_jmeter_results

Analyze existing JMeter result files to produce per-endpoint latency, SLO, and baseline comparison findings for release-gate performance reports.

Instructions

Analyse an existing JMeter results file (.jtl, CSV with a header row or XML) inside the project exactly like a run of our own: per-endpoint latency (endpoints are sampler labels; name them 'GET /orders/{id}'), SLOs, the baseline comparison and findings, written to .qa-mcp/perf-report/ for the Release Gate. scenario defaults to 'jmeter'; use the same scenario and environment for the baseline and later imports. save_as_baseline=True stores these results as the baseline instead of comparing.

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": {
      "path": "<path>"
    },
    "name": "import_jmeter_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
scenarioNo
environmentNo
compare_baselineNo
save_as_baselineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and does well: it discloses the output location (.qa-mcp/perf-report/), the downstream consumer (Release Gate), and the baseline-vs-compare semantics. It omits permissions/auth requirements and whether existing reports are overwritten, which are the main remaining gaps for a write-to-disk tool.

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?

Dense but front-loaded: the action and accepted formats come first, then output destination, then parameter defaults and baseline guidance. The parenthetical advice on naming sampler labels is useful but makes the middle sentence run long.

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

Completeness4/5

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

With no annotations, no output schema, and 0% schema coverage, the description needs to do a lot and does most of it: purpose, formats, output location, and baseline workflow are all covered. Error behavior and overwrite/retention behavior are the notable omissions.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate and largely does: it covers the scenario default ('jmeter'), the pairing of scenario with environment, the save_as_baseline flag semantics, and the accepted content of path. compare_baseline is only implicitly referenced ('instead of comparing') and path's expected format is only sketched.

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 (analyse/import an existing JMeter results file) and enumerates accepted formats (.jtl, CSV with header row, XML), plus what it produces (per-endpoint latency, SLOs, baseline comparison, findings). It is clearly distinguishable from run_load_test and save_baseline.

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?

Gives concrete operating guidance: use the same scenario and environment for the baseline and later imports, and set save_as_baseline=True to store rather than compare. It does not explicitly say when to prefer this over run_load_test or save_baseline, so there is no exclusion or alternative routing.

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