latency_benchmark
Measure response time of one or more HTTP endpoints (GET/POST). Runs N iterations and returns min/max/avg/p95 latency. Useful for API and MCP server benchmarking.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endpoints": "https://www.ia-qa.com/mcp/ping",
"iterations": 3
},
"name": "latency_benchmark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoints | Yes | Endpoints to benchmark. Accepts a single URL string, an array of URL strings, or an array of {url, method?, body?, headers?, label?} objects. | |
| iterations | No | Number of iterations per endpoint (default: 3, max: 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | ||
| iterations | No |