Skip to main content
Glama
juliodelimas

jmeter-mcp-server

by juliodelimas

add_teardown_thread_group

Add a tearDown Thread Group to the TestPlan root that runs once after all normal thread groups finish, providing a dedicated step for one-time cleanup regardless of its tree position.

Instructions

Add a tearDown Thread Group under the TestPlan root. Runs once, after all normal Thread Groups finish, regardless of where it sits in the tree - typically used for one-time cleanup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNotearDown Thread Group
loopsNoNumber of loop iterations per thread, -1 for infinite
planIdYes
parentIdYes
numThreadsYes
delaySecondsNoStartup delay: seconds to wait before this thread group starts (enables the scheduler). Use it to stage thread groups, e.g. a second group that begins 5s after the first.
durationSecondsNoIf set, run on a scheduler for this many seconds instead of a fixed loop count
rampTimeSecondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.5

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses genuinely valuable execution semantics: the group runs once, executes after all normal Thread Groups, and is position-independent. This adds real behavioral context beyond the tool name. It could go further (e.g., noting whether it runs on test failure), but what's disclosed is meaningful.

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?

The description is a tight two-sentence construction with the action front-loaded. Every clause earns its place - the execution timing and cleanup purpose are both useful. It could have named the sibling for contrast, but as written it is efficient and well-organized.

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?

With no annotations and no output schema, the description must carry more weight. It covers behavioral semantics well but omits prerequisites (e.g., that a TestPlan root must exist and planId must reference it) and gives no guidance on the four required parameters. For an 8-parameter tool this is adequate but leaves gaps.

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

Parameters2/5

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

Schema description coverage is low at 38%, and the description adds nothing about parameters. planId, parentId, numThreads, rampTimeSeconds (all required) lack schema descriptions and are not explained in the tool description either. The description should compensate for the coverage gap but does not, though the IDs are somewhat self-evident from context.

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 opens with a specific verb+resource+location ('Add a tearDown Thread Group under the TestPlan root') and immediately distinguishes it from normal Thread Groups by stating it runs after all of them finish regardless of tree position. This clearly separates it from the sibling tools add_thread_group and add_setup_thread_group.

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 explains the execution semantics (runs once, after normal groups, position-independent) and the typical use case ('one-time cleanup'), giving clear context for when to use it. However, it doesn't explicitly name the sibling alternatives add_thread_group or add_setup_thread_group, nor state when NOT to use it, so the routing is implicit rather than explicit.

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