Skip to main content
Glama

Stress-test a scene: alloy.check over several seeds plus the bully agent's random legal episodes

audit
Read-onlyIdempotent

Check simulation scenes automatically by running seeded alloy.check rounds and bully-agent episodes; get severity-sorted findings, suggested fixes, and replay commands.

Instructions

Audit a scene the way a reviewer would, but automatically and with numbers: alloy.check over rounds seeds (each finding with the share of rounds it showed in and the command that replays it) and the bully agent over episodes random legal episodes (class, first tick, body, replay handle). Findings come sorted by severity, each with a suggested fix; ok is false when any finding is an error. A scene given as a recipe, Scene JSON, a .json file or a robot file is first written as cards to a folder that stays (cards in the reply), so the replays keep working after the call. Example arguments: {"scene": "demo_peg_d12", "rounds": 2, "episodes": 8}

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": {
      "scene": "<scene>"
    },
    "name": "audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNofirst seed
bullyNorun the bully agent too
cardsNofolder to keep the scene's cards in when the scene is a recipe, Scene JSON, a .json file or a robot file (default: a folder per scene under ~/.cache/alloy/audit); the replays read it
sceneYesscene: a library name, a .yaml path, Scene JSON or a recipe
deviceNo'cpu' or 'cuda:0' (default: the GPU if there is one)
roundsNoalloy.check rounds, one seed each
worldsNoworlds per check round (default 64 GPU / 2 CPU)
libraryNoextra card folders, searched first (e.g. the folder alloy create wrote to)
secondsNosimulated seconds per check round and per bully episode (default: theirs)
episodesNobully agent episodes (random legal actuator commands or pushes)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.3
    • addedInput schema / properties / cards
      Added value: +{
      +  "description": "folder to keep the scene's cards in when the scene is a recipe, Scene JSON, a .json file or a robot file (default: a folder per scene under ~/.cache/alloy/audit); the replays read it",
      +  "type": "string"
      +}
  2. First observedv0.1.2

TDQS

A4.1/5.0
Behavior4/5

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

With readOnlyHint/idempotentHint/destructiveHint already declared, the description adds real value: findings are severity-sorted with suggested fixes, each replay command is included, `ok` flips to false on any error finding, and the scene is materialized as cards in a persistent folder so replays survive the call. The one residual gap is that it does not say whether an existing `cards` folder is overwritten, which matters slightly against readOnlyHint since the call does write to disk.

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?

The purpose is front-loaded and every clause carries information (findings shape, severity sort, ok semantics, card persistence), with a compact example at the end. It is dense — a single long sentence chained with colons and semicolons — but not padded.

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 10-parameter tool with no output schema, the description covers the return contract well: severity-sorted findings with fixes, a boolean `ok`, and the `cards` path in the reply. What is missing is any sense of cost or runtime (GPU-backed multi-round simulation), which would help an agent decide how to schedule the call.

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 defines all ten parameters; the baseline is 3. The description does add some meaning on top — what `rounds` seeds and `episodes` episodes each produce, and why `cards` must persist (the replays read it) — but it does not touch the other parameters beyond the example.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete verb and scope: run alloy.check across `rounds` seeds and the bully agent across `episodes` random legal episodes, then report findings. That composite scope inherently separates it from the single-pass `check` sibling, and the parenthetical about cards/replays pins down what an audit produces.

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

Usage Guidelines4/5

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

'Audit a scene the way a reviewer would, but automatically and with numbers' gives clear context for when this tool is the right pick, and the example arguments show a realistic invocation. It stops short of explicit exclusions (e.g., 'use check for a single quick pass') or a cost/latency warning, so it is clear context without full when-not guidance.

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