agent-loop-detector
Cloudflare Workers MCP server: agent-loop-detector
使うべきか
品質と安全性
A
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
~256トークン数(ツール定義)
~612 B一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.20%)
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"agent-loop-detector": {
"url": "https://api.lazy-mac.com/agent-loop-detector/mcp"
}
}
}リモートエンドポイント
https://api.lazy-mac.com/agent-loop-detector/mcpstreamable-httpできること
ツール一覧
ツール(3)
🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢analyze_trace(trace, pricing)
Full diagnostic: loop detection, cost breakdown, stuck-state classification, and fix recommendations for an AI agent trace.
入力スキーマ
{
"type": "object",
"properties": {
"trace": {
"type": "array",
"description": "Ordered array of agent steps (role, tool, input, output, tokens, model)",
"items": {
"type": "object"
}
},
"pricing": {
"type": "object",
"nullable": true,
"properties": {
"in": {
"type": "number"
},
"out": {
"type": "number"
}
}
}
},
"required": [
"trace"
]
}⚪detect_loops(trace)
Detect exact-call repeats, periodic tool-call cycles, and ping-pong patterns in an agent trace.
入力スキーマ
{
"type": "object",
"properties": {
"trace": {
"type": "array",
"items": {
"type": "object"
}
}
},
"required": [
"trace"
]
}🟢breakdown_cost(trace, pricing)
Calculate per-model token usage and USD cost from an agent trace. Supports custom pricing overrides.
入力スキーマ
{
"type": "object",
"properties": {
"trace": {
"type": "array",
"items": {
"type": "object"
}
},
"pricing": {
"type": "object",
"nullable": true,
"properties": {
"in": {
"type": "number"
},
"out": {
"type": "number"
}
}
}
},
"required": [
"trace"
]
}コミュニティ
エビデンス
最近の観測
検証済みバージョンは記録されていませんツール 3 件
検証済みバージョンは記録されていませんツール 3 件