Skip to main content
Glama

mcp_engram_scar

Creates a geometric repeller in the memory manifold to prevent future attempts of failed approaches or bad solutions. Use when a code fix fails or a user indicates a dead end.

Instructions

TRIGGER: Call this immediately if you attempt a code fix and it fails, or if the user tells you an approach is a dead end. This creates a geometric repeller in the manifold so you do not hallucinate or attempt the same bad solution again in the future. For insufficient memory anchors (not general inference), pass uncertainty_status to mint an uncertainty:* receipt instead of guessing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
conceptYesThe concept name to scar (e.g. 'failed_approach_x') or uncertainty slug when minting uncertainty receipt
magnitudeNoScar magnitude [0.0, 1.0]. Higher = larger CRS penalty and stronger topological deflection. Defaults to 0.15 (M-NOL default for contradiction axis spikes).
process_contextNoOptional process:engram.* key — emits realized_by edge for process_metrics
requested_anchorsNoAnchor concepts that were sought but insufficient for a memory claim
uncertainty_statusNoWhen set, mint uncertainty:* receipt for withheld memory claim (e.g. memory_insufficient, contradictory_anchors). Scoped to recall/memory — not general inference.
Behavior3/5

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

With no annotations provided, the description carries full burden. It states the tool creates a 'geometric repeller' and mentions CRS penalty and topological deflection, but does not explicitly disclose whether the operation is destructive, reversible, or requires special permissions. The effect on future inference is described implicitly but lacks concrete safety or side-effect details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is front-loaded with 'TRIGGER' and uses three sentences covering trigger, explanation, and alternative usage. While dense with jargon (e.g., 'geometric repeller', 'manifold'), it avoids redundancy and is appropriately sized for the tool's complexity. Could be slightly more terse but effective.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters (including optional ones) and no output schema, the description explains input usage well but does not specify the return value or post-invocation effects beyond the conceptual 'repeller'. Lacks explicit mention of what the tool outputs (e.g., confirmation, error handling) or typical response format. Adequate but with gaps.

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 coverage is 100%, providing baseline 3. Description adds value beyond schema by explaining concept as 'concept name to scar or uncertainty slug', process_context as emitting 'realized_by edge for process_metrics', and uncertainty_status as scoped to 'recall/memory — not general inference'. This enhances understanding of parameter usage and constraints.

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?

Description clearly states trigger condition ('call immediately if code fix fails or user says dead end') and defines tool purpose as creating a geometric repeller to prevent hallucination or reattempting bad solutions. The alternative use for insufficient memory anchors is also explicitly mentioned, distinguishing it from sibling tools like mcp_engram_forget or mcp_engram_remember.

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

Usage Guidelines5/5

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

Provides explicit when-to-use directive ('Call this immediately') and specifies alternative behavior via uncertainty_status parameter for minting uncertainty receipts instead of guessing. Clearly distinguishes between the two main scenarios, ensuring appropriate tool selection.

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/staticroostermedia-arch/engram'

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