Skip to main content
Glama
juliodelimas

jmeter-mcp-server

by juliodelimas

add_jdbc_connection_configuration

Add a JDBC connection pool to a JMeter test plan. Define driver, URL, credentials, and pool limits; JDBC Request samplers reference the pool by dataSource name.

Instructions

Add a JDBC Connection Configuration (pooled datasource) under the given parent, usually the Thread Group or TestPlan root. A JDBC Request references this element's dataSource name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoJDBC Connection Configuration
dbUrlYesJDBC URL, e.g. jdbc:postgresql://host:5432/dbname
driverYesJDBC driver class, e.g. org.postgresql.Driver
planIdYes
poolMaxNoMax pool size, 0 = unlimited
timeoutNo
parentIdYes
passwordNo
usernameNo
checkQueryNo
dataSourceYesPool name that JDBC Request samplers will reference
trimIntervalNo
connectionAgeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.5

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It explains the parent-child relationship and the dataSource linkage, which is useful behavioral context, but it does not disclose potential overwrites, validation behavior, required parent existence, or whether a connection is tested at creation.

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 wasted words. The core action and placement are front-loaded, and the dataSource relationship is stated efficiently in the second sentence.

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

Completeness2/5

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

This is a 13-parameter creation tool with no annotations and no output schema, yet the description covers only the basic purpose and one relationship. Missing behavioral details, parameter guidance, and result expectations leave the agent under-informed for a tool of this complexity.

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 (31%), so the description should compensate for undocumented parameters. It only highlights the dataSource concept and parent placement; it adds no meaning for poolMax, timeout, checkQuery, trimInterval, connectionAge, username, password, or other parameters the schema leaves unexplained.

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 states a specific verb ('Add'), a precise resource ('JDBC Connection Configuration (pooled datasource)'), and placement context ('under the given parent'). It also distinguishes the element from the sibling add_jdbc_request by explaining that a JDBC Request references this element's dataSource name.

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 gives clear context on where the element belongs ('usually the Thread Group or TestPlan root') and implies sequencing relative to JDBC Request samplers. It does not explicitly list exclusions or when-not-to-use conditions, but the intended usage is reasonably inferable.

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