Skip to main content
Glama
slop-anything
by takattowo

slop_gate

Replays a port's recording three times, reports the mismatch count per round, and returns a seeded verdict sampled from the replay distribution along with its confidence.

Instructions

Statistical gate for a port: replays the recording three times, reports the mismatch count of each round, and returns a seeded verdict sampled from the replay distribution, with its confidence.

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_gate"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYesPort name, as listed by slop_ports (a folder under the ports root with __main__.py).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that the recording is replayed three times (implying cost and determinism implications), that a verdict is sampled and seeded (so results are pseudo-random but reproducible), and that confidence is returned. It omits prerequisites such as requiring an existing recording or a valid port, and does not state safety/mutation characteristics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no filler, and the gate metaphor is stated first. The three actions are chained together densely, which is efficient but slightly reduces scannability compared to a short structured breakdown.

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?

Lacking an output schema, the description compensates by enumerating what comes back: per-round mismatch counts, a verdict, and its confidence. For a one-parameter tool with no annotations this is nearly sufficient; the main missing element is the precondition that a recording must already exist and how failures surface.

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?

There is a single parameter at 100% schema coverage; the schema already defines 'port' as a folder under the ports root with __main__.py and points to slop_ports. The description only echoes 'for a port' and adds no format, edge-case, or validation detail beyond the schema, so the baseline of 3 applies.

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 names a specific verb chain and resource: replay a port's recording three times, report per-round mismatch counts, and return a seeded verdict with confidence. That is far more concrete than a name restatement and clearly distinguishes it from vague siblings like slop_run or slop_status. It stops short of naming a sibling it replaces, so it sits at 4 rather than 5.

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 implied by the phrase 'statistical gate': an agent can infer this is the tool for deciding whether a port's behavior is stable across replays. However, there is no explicit when-to-use/when-not framing and no comparison to slop_run, slop_score, or slop_bench, which an agent would plausibly consider for similar evaluation tasks.

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