Skip to main content
Glama
slop-anything
by takattowo

slop_bench

Benchmark a port by running it N times with fresh data per run, then report median, p95, min, and max wall time plus projected steady-state speedup.

Instructions

Benchmark a port: run it N times (fresh data folder each) and report median, p95, min and max wall time in milliseconds, plus the projected steady-state speedup.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "port": "<port>"
    },
    "name": "slop_bench"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoCommand-line arguments for the port: up to 10 strings of up to 200 characters. The first may not be 'serve'. Default: the first recorded or built-in case.
portYesPort name, as listed by slop_ports (a folder under the ports root with __main__.py).
runsNoNumber of runs, 1 to 50. Default 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and only partly meets it. It usefully discloses that each run uses a fresh data folder (so prior data is discarded per run), but says nothing about runtime cost of N repetitions, whether anything is written outside the data folder, or failure behavior mid-benchmark.

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?

One front-loaded sentence that states the action, the repetition model, and the reported metrics in the order an agent needs them. There is no filler or redundant restatement of the schema.

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

Completeness4/5

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

With no output schema, the description correctly supplies the return values (median, p95, min/max, speedup), which is the key gap it needs to fill. The phrase 'projected steady-state speedup' is left as unexplained jargon, and there is no note on how long a 50-run benchmark takes.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by tying 'N times' to the runs parameter and explaining the fresh-data-folder isolation each run provides. It does not clarify what the optional args default case selection means beyond the schema text, but the added isolation semantics are real value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb ('Benchmark') and resource ('a port') and enumerates the exact outputs (median, p95, min, max wall time in ms plus projected speedup), which separates it from run/profile siblings by the repetition-and-statistics framing. It never names a sibling explicitly, so differentiation is implicit rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the reader can infer this is for measuring performance across repeated runs, but there is no guidance on when to prefer it over slop_run, slop_profile or slop_record, and no preconditions such as whether the port must be built or recorded first.

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