Skip to main content
Glama
slop-anything
by takattowo

slop_bridge

Generates a compile-checked Python module that exposes a subprocess function for calling a selected port CLI and returning its stdout.

Instructions

Generate a Python module in the state folder that exposes a function calling the port CLI through subprocess and returning its stdout. The module is compile-checked.

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

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

B3.3/5.0
Behavior3/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 disclose meaningful behavior: it writes a module into the state folder (a side effect), compiles it as a check, and the generated function shells out via subprocess. It omits what happens on name collision/overwrite, what the tool itself returns, and how compile failures are surfaced.

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 tight sentences, front-loaded with the action and location, followed by the validation caveat. No filler or redundancy.

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

Completeness3/5

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

For a one-parameter generation tool with no output schema, the description covers what is produced, where, and that it is compile-checked. It still leaves the tool's own return value and overwrite/error semantics unstated, which matters for a side-effecting generator.

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% and the schema description already explains the port parameter, including tying it to slop_ports. The description adds no parameter-level meaning beyond what the schema provides, so baseline 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?

States a specific verb and resource ('Generate a Python module') plus concrete detail about what the module contains: a function that calls the port CLI via subprocess and returns stdout. An agent can tell this apart from siblings like slop_run or slop_ports, though it never explicitly names an alternative for contrast.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this versus slop_run, slop_lift, or slop_ports. The only usage signal is embedded in the parameter schema, which points to slop_ports for finding a valid port name — helpful for invocation but not for tool selection.

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