Skip to main content
Glama

loop_register

Register a custom loop to the local MCP by providing its content and a unique id. The loop is hashed, split into phases, and persisted for later streaming.

Instructions

Add YOUR OWN loop to this machine's local MCP. Pass the full loop text as content; the MCP hashes it (sha256, write-once per version), assigns a safe id, splits it into phase-gated sections, and persists it locally. Stream it afterward with loop_start { loop:"" } exactly like the mandated loops. Cannot overwrite the hash-locked Strip Miner / Loop-de-loop. Nothing leaves your machine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYessafe lowercase id (no slashes/spaces); must not collide with a mandated loop
roleNo
runIdNooptional; only used to journal the registration
titleNo
contentYesthe full loop text (headers or paragraph breaks become streamable phases)
triggerNoe.g. "/loop my-loop"
overwriteNoreplace an existing custom loop of the same id with a new local version
Behavior5/5

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

With no annotations provided, the description fully discloses behavioral traits: sha256 hashing with write-once versioning, safe id assignment, phase-gated splitting, local persistence, and the inability to overwrite specific mandated loops. It also assures data stays local, covering safety and privacy.

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?

The description is four sentences long, front-loaded with the main action, and every sentence adds essential information without redundancy. It is well-structured and efficient.

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?

Given the tool's complexity, the description covers the registration process, including hashing, storage, and streaming after registration. It lacks details on return values or error handling, but the output schema is absent. For a registration tool, this is nearly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 71%, so baseline is 3. The description adds value by explaining how parameters like 'content' and 'id' are used in the process, though it does not enumerate each parameter. This provides helpful context beyond the schema.

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 clearly states the verb 'Add' (register) and the resource 'YOUR loop to this machine's local MCP'. It details specific behaviors like hashing, id assignment, and phase splitting, and distinguishes from mandated loops, making the purpose unmistakable.

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?

The description explicitly says when to use this tool (to add your own loop) and what not to do (cannot overwrite mandated loops). It also hints at streaming with loop_start, though it doesn't comprehensively compare with all sibling tools like loop_library. Overall, usage context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexalexalex222/super-loop-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server