Skip to main content
Glama
slop-anything
by takattowo

slop_record

Records a port's behavior by running edge cases in isolated data folders with a fixed seed, capturing arguments, output, exit codes, and duration for deterministic replay and comparison.

Instructions

Record a port's behaviour: run each edge case in a fresh data folder with a fixed SLOP_SEED and store args, stdout, exit code and duration. Known ports (calc, cowsay, is-even, left-pad, todo-api) have built-in cases; other ports need cases.

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

Input Schema

NameRequiredDescriptionDefault
portYesPort name, as listed by slop_ports (a folder under the ports root with __main__.py).
casesNoExplicit cases: a list of argument lists, one port invocation each. Replaces the built-in cases.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and discloses important execution traits: fresh data folder, fixed SLOP_SEED, and stored args, stdout, exit code, and duration. It still omits operational details such as timeouts, sandboxing, or side-effect boundaries when executing a port.

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 two sentences, front-loaded with the core action and key behavioral details. There is no redundant wording and every clause contributes useful information.

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?

For a two-parameter execution tool with no output schema or annotations, the description gives enough context to invoke it: what it records, how cases are handled, and what gets stored. It could be stronger by explaining return behavior or failure handling, but the core invocation guidance is present.

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 already 100%, but the description adds meaning by clarifying that known ports have built-in cases and unknown ports require the cases parameter. This reinforces the schema's note that explicit cases replace built-in cases.

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 states a specific verb and resource: 'Record a port's behaviour' and then specifies running edge cases and storing outputs. It is clear what the tool does, but it does not explicitly distinguish itself from siblings such as slop_run or slop_bench.

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?

It indicates that known ports have built-in cases while other ports need explicit cases, which is useful invocation context. However, it does not state when to use this tool instead of alternatives or any when-not-to-use conditions.

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