Skip to main content
Glama
slop-anything
by takattowo

slop_run

Run a named port once with supplied arguments and return its exit code, stdout, and stderr tail under a 30-second timeout, without shell or stdin.

Instructions

Run a port once with the given arguments and return its exit code, stdout and the tail of stderr. No shell, stdin closed, a fresh data folder, 30 s timeout. Refuses 'serve'.

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

Input Schema

NameRequiredDescriptionDefault
argsNoCommand-line arguments for the port: up to 10 strings of up to 200 characters. The first may not be 'serve'.
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.8/5.0
Behavior4/5

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

With no annotations, the description carries the whole burden and does so well: no shell, stdin closed, a fresh data folder, a 30 s timeout, and an explicit refusal of 'serve'. It doesn't state whether output is truncated, what happens if the timeout fires, or what permissions/filesystem access the port inherits.

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?

Two terse sentences, front-loaded with the action, followed by a compact list of execution constraints. Nothing is repeated from the schema and no sentence 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 covers the return values (exit code, stdout, stderr tail) and the sandbox behavior. A small gap remains on output truncation and failure modes, but nothing essential to a correct call is missing.

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 coverage is 100%, so the schema already documents both 'port' and 'args' including the 10-item/200-character limits. The description adds only that the arguments are passed through and that 'serve' is rejected, which is marginal over the structured fields.

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 and resource ("Run a port once with the given arguments") plus the exact return payload, so an agent knows this is a one-shot execution rather than a long-running server. It never names a sibling tool, so differentiation from slop_bench or slop_record is left to inference, though "Refuses 'serve'" sharpens the scope.

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: run something once, not serve. The single explicit exclusion is the 'serve' argument, and there is no statement of when to prefer this over related execution-style siblings.

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