Loop Breaker

Catch AI agent loops: halt runs that repeat the same failing step or tool call.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
64%
命名の品質
85%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~558トークン数(ツール定義)
~863 B一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.44%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "loop": {
      "url": "https://loop.cloudforbots.com/mcp"
    }
  }
}

リモートエンドポイント

https://loop.cloudforbots.com/mcpstreamable-http

できること

ツール一覧

ツール(4)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢check_step(run_id, tool, args, error, max_failures, ...)

Call AFTER each tool call or agent step with what you just did and whether it failed. Loop Breaker fingerprints the call (tool + normalized args + error) and returns verdict ok, loop_detected or halted. Pro: on a loop, halt=true; stop the run, do not retry, and tell your user what repeated. Free watch-only: never halts, returns would_halt and logs it for the weekly report.

入力スキーマ

{
  "type": "object",
  "properties": {
    "run_id": {
      "type": "string",
      "description": "Any stable id for this agent run, e.g. \"nightly-sync-2026-10-15\". Use the same id for every step of the run (and its sub-agents)."
    },
    "tool": {
      "type": "string",
      "description": "The tool or step name you just ran, e.g. \"browser.click\" or \"git push\"."
    },
    "args": {
      "description": "The arguments you passed (object or string). Volatile values like timestamps and ids are normalized away."
    },
    "error": {
      "type": "string",
      "description": "The error message if the step failed. Omit or empty if it succeeded."
    },
    "max_failures": {
      "type": "integer",
      "description": "Same failing call this many times = loop. Default 3 (min 2, max 20)."
    },
    "max_repeats": {
      "type": "integer",
      "description": "Same call this many times in a row (even if it succeeds) = loop. Default 5 (min 3, max 50)."
    }
  },
  "required": [
    "run_id",
    "tool"
  ]
}
🟢loop_status(run_id)

Show a run's loops so far, whether it is halted, and its last 10 steps.

入力スキーマ

{
  "type": "object",
  "properties": {
    "run_id": {
      "type": "string",
      "description": "Any stable id for this agent run, e.g. \"nightly-sync-2026-10-15\". Use the same id for every step of the run (and its sub-agents)."
    }
  },
  "required": [
    "run_id"
  ]
}
🟢weekly_report

Draft a plain-English report of the last 7 days for your key (or IP): runs, loops caught, wasted repeat steps, and the worst offenders. Read-only; sends nothing. Show it to your user.

入力スキーマ

{
  "type": "object",
  "properties": {}
}
🟢usage_and_upgrade

Show today's usage for your key or IP and the $49/month All Access upgrade link (cloudforbots.com/offer). Free tier: 500 calls/day. Not metered.

入力スキーマ

{
  "type": "object",
  "properties": {}
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 4 件