Skip to main content
Glama
slop-anything
by takattowo

slop_lift

Builds a runnable .pyz from a port, runs it alongside the original with sample arguments, and reports whether stdout and exit codes match.

Instructions

Build a runnable zipapp (.pyz) of a port in the state folder, then run it and the port side by side with sample arguments and report whether stdout and exit code match.

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

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).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A3.5/5.0
Behavior3/5

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

There are no annotations, so the description carries the full burden. It does disclose a meaningful side effect — a .pyz artifact is written into the state folder — and states the comparison criteria (stdout and exit code). It says nothing about overwriting existing artifacts, execution timeouts, sandboxing, or what happens on mismatch, which matters for a tool that both writes files and executes code.

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?

A single sentence that front-loads the build step and then the comparison, with no filler. It is dense but every clause maps to real behavior (build, run side by side, compare). Readability would improve if the build and compare phases were split, but nothing is wasted.

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 tool with no output schema, the description effectively characterizes the return value ('report whether stdout and exit code match') and covers the full pipeline. The only real gap is failure and edge-case semantics — mismatch details, timeouts, artifact persistence — which an agent would want before invoking it repeatedly.

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?

Schema description coverage is 100%, so the schema already explains both 'port' and 'args' in detail. The description adds only the notion that the args are 'sample arguments' fed to both runs, which marginally clarifies intent but adds no format or selection guidance. Baseline 3 is appropriate when the schema does the heavy lifting.

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 concrete verbs and resources: it builds a .pyz zipapp from a port in the state folder, runs both the built zipapp and the port with sample arguments, and compares stdout and exit code. That is far more specific than a tautology and clearly distinct from siblings like slop_record or slop_status. It stops short of naming the sibling it most overlaps with (slop_run / slop_diff), so it does not fully earn a 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?

The intended use case is implied — verifying that a port behaves identically when packaged as a zipapp — but there is no explicit when-to-use, when-not-to-use, or pointer to alternatives. An agent must infer from the sibling list whether to reach for this or for slop_run/slop_diff. No prerequisites or preconditions (e.g., port must be built or recorded first) are stated.

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