Skip to main content
Glama

Calculate Workload Model & Little's Law Sizing

calculate_workload_model

Compute required thread concurrency, pacing delays, ramp-up schedules, and JVM heap recommendations based on target RPS/TPS and SLA response times using Little's Law.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetRpsYesTarget throughput in requests / transactions per second (RPS/TPS).
thinkTimeMsNoThink time / user pause between requests in milliseconds (default: 0).
safetyFactorNoHeadroom safety buffer multiplier (default: 1.25 = 25% buffer).
avgResponseTimeMsYesExpected average response time in milliseconds.
testDurationMinutesNoSteady-state test duration in minutes (default: 10).

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations available, the description carries the full burden. It states the calculation outputs but doesn't disclose return format, rounding behavior, or how inputs like thinkTimeMs and safetyFactor affect results. It provides a reasonable high-level behavior but lacks deeper edge-case or output details.

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 a single, well-front-loaded sentence that efficiently lists the tool's outputs and input basis. No filler or redundant phrasing; every word adds value.

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?

The tool has no output schema and no annotations, so the description must compensate. It lists output categories but doesn't specify the exact return structure, units, or how recommendations are derived beyond mentioning Little's Law. This leaves some practical uncertainty for an agent deciding whether to invoke the tool and how to interpret results.

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 already provides 100% description coverage, so the description doesn't need to add parameter meaning. It does reinforce the key inputs (target RPS/TPS and SLA response times) by mentioning them, but doesn't elaborate on optional parameters like thinkTimeMs or testDurationMinutes beyond schema defaults.

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 uses a specific verb 'compute' and clearly names the resource: workload model with concrete outputs (thread concurrency, pacing delays, ramp-up schedules, JVM heap). This distinguishes it from sibling tools like plan_distributed_testing or search_jmeter_docs, which serve different purposes.

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 for when to use this tool: when you have target RPS/TPS and SLA response times and need to derive load parameters via Little's Law. It doesn't explicitly compare to alternatives or state exclusions, but the context is unambiguous enough for most scenarios.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4/5.0
Disambiguation5/5

Each tool addresses a clearly distinct need: conversion, validation, workload math, distributed planning, OS tuning, docs search/page retrieval, error lookup, property lookup, and script recipes. Even the doc-related tools are complementary: search returns links, while get_jmeter_page fetches full content.

Naming Consistency5/5

All tool names follow a consistent lowercase snake_case verb_noun pattern: calculate_, convert_, get_, lint_, lookup_, plan_, search_, tune_. The verbs clearly signal the action and the nouns clearly signal the target, making the set predictable.

Tool Count5/5

Ten tools is well-scoped for a JMeter-specific MCP server. Each tool targets a meaningful area: test plan generation, validation, workload modeling, distributed execution, OS tuning, documentation, and troubleshooting. None feel redundant or superfluous.

Completeness4/5

The surface covers the main JMeter workflow: converting HTTP input to JMX, linting it, fetching scripting recipes, planning distributed runs, tuning the OS, and researching docs/errors. A minor gap is the lack of a general raw JMX builder or meaningful coverage for non-HTTP protocols, but most practical JMeter use cases are addressed.

Resources