Skip to main content
Glama
juliodelimas

jmeter-mcp-server

by juliodelimas

add_http_request_defaults

Define common HTTP request parameters like protocol, domain, port, and timeouts under a parent element, so that subsequent HTTP samplers inherit these defaults when fields are left blank.

Instructions

Add HTTP Request Defaults under the given parent (usually a Thread Group or TestPlan root). Any field left blank on a later add_http_sampler call under the same scope falls back to these values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoHTTP Request Defaults
pathNo
portNo
domainNo
planIdYes
parentIdYes
protocolNo
connectTimeoutMsNo
responseTimeoutMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.5

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description must disclose behavior. It does: fields left blank on later add_http_sampler calls fall back to these values, and scoping is specified ('under the same scope'). However, it does not mention effects on existing samplers or behavior when defaults are empty, so it is not fully transparent.

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?

Two sentences with no filler. The purpose is front-loaded, and the fallback behavior is explained in the second sentence. Excellent economy of language.

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?

Covers the core purpose and behavior, but given 9 parameters and no annotations, it lacks parameter-level detail (especially planId/parentId semantics) and does not mention prerequisites or impact on existing elements. The description is adequate but not fully complete for a tool with this many parameters.

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 0%, so the description must explain parameters. It only explains the collective fallback concept, not individual parameters like planId, parentId, or units for timeouts. Parameter names are somewhat self-explanatory but key identifiers and units are left undocumented.

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: 'Add HTTP Request Defaults'. Clearly explains the fallback behavior that distinguishes it from add_http_sampler, and mentions typical placement (Thread Group or TestPlan root), making the tool's role unambiguous.

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?

Explicitly ties usage to add_http_sampler: defaults are used for later calls under the same scope. This gives clear context for when to use it, but does not explicitly state when not to use it or list alternative tools, so it's slightly below a 5.

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