# loop-gate

> Use this tool when you need to detect and prevent recursive agent loops in MCP tool calls, solving problems of infinite loops and potential system crashes. It takes in MCP tool call data as input and outputs a signal to break the loop if repeated calls are detected within 30 seconds. Use loop-gate in contexts where MCP tool calls are made in rapid succession to prevent system overload.

Canonical page: https://skillsregistry.net/skills/found402-loop-gate  
JSON: https://api.skillsregistry.net/v1/skills/found402-loop-gate

## Description

Stateless circuit breaker that detects recursive agent loops in MCP tool calls. Uses Bloom filter to identify repeated calls within 30 seconds. Pay $0.005 USDC via x402 on Base network to reset context and break the loop.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-05-12

## Source

- **Source listing:** [Smithery](https://smithery.ai/server/found402/loop-gate)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "found402-loop-gate"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/found402-loop-gate` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/found402-loop-gate/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
