Skip to main content
Glama
perfsage

perfsage-jmeter-mcp

by perfsage

ensure_environment

Diagnose and heal the local JMeter runtime (JDK, JMeter, plugins, Docker) to ensure a usable execution environment for performance tests, optionally forcing Docker.

Instructions

Diagnose and heal the local JMeter runtime (JDK, JMeter, plugins, Docker).

Call when the host may lack a usable runtime. Returns a ProvisionResult describing actions taken and the resulting execution_mode. Set force_docker=true to prefer Docker when docker_available (even if native is ready).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
force_dockerNo
allow_downloadNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description must carry the full transparency burden. It discloses that the tool 'heals' and returns actions taken, implying side effects like downloads or configuration changes. However, it doesn't explicitly state what specific actions are performed, whether permissions are required, or the potential impact on the system. The presence of the 'allow_download' parameter hints at downloads, but the description itself doesn't elaborate.

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

Conciseness5/5

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

The description is concise, two sentences plus a param guidance. The first sentence front-loads the core purpose, followed by usage context and return information. Every sentence provides useful information without redundancy, making it well-structured and to the point.

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?

The description covers the tool's purpose, when to use it, return value, and one key parameter. An output schema exists, so return value details are optional. However, it could be more complete by mentioning prerequisites (e.g., network access for downloads) or what a 'heal' might entail, but these gaps are minor given the output schema and clear usage guidance.

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?

The input schema has 0% description coverage, so the description must compensate. It explains force_docker well: 'Set force_docker=true to prefer Docker when docker_available (even if native is ready)'. However, it does not explain allow_download beyond its name and default, leaving its semantics partially inferred. This partial coverage justifies a 3.

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?

The description clearly states what the tool does: 'Diagnose and heal the local JMeter runtime (JDK, JMeter, plugins, Docker)'. The verb 'diagnose and heal' is specific, and the resource scope is explicit. This distinguishes it from sibling tools like diagnose_environment, which likely only diagnoses but does not heal.

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?

The description provides explicit guidance on when to call: 'Call when the host may lack a usable runtime.' It also gives usage direction for the force_docker parameter. However, it does not explicitly mention alternatives or when not to use this tool (e.g., if only diagnosis is needed), so it falls short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/perfsage/perfsage-jmeter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server