Skip to main content
Glama

loop_register

Register a custom loop or skill on the local MCP by providing an id and content. Loops become phase-gated streams; skills become retrievable knowledge with provenance enforcement.

Instructions

Add YOUR OWN loop to this machine's local MCP, or register a skill (retrievable knowledge file) with role:"skill". Pass the full text as content; loops are hashed, phase-gated, and streamed; skills are section-addressable with provenance-enforced frontmatter. 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
roleNoartifact type — "custom" (phase-streamed loop) or "skill" (retrievable knowledge file). Default custom.
tagsNofree-form labels for skill keyword pre-filter
runIdNooptional; only used to journal the registration
stackNotech stack tokens for skill routing
titleNo
sourceNoprovenance URI or path description (required when role is "skill")
contentYesthe full loop or skill markdown (loops: headers/paragraphs become phases; skills: frontmatter + body with _synthesis section)
licenseNoSPDX id or LicenseRef-… (required when role is "skill")
triggerNoe.g. "/loop my-loop" (loops only)
overwriteNoreplace an existing custom loop or skill of the same id with a new local version
source_pathsNooptional auxiliary reference file paths for multi-file skills
anti_patternsNooutputs the model must not reproduce from the skill
skillPartitionNopartition — "working" (retrievable in normal runs) or "reference" (held-out, opt-in only). Default working.
supports_tasksNotask intents this skill helps with
token_budget_hintNoexpected total skill size hint for Router 1 planning
synthesis_guidanceNohow to apply fetched skill knowledge to the current task without copying
Behavior4/5

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

With no annotations, the description must disclose behavioral traits. It reveals that loops are hashed, phase-gated, and streamed; skills are section-addressable with provenance-enforced frontmatter; overwriting is restricted for certain loops; and data does not leave the machine. This adds significant context beyond the schema, though details on streaming behavior could be richer.

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, succinct and well-structured. It front-loads the primary action, then details specifics about loops and skills, and ends with constraints. No unnecessary words or redundancy.

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?

Despite 17 parameters and no output schema, the description covers the core behavior and two registration types. It explains hashing, phase-gating, provenance, and data privacy. It lacks details on expected return values or outcomes (e.g., how to invoke the registered loop/skill), but is fairly complete for the complexity.

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 94%, so most parameters are already described. The description adds value by explaining that 'content' holds full text, and clarifies the role distinction. However, it does not elaborate on many parameters like stack, tags, or anti_patterns beyond what's in the schema, so added meaning is moderate.

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 tool adds/registers loops or skills, with specific verb 'Add' / 'register' and resource types. It distinguishes between loops and skills and mentions constraints like 'Cannot overwrite hash-locked Strip Miner / Loop-de-loop'. This makes the purpose distinct from siblings like loop_library or skill_fetch.

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

Usage Guidelines3/5

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

The description explains the difference between loops and skills via the 'role' parameter, but does not explicitly tell when to use this tool versus alternatives (e.g., loop_library to list, or artifact_record for other data). Usage context is implied but lacks direct when-not-to-use guidance or comparison to siblings.

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/Loop-Factory-mcp-public'

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